DrawCmd

A drawing command that is sent to the GPU.

Members

Properties

isEmpty
bool isEmpty [@property getter]

Whether the command is empty.

Variables

allocId
uint allocId;

Allocation ID.

blendMode
BlendMode blendMode;

Blending mode to apply

elemCount
uint elemCount;

Number of indices.

idxOffset
uint idxOffset;

Index offset.

maskMode
MaskingMode maskMode;

Masking mode to apply.

sources
Texture[IN_MAX_ATTACHMENTS] sources;

Source textures

state
DrawState state;

The current state of the drawing command.

typeId
uint typeId;

Type ID of the node being drawn.

variables
void[64] variables;

Variables passed to the draw list.

vtxOffset
uint vtxOffset;

Vertex offset.

Meta