Function nannou_wgpu::resolve_texture
source · pub fn resolve_texture(
src_texture: &TextureViewHandle,
dst_texture: &TextureViewHandle,
encoder: &mut CommandEncoder
)Expand description
Adds a simple render pass command to the given encoder that resolves the given multisampled
src_texture to the given non-multisampled dst_texture.
Both the src_texture and dst_texture must have:
TextureUsage::OUTPUT_ATTACHMENTenabled.- The same dimensions.
- The same
TextureFormat.