gpu: implement Device.createTexture

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-18 17:56:09 -07:00 committed by Stephen Gutekanst
parent 418d379f1c
commit 85d5de1077
3 changed files with 16 additions and 2 deletions

View file

@ -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,