Struct glium::texture::bindless::TextureHandle
[−]
[src]
pub struct TextureHandle<'a> { // some fields omitted }
Represents a handle to a texture. Contains a raw pointer to a texture that is hidden from you.
Methods
impl<'a> TextureHandle<'a>
fn new(texture: &'a ResidentTexture, _: &SamplerBehavior) -> TextureHandle<'a>
Builds a new handle.
fn set(&mut self, texture: &'a ResidentTexture, _: &SamplerBehavior)
Sets the value to the given texture.