Struct luminance::pipeline::ShadingCommand
[−]
[src]
pub struct ShadingCommand<'a> { /* fields omitted */ }
A dynamic shading command. A shading command gathers render commands under a shader
Program
.
Methods
impl<'a> ShadingCommand<'a>
[src]
fn new(program: &'a Program,
render_commands: &'a [Pipe<'a, RenderCommand<'a>>])
-> Self
render_commands: &'a [Pipe<'a, RenderCommand<'a>>])
-> Self
Create a new shading command.
Trait Implementations
impl<'a> Clone for ShadingCommand<'a>
[src]
fn clone(&self) -> ShadingCommand<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more