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