gpu: add Buffer.BindingType enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
97b21c8ac8
commit
87b06cf373
2 changed files with 7 additions and 8 deletions
|
|
@ -1 +1,8 @@
|
|||
ptr: *anyopaque,
|
||||
|
||||
pub const BindingType = enum(u32) {
|
||||
undef = 0x00000000,
|
||||
uniform = 0x00000001,
|
||||
storage = 0x00000002,
|
||||
read_only_storage = 0x00000003,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue