Struct luminance::pipeline::RenderCommand [] [src]

pub struct RenderCommand<'a, C> where C: 'a + HasProgram + HasTess {
    pub blending: Option<(Equation, Factor, Factor)>,
    pub depth_test: bool,
    pub tessellations: Vec<Pipe<'a, C, &'a Tess<C>>>,
    pub instances: u32,
    pub rasterization_size: Option<f32>,
}

A render command, which holds information on how to rasterize tessellations.

Fields

Color blending configuration. Set to None if you don’t want any color blending. Set it to Some(equation, source, destination) if you want to perform a color blending with the equation formula and with the source and destination blending factors.

Should a depth test be performed?

The embedded tessellations.

Number of instances of the tessellation to render.

Rasterization size for points and lines.

Methods

impl<'a, C> RenderCommand<'a, C> where C: 'a + HasProgram + HasTess
[src]

Create a new render command.