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

@@ -3,8 +3,13 @@
#include "utils/gryphn_error_code.h"
#include <core/gryphn_handles.h>
typedef enum gnIndexType {
GN_UINT16, GN_UINT32
} gnIndexType;
typedef enum gnBufferType {
GN_VERTEX_BUFFER = 0x00000001
GN_VERTEX_BUFFER = 0x00000001f,
GN_INDEX_BUFFER = 0x00000002f,
} gnBufferType;
typedef enum gnBufferUsage {