Struct librashader_common::Viewport
source · pub struct Viewport<'a, T> {
pub x: f32,
pub y: f32,
pub mvp: Option<&'a [f32; 16]>,
pub output: T,
}Expand description
The rendering output of a filter chain.
Fields§
§x: f32The x offset to start rendering from.
y: f32The y offset to begin rendering from.
mvp: Option<&'a [f32; 16]>An optional pointer to an MVP to use when rendering to the viewport.
output: TThe output handle to render the final image to.