Struct gfx::render::target::Frame
[−]
[src]
pub struct Frame<R: Resources> {
pub width: Size,
pub height: Size,
pub colors: Vec<Plane<R>>,
pub depth: Option<Plane<R>>,
pub stencil: Option<Plane<R>>,
pub gamma: Gamma,
}A complete Frame, which is the result of rendering.
Fields
width | The width of the viewport. |
height | The height of the viewport. |
colors | Each color component has its own buffer. |
depth | The depth buffer for this frame. |
stencil | The stencil buffer for this frame. |
gamma | Color space. |