gpu: update defaults/optionality for TextureDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d67a726342
commit
a907b8e04e
1 changed files with 4 additions and 4 deletions
|
|
@ -231,11 +231,11 @@ pub const TextureDescriptor = extern struct {
|
|||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
usage: TextureUsageFlags,
|
||||
dimension: TextureDimension,
|
||||
dimension: TextureDimension = .dimension_2d,
|
||||
size: Extent3D,
|
||||
format: TextureFormat,
|
||||
mip_level_count: u32,
|
||||
sample_count: u32,
|
||||
view_format_count: u32,
|
||||
mip_level_count: u32 = 1,
|
||||
sample_count: u32 = 1,
|
||||
view_format_count: u32 = 0,
|
||||
view_formats: [*]const TextureFormat,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue