Struct cat_engine_basement::graphics::level1::VertexBuffer [−][src]
pub struct VertexBuffer<V: Sized> { /* fields omitted */ }
Implementations
Creates and initializes a buffer object’s data store.
Returns GLError::NoError
if no error has accured.
Returns GLError::InvalidOperation
if the reserved buffer object name 0 is bound to target.
Returns GLError::OutOfMemory
if the GL is unable to create a data store with the specified size.
Panics if data
is empty.