gpu: implement Device.createTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
418d379f1c
commit
85d5de1077
3 changed files with 16 additions and 2 deletions
|
|
@ -38,6 +38,7 @@ pub inline fn createView(texture: Texture, descriptor: *const TextureView.Descri
|
|||
}
|
||||
|
||||
pub const Descriptor = struct {
|
||||
reserved: ?*anyopaque = null,
|
||||
label: ?[*:0]const u8 = null,
|
||||
usage: Usage,
|
||||
dimension: Dimension,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue