Struct bgfx::IndexBuffer [] [src]

pub struct IndexBuffer<'m> {
    // some fields omitted
}

Vertex index buffer.

Methods

impl<'m> IndexBuffer<'m>

fn new(indices: Memory<'m>, flags: BufferFlags) -> IndexBuffer<'m>

Creates a new index buffer from bgfx-managed memory.

Trait Implementations

impl<'m> Drop for IndexBuffer<'m>

fn drop(&mut self)