gpu: implement Adapter properties
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c7c8764129
commit
f849e03443
3 changed files with 51 additions and 43 deletions
12
gpu/src/TODO
12
gpu/src/TODO
|
|
@ -43,18 +43,6 @@ typedef enum WGPUAlphaMode {
|
|||
WGPUAlphaMode_Force32 = 0x7FFFFFFF
|
||||
} WGPUAlphaMode;
|
||||
|
||||
typedef enum WGPUBackendType {
|
||||
WGPUBackendType_Null = 0x00000000,
|
||||
WGPUBackendType_WebGPU = 0x00000001,
|
||||
WGPUBackendType_D3D11 = 0x00000002,
|
||||
WGPUBackendType_D3D12 = 0x00000003,
|
||||
WGPUBackendType_Metal = 0x00000004,
|
||||
WGPUBackendType_Vulkan = 0x00000005,
|
||||
WGPUBackendType_OpenGL = 0x00000006,
|
||||
WGPUBackendType_OpenGLES = 0x00000007,
|
||||
WGPUBackendType_Force32 = 0x7FFFFFFF
|
||||
} WGPUBackendType;
|
||||
|
||||
typedef enum WGPUBlendFactor {
|
||||
WGPUBlendFactor_Zero = 0x00000000,
|
||||
WGPUBlendFactor_One = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue