gpu: add StencilOperation enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1d8f6f9064
commit
0883421905
2 changed files with 11 additions and 12 deletions
|
|
@ -1,17 +1,5 @@
|
|||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef enum WGPUStencilOperation {
|
||||
WGPUStencilOperation_Keep = 0x00000000,
|
||||
WGPUStencilOperation_Zero = 0x00000001,
|
||||
WGPUStencilOperation_Replace = 0x00000002,
|
||||
WGPUStencilOperation_Invert = 0x00000003,
|
||||
WGPUStencilOperation_IncrementClamp = 0x00000004,
|
||||
WGPUStencilOperation_DecrementClamp = 0x00000005,
|
||||
WGPUStencilOperation_IncrementWrap = 0x00000006,
|
||||
WGPUStencilOperation_DecrementWrap = 0x00000007,
|
||||
WGPUStencilOperation_Force32 = 0x7FFFFFFF
|
||||
} WGPUStencilOperation;
|
||||
|
||||
typedef enum WGPUStorageTextureAccess {
|
||||
WGPUStorageTextureAccess_Undefined = 0x00000000,
|
||||
WGPUStorageTextureAccess_WriteOnly = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue