MCPcopy Create free account
hub / github.com/PerroEngine/Perro / clear_active

Method clear_active

perro_source/render_stack/perro_graphics/src/water_gpu.rs:809–825  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

807 occlusion_query_set: None,
808 multiview_mask: None,
809 });
810 pass.set_pipeline(&self.scene_color_blit.pipeline);
811 pass.set_bind_group(0, &bind_group, &[]);
812 pass.draw(0..3, 0..1);
813 return;
814 }
815 // MSAA: a resolve target must match the attachment dimensions, so the
816 // copy target stays full-res here and capture remains a resolve pass.
817 let _resolve_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor {
818 label: Some("perro_water_scene_color_resolve"),
819 color_attachments: &[Some(wgpu::RenderPassColorAttachment {
820 view: source_view,
821 resolve_target: Some(&self.scene_color_view),
822 ops: wgpu::Operations {
823 load: wgpu::LoadOp::Load,
824 store: wgpu::StoreOp::Store,
825 },
826 depth_slice: None,
827 })],
828 depth_stencil_attachment: None,

Callers 1

renderMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected