gpu: move TextureDimension -> Texture.Dimension
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
23aad28093
commit
a34646e78d
3 changed files with 7 additions and 8 deletions
|
|
@ -155,6 +155,12 @@ pub const ComponentType = enum(u32) {
|
|||
depth_comparison = 0x00000003,
|
||||
};
|
||||
|
||||
pub const Dimension = enum(u32) {
|
||||
dimension_1d = 0x00000000,
|
||||
dimension_2d = 0x00000001,
|
||||
dimension_3d = 0x00000002,
|
||||
};
|
||||
|
||||
test "syntax" {
|
||||
_ = VTable;
|
||||
_ = reference;
|
||||
|
|
@ -164,4 +170,5 @@ test "syntax" {
|
|||
_ = Format;
|
||||
_ = Aspect;
|
||||
_ = ComponentType;
|
||||
_ = Dimension;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue