Struct luminance::pipeline::Pipeline [] [src]

pub struct Pipeline<'a, L, D, CS, DS> where L: 'a + Layerable,
        D: 'a + Dimensionable,
        D::Size: Copy,
        CS: 'a + ColorSlot<L, D>,
        DS: 'a + DepthSlot<L, D>
{ /* fields omitted */ }

A dynamic rendering pipeline. A pipeline is responsible of rendering into a Framebuffer.

L refers to the Layering of the underlying Framebuffer.

D refers to the Dim of the underlying Framebuffer.

CS and DS are – respectively – the color and depth Slot(s) of the underlying Framebuffer.

Pipelines also have several transient objects:

  • a clear color, used to clear the framebuffer
  • a texture set, used to make textures available in subsequent structures
  • a buffer set, used to make uniform buffers available in subsequent structures

Methods

impl<'a, L, D, CS, DS> Pipeline<'a, L, D, CS, DS> where L: 'a + Layerable,
        D: 'a + Dimensionable,
        D::Size: Copy,
        CS: 'a + ColorSlot<L, D>,
        DS: 'a + DepthSlot<L, D>
[src]

Create a new pipeline.

Run a Pipeline.