Trait orbtk_orbclient::render::PipelineTrait
source · [−]pub trait PipelineTrait: RenderPipeline + Any + Send {
fn box_eq(&self, other: &(dyn Any + 'static)) -> bool;
fn as_any(&self) -> &(dyn Any + 'static);
fn clone_box(&self) -> Box<dyn PipelineTrait + 'static, Global>;
fn draw_pipeline(&self, image: &mut RenderTarget) { ... }
}
Expand description
Used to implement a custom render pipeline.
Required methods
fn clone_box(&self) -> Box<dyn PipelineTrait + 'static, Global>
fn clone_box(&self) -> Box<dyn PipelineTrait + 'static, Global>
Clones self as box.
Provided methods
fn draw_pipeline(&self, image: &mut RenderTarget)
fn draw_pipeline(&self, image: &mut RenderTarget)
Draws the ctx of the pipeline.