Struct glitter::vertex_buffer::IndexBuffer [] [src]

pub struct IndexBuffer<T: IndexDatum> { /* fields omitted */ }

A buffer that contains index data. In addition to storing a buffer, an IndexBuffer store a count of the amount of IndexData that has been buffered.

Methods

impl<T: IndexDatum> IndexBuffer<T>
[src]

Get a reference to the underlying OpenGL buffer.

Get a mutable reference to the underlying OpenGL buffer.