gpu: add CullMode enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 06:31:00 -07:00 committed by Stephen Gutekanst
parent 6e0c71f121
commit 963f06261f
2 changed files with 6 additions and 7 deletions

View file

@ -1,12 +1,5 @@
typedef uint32_t WGPUFlags;
typedef enum WGPUCullMode {
WGPUCullMode_None = 0x00000000,
WGPUCullMode_Front = 0x00000001,
WGPUCullMode_Back = 0x00000002,
WGPUCullMode_Force32 = 0x7FFFFFFF
} WGPUCullMode;
typedef enum WGPUDeviceLostReason {
WGPUDeviceLostReason_Undefined = 0x00000000,
WGPUDeviceLostReason_Destroyed = 0x00000001,