gpu: implement TextureUsage enums
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4294b5c065
commit
738e9da8ee
1 changed files with 10 additions and 0 deletions
10
gpu/src/texture_usage.zig
Normal file
10
gpu/src/texture_usage.zig
Normal 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,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue