Structure containing information about how to draw a part of a shape. More...
|Enumeration of drawing methods. |
|template<typename IT >|
|void||Draw (const std::vector< IT > &indices, GLuint inst_count=1, GLuint base_inst=0) const|
|Draw the part of a shape. |
|static GLuint||NoRestartIndex (void)|
|Special constant for disabling primitive restart. |
|The method to be used to draw. |
|The primitive type to be used to draw. |
|The first element. |
|Count of elements. |
|Primitive restart index. More...|
|The phase of the drawing process. More...|
Structure containing information about how to draw a part of a shape.
The phase of the drawing process.
The phase is a shape-builder-specific value that indicates which part of the shape is being rendered. Together with a "driver" function it can be used to change the shading program parameters (like the values of uniform variables) to switch the whole program or change GL state.