gpu: add ImageCopyTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
326d66127e
commit
74b7e66793
2 changed files with 8 additions and 8 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue