MCPcopy Create free account
hub / github.com/DavidColson/Polybox / DrawCommand

Class DrawCommand

source/graphics.cpp:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#define MAX_VERTICES_PER_FRAME 9000
9
10struct DrawCommand {
11 i32 vertexBufferOffset;
12 i32 indexBufferOffset;
13 i32 numElements;
14 bool indexedDraw;
15 bool texturedDraw;
16 sg_cull_mode cullMode;
17 sg_image texture;
18 EPrimitiveType type;
19 vs_core3d_params_t vsUniforms;
20 fs_core3d_params_t fsUniforms;
21};
22
23struct RenderState {
24 Arena* pArena;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected