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

pub struct Pipeline<'a> { /* fields omitted */ }

A dynamic pipeline.

Such a pipeline enables you to call shading commands, bind textures, bind uniform buffers, etc. in a scoped-binding way.

Methods

impl<'a> Pipeline<'a>[src]

pub fn bind_texture<L, D, P>(
    &'a self,
    texture: &'a Texture<L, D, P>
) -> BoundTexture<'a, L, D, P::SamplerType> where
    L: 'a + Layerable,
    D: 'a + Dimensionable,
    P: 'a + Pixel
[src]

Bind a texture and return the bound texture.

The texture remains bound as long as the return value lives.

pub fn bind_buffer<T>(&'a self, buffer: &'a T) -> BoundBuffer<'a, T> where
    T: Deref<Target = RawBuffer>, 
[src]

Bind a buffer and return the bound buffer.

The buffer remains bound as long as the return value lives.

Auto Trait Implementations

impl<'a> Unpin for Pipeline<'a>

impl<'a> !Sync for Pipeline<'a>

impl<'a> !Send for Pipeline<'a>

impl<'a> !UnwindSafe for Pipeline<'a>

impl<'a> !RefUnwindSafe for Pipeline<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]