DrawCommand#
Fully qualified name: carb::simplegui::DrawCommand
Defined in carb/simplegui/SimpleGuiTypes.h
-
struct DrawCommand#
Defines a drawing command.
Public Members
-
uint32_t elementCount#
The number of indices (multiple of 3) to be rendered as triangles.
The vertices are stored in the callee DrawList::vertexBuffer array, indices in IdxBuffer.
-
DrawCallback userCallback#
If != NULL, call the function instead of rendering the vertices.
-
void *userCallbackData#
The draw callback code can access this.
-
uint32_t elementCount#