gpu: add Extent3D

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 01:20:55 -07:00 committed by Stephen Gutekanst
parent bb399b5050
commit 9079f5bd33
2 changed files with 6 additions and 6 deletions

View file

@ -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());
}