Struct softrender::render::pipeline::Pipeline [] [src]

pub struct Pipeline<U, P> where
    P: Pixel,
    U: Send + Sync
{ /* fields omitted */ }

Starting point for the rendering pipeline.

By itself, it only holds the framebuffer and global uniforms, but it spawns the first shader stage using those.

Methods

impl<U, P> Pipeline<U, P> where
    U: Send + Sync,
    P: Pixel
[src]

Create a new rendering pipeline instance

Start the shading pipeline for a given mesh

Returns a reference to the uniforms value

Returns a mutable reference to the uniforms value

Returns a reference to the framebuffer

Returns a mutable reference to the framebuffer