Struct glitter::context::texture_context::TextureCubeMapBinder
[−]
[src]
pub struct TextureCubeMapBinder { /* fields omitted */ }
The OpenGL texture unit state that represents the GL_TEXTURE_CUBE_MAP
target.
Methods
impl TextureCubeMapBinder
[src]
pub unsafe fn current() -> Self
[src]
Get the current GL_TEXTURE_CUBE_MAP
binder.
Safety
The same rules apply to this method as the
ContextOf::current_context()
method.
pub fn bind<'a>(
&mut self,
texture: &'a mut TextureCubeMap
) -> TextureCubeMapBinding<'a>
[src]
&mut self,
texture: &'a mut TextureCubeMap
) -> TextureCubeMapBinding<'a>
Bind a texture to the GL_TEXTURE_CUBE_MAP
target,
returning a binding.