summaryrefslogtreecommitdiffstats
path: root/wgpu/src/target.rs
blob: 544e83d196aa0af1616f8971cb0a6782a0cd228a (plain) (blame)
1
2
3
4
5
6
7
8
use crate::Viewport;

/// A rendering target.
#[derive(Debug)]
pub struct Target<'a> {
    pub texture: &'a wgpu::TextureView,
    pub viewport: &'a Viewport,
}