Function nannou::wgpu::resolve_texture
source · pub fn resolve_texture(
src_texture: &TextureView,
dst_texture: &TextureView,
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_ATTACHMENT
enabled.- The same dimensions.
- The same
TextureFormat
.