Struct bgfx::VertexBuffer
[−]
[src]
pub struct VertexBuffer<'m> { // some fields omitted }
Vertex data buffer.
Methods
impl<'m> VertexBuffer<'m>
fn new<'v>(verts: Memory<'m>, decl: &'v VertexDecl, flags: BufferFlags) -> VertexBuffer<'m>
Creates a new vertex buffer from bgfx-managed memory.