pub type DepthAttachment<'a> = Attachment<'a, f32>;Expand description
A RenderTarget’s depth attachment: clear value is a plain f32
depth, matching wgpu::RenderPassDepthStencilAttachment’s depth op.
Aliased Type§
pub struct DepthAttachment<'a> {
pub view: &'a TextureView,
pub load: LoadOp<f32>,
pub store: StoreOp,
}Fields§
§view: &'a TextureViewThe view rendered into.
load: LoadOp<f32>How the attachment’s prior contents are treated at pass start.
store: StoreOpWhether the attachment’s contents are kept or discarded at pass end.