gpu: add TextureView.Dimension enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 08:33:51 -07:00 committed by Stephen Gutekanst
parent e462158fd9
commit a0e8ef77fc
2 changed files with 10 additions and 10 deletions

View file

@ -1 +1,11 @@
ptr: *anyopaque,
pub const Dimension = enum(u32) {
dimension_undef = 0x00000000,
dimension_1d = 0x00000001,
dimension_2d = 0x00000002,
dimension_2d_array = 0x00000003,
dimension_cube = 0x00000004,
dimension_cube_array = 0x00000005,
dimension_3d = 0x00000006,
};