Trait luminance::backend::pipeline::Pipeline [−][src]
pub unsafe trait Pipeline<D>: PipelineBase + FramebufferBackend<D> where
D: Dimensionable, {
unsafe fn start_pipeline(
&mut self,
framebuffer: &Self::FramebufferRepr,
pipeline_state: &PipelineState
);
}
Expand description
Start a pipeline.
This trait requires PipelineBase
and Framebuffer
, as it starts rendering into one.
Required methods
unsafe fn start_pipeline(
&mut self,
framebuffer: &Self::FramebufferRepr,
pipeline_state: &PipelineState
)
unsafe fn start_pipeline(
&mut self,
framebuffer: &Self::FramebufferRepr,
pipeline_state: &PipelineState
)
Start a pipeline that will output in the input Framebuffer
and the given PipelineState
.
This method should perform the required backend action to take into account the framebuffer and the state to start the pipeline.