-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_Cmd
chrisd1100 edited this page Apr 9, 2023
·
2 revisions
UI draw command.
typedef struct {
MTY_Rect clip;
uint32_t texture;
uint32_t elemCount;
uint32_t idxOffset;
uint32_t vtxOffset;
} MTY_Cmd;
clip
(MTY_Rect
)
Clip rectangle.
texture
(uint32_t
)
Texture reference.
elemCount
(uint32_t
)
Number of indices.
idxOffset
(uint32_t
)
Index buffer offset.
vtxOffset
(uint32_t
)
Vertex buffer offset.