gpu: implement TextureUsage enums

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-08 23:14:30 -07:00 committed by Stephen Gutekanst
parent 4294b5c065
commit 738e9da8ee

10
gpu/src/texture_usage.zig Normal file
View file

@ -0,0 +1,10 @@
pub const TextureUsage = enum(u32) {
// TODO: enums not CamelCase
None = 0x00000000,
CopySrc = 0x00000001,
CopyDst = 0x00000002,
TextureBinding = 0x00000004,
StorageBinding = 0x00000008,
RenderAttachment = 0x00000010,
Present = 0x00000020,
};