gpu: add Buffer.BindingType enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
97b21c8ac8
commit
87b06cf373
2 changed files with 7 additions and 8 deletions
|
|
@ -1,13 +1,5 @@
|
|||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef enum WGPUBufferBindingType {
|
||||
WGPUBufferBindingType_Undefined = 0x00000000,
|
||||
WGPUBufferBindingType_Uniform = 0x00000001,
|
||||
WGPUBufferBindingType_Storage = 0x00000002,
|
||||
WGPUBufferBindingType_ReadOnlyStorage = 0x00000003,
|
||||
WGPUBufferBindingType_Force32 = 0x7FFFFFFF
|
||||
} WGPUBufferBindingType;
|
||||
|
||||
typedef enum WGPUBufferMapAsyncStatus {
|
||||
WGPUBufferMapAsyncStatus_Success = 0x00000000,
|
||||
WGPUBufferMapAsyncStatus_Error = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue