[][src]Function nannou::wgpu::resolve_texture

pub fn resolve_texture(
    src_texture: &TextureViewHandle,
    dst_texture: &TextureViewHandle,
    encoder: &mut CommandEncoder
)

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.