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

pub struct RenderCommand<'a, C, T> where C: 'a + HasTessellation {
    pub blending: Option<(Equation, Factor, Factor)>,
    pub depth_test: bool,
    pub update: Box<Fn(&T) + 'a>,
    pub tessellation: &'a Tessellation<C>,
    pub instances: u32,
    pub rasterization_size: Option<f32>,
}

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

Fields

blending: Option<(Equation, Factor, Factor)> depth_test: bool update: Box<Fn(&T) + 'a> tessellation: &'a Tessellation<C> instances: u32 rasterization_size: Option<f32>

Methods

impl<'a, C, T> RenderCommand<'a, C, T> where C: 'a + HasTessellation
[src]

fn new<F: Fn(&T) + 'a>(blending: Option<(Equation, Factor, Factor)>, depth_test: bool, update: F, tessellation: &'a Tessellation<C>, instances: u32, rasterization_size: Option<f32>) -> Self