[−][src]Struct luminance::pipeline::Pipeline
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]
&'a self,
texture: &'a Texture<L, D, P>
) -> BoundTexture<'a, L, D, P::SamplerType> 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]
T: Deref<Target = RawBuffer>,
Bind a buffer and return the bound buffer.
The buffer remains bound as long as the return value lives.
Auto Trait Implementations
impl<'a> !Send for Pipeline<'a>
impl<'a> Unpin for Pipeline<'a>
impl<'a> !Sync for Pipeline<'a>
impl<'a> !RefUnwindSafe for Pipeline<'a>
impl<'a> !UnwindSafe for Pipeline<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,