bgfx_set_instance_data_from_vertex_buffer

Set instance data buffer for draw primitive.

  1. void bgfx_set_instance_data_from_vertex_buffer(bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _num)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_instance_data_from_vertex_buffer
  2. da_bgfx_set_instance_data_from_vertex_buffer bgfx_set_instance_data_from_vertex_buffer;

Parameters

_handle bgfx_vertex_buffer_handle_t

Vertex buffer.

_startVertex uint

First instance data.

_num uint

Number of data instances. Set instance data buffer for draw primitive.

Meta