gpu: add Buffer.Descriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 01:03:36 -07:00 committed by Stephen Gutekanst
parent 6bca2107fd
commit cfeea2b415
2 changed files with 8 additions and 8 deletions

View file

@ -1,11 +1,3 @@
typedef struct WGPUBufferDescriptor {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
WGPUBufferUsageFlags usage;
size: u64,
mapped_at_creation: bool,
} WGPUBufferDescriptor;
typedef struct WGPUCommandBufferDescriptor {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,