Struct glitter::context::texture_context::Texture2dBinder [] [src]

pub struct Texture2dBinder { /* fields omitted */ }

The OpenGL texture unit state that represents the GL_TEXTURE_2D target.

Methods

impl Texture2dBinder
[src]

[src]

Get the current GL_TEXTURE_2D binder.

Safety

The same rules apply to this method as the ContextOf::current_context() method.

[src]

Bind a texture to the GL_TEXTURE_2D target, returning a binding.