gpu: add Extent3D
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bb399b5050
commit
9079f5bd33
2 changed files with 6 additions and 6 deletions
|
|
@ -387,6 +387,12 @@ pub const Color = extern struct {
|
|||
a: f64,
|
||||
};
|
||||
|
||||
pub const Extent3D = extern struct {
|
||||
width: u32,
|
||||
height: u32,
|
||||
depth_or_array_layers: u32,
|
||||
};
|
||||
|
||||
test "BackendType name" {
|
||||
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue