gpu: add AddressMode enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-09 09:43:14 -07:00 committed by Stephen Gutekanst
parent c3cfb77ac7
commit 1ad93c1fbb
3 changed files with 6 additions and 7 deletions

View file

@ -27,13 +27,6 @@ typedef struct WGPUSamplerImpl* WGPUSampler;
typedef struct WGPUTextureImpl* WGPUTexture;
typedef struct WGPUTextureViewImpl* WGPUTextureView;
typedef enum WGPUAddressMode {
WGPUAddressMode_Repeat = 0x00000000,
WGPUAddressMode_MirrorRepeat = 0x00000001,
WGPUAddressMode_ClampToEdge = 0x00000002,
WGPUAddressMode_Force32 = 0x7FFFFFFF
} WGPUAddressMode;
typedef enum WGPUAlphaMode {
WGPUAlphaMode_Premultiplied = 0x00000000,
WGPUAlphaMode_Unpremultiplied = 0x00000001,