pub fn with_capacity(primitive_mode: PrimitiveMode, usage: BufferUsage, 
                         vertex_capacity: usize, index_capacity: usize) -> IndexedVertexBuffer<T, E> {
        IndexedVertexBuffer {
            vertices: VertexBuffer::with_capacity(primitive_mode, usage, vertex_capacity), 
            indices:  PrimitiveBuffer::with_capacity(BufferTarget::ElementArray, usage, index_capacity),
        }
    }
/// Creates a new indexed vertex buffer, preallocating space for the given number of vertices
/// and indices.
Creates a new indexed vertex buffer, preallocating space for the given number of vertices
and indices.
Creates a new indexed vertex buffer preallocating space for the given number of vertices and indices .
pub fn with_capacity(primitive_mode: PrimitiveMode, usage: BufferUsage, 
                         vertex_capacity: usize, index_capacity: usize) -> IndexedVertexBuffer<T, E> {
        IndexedVertexBuffer {
            vertices: VertexBuffer::with_capacity(primitive_mode, usage, vertex_capacity), 
            indices:  PrimitiveBuffer::with_capacity(BufferTarget::ElementArray, usage, index_capacity),
        }
    }
pub fn with_capacity ( primitive_mode : PrimitiveMode , usage : BufferUsage , vertex_capacity : usize , index_capacity : usize ) -> IndexedVertexBuffer < T , E > { IndexedVertexBuffer { vertices : VertexBuffer :: with_capacity ( primitive_mode , usage , vertex_capacity ) , indices : PrimitiveBuffer :: with_capacity ( BufferTarget :: ElementArray , usage , index_capacity ) , } }
Creates a new indexed vertex buffer, preallocating space for the given number of vertices
and indices.
Creates a new indexed vertex buffer preallocating space for the given number of vertices and indices .
primitive_mode
PrimitiveMode
usage
BufferUsage
vertex_capacity
usize
index_capacity
usize
primitive_mode
PrimitiveMode
usage
BufferUsage
vertex_capacity
usize
index_capacity
usize