bgfx_set_vertex_buffer

Set vertex buffer for draw primitive.

  1. void bgfx_set_vertex_buffer(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_vertex_buffer
  2. da_bgfx_set_vertex_buffer bgfx_set_vertex_buffer;

Parameters

_stream byte

Vertex stream.

_handle bgfx_vertex_buffer_handle_t

Vertex buffer.

_startVertex uint

First vertex to render.

_numVertices uint

Number of vertices to render.

Meta