create buffers with VMA
This commit is contained in:
@@ -12,7 +12,7 @@ typedef enum gnReturnCode {
|
||||
GN_FAILED_TO_FIND_ENTRY_POINT, GN_FAILED_TO_LOAD_FUNCTION, GN_INCOMPLETE,
|
||||
GN_NOT_READY, GN_TIMEOUT, GN_DEVICE_LOST, GN_FAILED_MEMORY_MAP, GN_UNSUPPORTED_FEATURE,
|
||||
GN_OVERALLOCATION, GN_FRAGMENTATION, GN_INVALID_HANDLE, GN_SURFACE_LOST, GN_WINDOW_IN_USE,
|
||||
GN_INCOMPATIBLE_DISPLAY, GN_UNSUPPORTED_IMAGE_USE,
|
||||
GN_INCOMPATIBLE_DISPLAY, GN_UNSUPPORTED_IMAGE_USE, GN_FAILED_CREATE_ALLOCATOR,
|
||||
|
||||
GN_UNLOADED_EXTENSION = -1,
|
||||
GN_UNLOADED_LAYER = -2,
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user