gpu: add RenderPassDepthStencilAttachment
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8320b4e1bc
commit
1f9bb8078f
2 changed files with 16 additions and 14 deletions
|
|
@ -1,17 +1,3 @@
|
|||
pub const WGPURenderPassDepthStencilAttachment = extern struct {
|
||||
view: TextureView,
|
||||
depth_load_op: LoadOp,
|
||||
depth_store_op: StoreOp,
|
||||
clear_depth: f32,
|
||||
depth_clear_value: f32,
|
||||
depth_read_only: bool,
|
||||
stencil_load_op: LoadOp,
|
||||
stencil_store_op: StoreOp,
|
||||
clear_stencil: u32,
|
||||
stencil_clear_value: u32,
|
||||
stencil_read_only: bool,
|
||||
};
|
||||
|
||||
pub const WGPURenderPassDescriptorMaxDrawCount = extern struct {
|
||||
chain: ChainedStruct,
|
||||
max_draw_count: u64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue