Rename RenderPassDepthStencilAttachmentDescriptor

Rename RenderPassDepthStencilAttachmentDescriptor -> RenderPassDepthStencilAttachment

See: https://docs.rs/wgpu/0.8.1/wgpu/struct.RenderPassDepthStencilAttachment.html
pull/190/head
Aevyrie 3 years ago committed by GitHub
parent e16efae327
commit 2eeffbb84a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -142,7 +142,7 @@ The last change we need to make is in the `render()` function. We've created the
```rust
let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor {
// ...
depth_stencil_attachment: Some(wgpu::RenderPassDepthStencilAttachmentDescriptor {
depth_stencil_attachment: Some(wgpu::RenderPassDepthStencilAttachment {
view: &self.depth_texture.view,
depth_ops: Some(wgpu::Operations {
load: wgpu::LoadOp::Clear(1.0),

Loading…
Cancel
Save