Struct luminance::pipeline::Pipeline [−][src]
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]
impl<'a> Pipeline<'a>
pub fn bind_texture<L, D, P>(
&'a self,
texture: &'a Texture<L, D, P>
) -> BoundTexture<'a, L, D, P> where
L: 'a + Layerable,
D: 'a + Dimensionable,
P: 'a + Pixel,
[src]
pub fn bind_texture<L, D, P>(
&'a self,
texture: &'a Texture<L, D, P>
) -> BoundTexture<'a, L, D, P> where
L: 'a + Layerable,
D: 'a + Dimensionable,
P: 'a + Pixel,
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]
pub fn bind_buffer<T>(&'a self, buffer: &'a T) -> BoundBuffer<'a, T> where
T: Deref<Target = RawBuffer>,
Bind a buffer and return the bound buffer.
The buffer remains bound as long as the return value lives.