indexed drawing and index buffers

This commit is contained in:
Greg Wells
2025-06-06 17:35:37 -04:00
parent 5dec8b9005
commit e66075beaf
10 changed files with 32 additions and 4 deletions

View File

@@ -113,4 +113,5 @@ typedef struct gnCommandFunctions_t {
void (*_gnCommandBindBuffer)(gnCommandBufferHandle buffer, gnBufferHandle bufferToBind, gnBufferType type);
void (*_gnCommandDraw)(gnCommandBufferHandle buffer, int vertexCount, int firstVertex, int instanceCount, int firstInstance);
void (*_gnCommandDrawIndexed)(gnCommandBufferHandle buffer, gnIndexType type, int indexCount, int firstIndex, int vertexOffset, int instanceCount, int firstInstance);
} gnCommandFunctions;