Enum used as bit flags.
More...
|
enum | WGPUBufferUsage {
WGPUBufferUsage_None = 0x00000000
,
WGPUBufferUsage_MapRead = 0x00000001
,
WGPUBufferUsage_MapWrite = 0x00000002
,
WGPUBufferUsage_CopySrc = 0x00000004
,
WGPUBufferUsage_CopyDst = 0x00000008
,
WGPUBufferUsage_Index = 0x00000010
,
WGPUBufferUsage_Vertex = 0x00000020
,
WGPUBufferUsage_Uniform = 0x00000040
,
WGPUBufferUsage_Storage = 0x00000080
,
WGPUBufferUsage_Indirect = 0x00000100
,
WGPUBufferUsage_QueryResolve = 0x00000200
,
WGPUBufferUsage_Force32 = 0x7FFFFFFF
} |
|
enum | WGPUColorWriteMask {
WGPUColorWriteMask_None = 0x00000000
,
WGPUColorWriteMask_Red = 0x00000001
,
WGPUColorWriteMask_Green = 0x00000002
,
WGPUColorWriteMask_Blue = 0x00000004
,
WGPUColorWriteMask_Alpha = 0x00000008
,
WGPUColorWriteMask_All = WGPUColorWriteMask_None | WGPUColorWriteMask_Red | WGPUColorWriteMask_Green | WGPUColorWriteMask_Blue | WGPUColorWriteMask_Alpha
,
WGPUColorWriteMask_Force32 = 0x7FFFFFFF
} |
|
enum | WGPUMapMode {
WGPUMapMode_None = 0x00000000
,
WGPUMapMode_Read = 0x00000001
,
WGPUMapMode_Write = 0x00000002
,
WGPUMapMode_Force32 = 0x7FFFFFFF
} |
|
enum | WGPUShaderStage {
WGPUShaderStage_None = 0x00000000
,
WGPUShaderStage_Vertex = 0x00000001
,
WGPUShaderStage_Fragment = 0x00000002
,
WGPUShaderStage_Compute = 0x00000004
,
WGPUShaderStage_Force32 = 0x7FFFFFFF
} |
|
enum | WGPUTextureUsage {
WGPUTextureUsage_None = 0x00000000
,
WGPUTextureUsage_CopySrc = 0x00000001
,
WGPUTextureUsage_CopyDst = 0x00000002
,
WGPUTextureUsage_TextureBinding = 0x00000004
,
WGPUTextureUsage_StorageBinding = 0x00000008
,
WGPUTextureUsage_RenderAttachment = 0x00000010
,
WGPUTextureUsage_Force32 = 0x7FFFFFFF
} |
|
Enum used as bit flags.
◆ WGPUBufferUsageFlags
typedef WGPUFlags WGPUBufferUsageFlags |
◆ WGPUColorWriteMaskFlags
typedef WGPUFlags WGPUColorWriteMaskFlags |
◆ WGPUMapModeFlags
typedef WGPUFlags WGPUMapModeFlags |
◆ WGPUShaderStageFlags
typedef WGPUFlags WGPUShaderStageFlags |
◆ WGPUTextureUsageFlags
typedef WGPUFlags WGPUTextureUsageFlags |
◆ WGPUBufferUsage
◆ WGPUColorWriteMask
◆ WGPUMapMode
◆ WGPUShaderStage
◆ WGPUTextureUsage