gpu: add ImageCopyTexture

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:46:12 -07:00 committed by Stephen Gutekanst
parent 326d66127e
commit 74b7e66793
2 changed files with 8 additions and 8 deletions

View file

@ -541,6 +541,14 @@ pub const ImageCopyBuffer = extern struct {
buffer: Buffer,
};
pub const ImageCopyTexture = extern struct {
next_in_chain: *const ChainedStruct,
texture: Texture,
mip_level: u32,
origin: Origin3D,
aspect: Texture.Aspect,
};
test "BackendType name" {
try testing.expectEqualStrings("Vulkan", BackendType.vulkan.name());
}