gpu: add Texture.DataLayout

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:25:57 -07:00 committed by Stephen Gutekanst
parent 54b0ffdcc6
commit 2a50f3c3bd
2 changed files with 7 additions and 7 deletions

View file

@ -1,10 +1,3 @@
pub const WGPUTextureDataLayout = extern struct {
next_in_chain: *const ChainedStruct,
offset: u64,
bytes_per_row: u32,
rows_per_image: u32,
};
pub const WGPUTextureViewDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,