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<T>(&self, texture: &T) -> BoundTexture<T> where
T: Deref<Target = RawTexture>,
T: Deref<Target = RawTexture>,
Bind a texture and return the bound texture.
fn bind_buffer<T>(&self, buffer: &T) -> BoundBuffer<T> where
T: Deref<Target = RawBuffer>,
T: Deref<Target = RawBuffer>,
Bind a buffer and return the bound buffer.