gpu: add Texture.SampleType enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
142b7146be
commit
e462158fd9
2 changed files with 9 additions and 10 deletions
|
|
@ -1,15 +1,5 @@
|
|||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef enum WGPUTextureSampleType {
|
||||
WGPUTextureSampleType_Undefined = 0x00000000,
|
||||
WGPUTextureSampleType_Float = 0x00000001,
|
||||
WGPUTextureSampleType_UnfilterableFloat = 0x00000002,
|
||||
WGPUTextureSampleType_Depth = 0x00000003,
|
||||
WGPUTextureSampleType_Sint = 0x00000004,
|
||||
WGPUTextureSampleType_Uint = 0x00000005,
|
||||
WGPUTextureSampleType_Force32 = 0x7FFFFFFF
|
||||
} WGPUTextureSampleType;
|
||||
|
||||
typedef enum WGPUTextureViewDimension {
|
||||
WGPUTextureViewDimension_Undefined = 0x00000000,
|
||||
WGPUTextureViewDimension_1D = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue