[][src]Trait orbtk::prelude::PipelineTrait

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

Used to implement a custom render pipeline.

Required methods

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

Equality for two Pipeline objects.

fn as_any(&self) -> &(dyn Any + 'static)

Converts self to an any reference.

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

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...