-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_DrawData
chrisd1100 edited this page Apr 9, 2023
·
2 revisions
UI draw data.
typedef struct {
MTY_Point displaySize;
MTY_CmdList * cmdList;
uint32_t cmdListLength;
uint32_t cmdListMax;
uint32_t idxTotalLength;
uint32_t vtxTotalLength;
bool clear;
} MTY_DrawData;
displaySize
(MTY_Point
)
Size of the viewport.
cmdList
(MTY_CmdList *
)
Command lists.
cmdListLength
(uint32_t
)
Number of command lists.
cmdListMax
(uint32_t
)
Size of cmdList
, used internally for deduping.
idxTotalLength
(uint32_t
)
Total number of indices in all command lists.
vtxTotalLength
(uint32_t
)
Total number of vertices in all command lists.
clear
(bool
)
Surface should be cleared before drawing.