Trait luminance::pipeline::HasPipeline
[−]
[src]
pub trait HasPipeline: HasFramebuffer + HasProgram + HasTess + HasTexture + HasBuffer + Sized { fn run_pipeline<L, D, CS, DS>(cmd: &Pipeline<Self, L, D, CS, DS>) where L: Layerable,
D: Dimensionable,
D::Size: Copy,
CS: ColorSlot<Self, L, D>,
DS: DepthSlot<Self, L, D>; fn run_shading_command<'a>(shading_cmd: &Pipe<'a, Self, ShadingCommand<Self>>); }
Trait to implement to add Pipeline
support.
Required Methods
fn run_pipeline<L, D, CS, DS>(cmd: &Pipeline<Self, L, D, CS, DS>) where L: Layerable,
D: Dimensionable,
D::Size: Copy,
CS: ColorSlot<Self, L, D>,
DS: DepthSlot<Self, L, D>
D: Dimensionable,
D::Size: Copy,
CS: ColorSlot<Self, L, D>,
DS: DepthSlot<Self, L, D>
Execute a pipeline command, resulting in altering the embedded framebuffer.
fn run_shading_command<'a>(shading_cmd: &Pipe<'a, Self, ShadingCommand<Self>>)
Execute a shading command.