Struct luminance::pipeline::Gpu
[−]
[src]
pub struct Gpu { /* fields omitted */ }
An opaque type representing the GPU. You can perform stateful operations on it.
Methods
impl Gpu
[src]
fn bind_texture<'a, T>(&self, texture: &'a T) -> BoundTexture<'a, T> where
T: Deref<Target = RawTexture>,
[src]
T: Deref<Target = RawTexture>,
Bind a texture and return the bound texture.
fn bind_buffer<'a, T>(&self, buffer: &T) -> BoundBuffer<'a, T> where
T: Deref<Target = RawBuffer>,
[src]
T: Deref<Target = RawBuffer>,
Bind a buffer and return the bound buffer.