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
blending: Option<(Equation, Factor, Factor)>
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.
depth_test: bool
Should a depth test be performed?
tessellations: Vec<Pipe<'a, C, &'a Tess<C>>>
The embedded tessellations.
instances: u32
Number of instances of the tessellation to render.
rasterization_size: Option<f32>
Rasterization size for points and lines.