gpu: add Texture.Dimension enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 08:13:54 -07:00 committed by Stephen Gutekanst
parent 8ced6a43ad
commit 8b69eda07b
2 changed files with 6 additions and 7 deletions

View file

@ -14,3 +14,9 @@ pub const ComponentType = enum(u32) {
uint = 0x00000002,
depth_comparison = 0x00000003,
};
pub const Dimension = enum(u32) {
dimension_1d = 0x00000000,
dimension_2d = 0x00000001,
dimension_3d = 0x00000002,
};