Struct luminance::pipeline::Pipe
[−]
[src]
pub struct Pipe<'a, T> { /* fields omitted */ }
A pipe used to build up a Pipeline
by connecting its inner layers.
Methods
impl<'a, T> Pipe<'a, T>
[src]
fn new(next: T) -> Self
Create a new pipe that just contains the next layer.
impl<'a> Pipe<'a, ()>
[src]
fn empty() -> Pipe<'a, ()>
Create an empty pipe; it holds nothing.
fn unwrap<T>(self, next: T) -> Pipe<'a, T>
Add the next layer to make it hold something.
fn uniforms(self, uniforms: &'a [AlterUniform<'a>]) -> Self
Add uniforms to be altered to this pipe.
fn uniform_buffers(self, uniform_buffers: &'a [&'a RawBuffer]) -> Self
Add uniform buffers as available to this pipe.
fn textures(self, textures: &'a [&'a RawTexture]) -> Self
Add textures as available to this pipe.