Struct glitter::context::buffer_context::ElementArrayBufferBinder [] [src]

pub struct ElementArrayBufferBinder { /* fields omitted */ }

The OpenGL state representing the GL_ELEMENT_ARRAY_BUFFER target.

Methods

impl ElementArrayBufferBinder
[src]

[src]

Get the current GL_ELEMENT_ARRAY_BUFFER binder.

Safety

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

[src]

Bind a buffer to the GL_ELEMENT_ARRAY_BUFFER target, returning a binding.