carb::simplegui::DrawList

Defined in carb/simplegui/SimpleGuiTypes.h

struct DrawList

Defines a list of draw commands.

Public Members

uint32_t commandBufferCount

The number of command in the command buffers.

DrawCommand *commandBuffers

Draw commands. (Typically 1 command = 1 GPU draw call)

uint32_t indexBufferSize

The number of index buffers.

uint32_t *indexBuffer

The index buffers. (Each command consumes command)

uint32_t vertexBufferSize

The number of vertex buffers.

DrawVertex *vertexBuffer

The vertex buffers.