create buffers with VMA

This commit is contained in:
Gregory Wells
2025-08-12 14:10:25 -04:00
parent bddc4dfb0d
commit 88aa38adbf
8 changed files with 114 additions and 94 deletions

View File

@@ -9,10 +9,10 @@ typedef enum gnIndexType {
} gnIndexType;
typedef enum gnBufferType {
GN_VERTEX_BUFFER = 0x00000001,
GN_INDEX_BUFFER = 0x00000002,
GN_UNIFORM_BUFFER = 0x00000004,
GN_STORAGE_BUFFER = 0x00000008
GN_VERTEX_BUFFER = 1 << 0,
GN_INDEX_BUFFER = 1 << 2,
GN_UNIFORM_BUFFER = 1 << 3,
GN_STORAGE_BUFFER = 1 << 4
} gnBufferType; // I need to support more buffer types
// i love that OpenGL does this so im stealing it