gpu: add ColorWriteMask flagset
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e218eef6cb
commit
81301ea2c1
2 changed files with 29 additions and 11 deletions
|
|
@ -1,16 +1,5 @@
|
|||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef enum WGPUColorWriteMask {
|
||||
WGPUColorWriteMask_None = 0x00000000,
|
||||
WGPUColorWriteMask_Red = 0x00000001,
|
||||
WGPUColorWriteMask_Green = 0x00000002,
|
||||
WGPUColorWriteMask_Blue = 0x00000004,
|
||||
WGPUColorWriteMask_Alpha = 0x00000008,
|
||||
WGPUColorWriteMask_All = 0x0000000F,
|
||||
WGPUColorWriteMask_Force32 = 0x7FFFFFFF
|
||||
} WGPUColorWriteMask;
|
||||
typedef WGPUFlags WGPUColorWriteMaskFlags;
|
||||
|
||||
typedef enum WGPUMapMode {
|
||||
WGPUMapMode_None = 0x00000000,
|
||||
WGPUMapMode_Read = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue