gpu: add BlendOperation enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7e8e2e921b
commit
ce0389df23
3 changed files with 23 additions and 22 deletions
|
|
@ -27,15 +27,6 @@ typedef struct WGPUSamplerImpl* WGPUSampler;
|
|||
typedef struct WGPUTextureImpl* WGPUTexture;
|
||||
typedef struct WGPUTextureViewImpl* WGPUTextureView;
|
||||
|
||||
typedef enum WGPUBlendOperation {
|
||||
WGPUBlendOperation_Add = 0x00000000,
|
||||
WGPUBlendOperation_Subtract = 0x00000001,
|
||||
WGPUBlendOperation_ReverseSubtract = 0x00000002,
|
||||
WGPUBlendOperation_Min = 0x00000003,
|
||||
WGPUBlendOperation_Max = 0x00000004,
|
||||
WGPUBlendOperation_Force32 = 0x7FFFFFFF
|
||||
} WGPUBlendOperation;
|
||||
|
||||
typedef enum WGPUBufferBindingType {
|
||||
WGPUBufferBindingType_Undefined = 0x00000000,
|
||||
WGPUBufferBindingType_Uniform = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue