gpu: add Buffer.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
6bca2107fd
commit
cfeea2b415
2 changed files with 8 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue