DEPTH_TEST = 256,
STENCIL_TEST = 512,
BLEND = 1024,
- PRIMITIVE_TYPE = 2048
+ PRIMITIVE_TYPE = 2048,
+ PATCH_SIZE = 4096
};
const Framebuffer *framebuffer = 0;
std::vector<BoundResource> resources;
const VertexSetup *vertex_setup = 0;
PrimitiveType primitive_type = TRIANGLES;
+ unsigned patch_size = 0;
FaceWinding front_face = COUNTERCLOCKWISE;
CullMode face_cull = NO_CULL;
DepthTest depth_test;
public:
void set_vertex_setup(const VertexSetup *);
void set_primitive_type(PrimitiveType);
+ void set_patch_size(unsigned);
void set_front_face(FaceWinding);
void set_face_cull(CullMode);
void set_depth_test(const DepthTest &);