[][src]Trait orbtk_render::PipelineTrait

pub trait PipelineTrait: RenderPipeline + Any + Send {
    fn box_eq(&self, other: &dyn Any) -> bool;
fn as_any(&self) -> &dyn Any;
fn clone_box(&self) -> Box<dyn PipelineTrait>; fn draw_pipeline(&self, image: &mut RenderTarget) { ... } }

Used to implement a custom render pipeline.

Required methods

fn box_eq(&self, other: &dyn Any) -> bool

Equality for two Pipeline objects.

fn as_any(&self) -> &dyn Any

Converts self to an any reference.

fn clone_box(&self) -> Box<dyn PipelineTrait>

Clones self as box.

Loading content...

Provided methods

fn draw_pipeline(&self, image: &mut RenderTarget)

Draws the ctx of the pipeline.

Loading content...

Implementors

Loading content...