pub trait PipelineTrait:
RenderPipeline
+ Any
+ Send {
// Required methods
fn box_eq(&self, other: &dyn Any) -> bool;
fn as_any(&self) -> &dyn Any;
fn clone_box(&self) -> Box<dyn PipelineTrait>;
// Provided method
fn draw_pipeline(&self, image: &mut RenderTarget) { ... }
}
Expand description
Used to implement a custom render pipeline.
Required Methods§
Sourcefn clone_box(&self) -> Box<dyn PipelineTrait>
fn clone_box(&self) -> Box<dyn PipelineTrait>
Clones self as box.
Provided Methods§
Sourcefn draw_pipeline(&self, image: &mut RenderTarget)
fn draw_pipeline(&self, image: &mut RenderTarget)
Draws the ctx of the pipeline.