pub unsafe extern "C" fn bgfx_alloc_instance_data_buffer(
    _idb: *mut bgfx_instance_data_buffer_t,
    _num: u32,
    _stride: u16
)
Expand description

Allocate instance data buffer.

@param[out] _idb InstanceDataBuffer structure will be filled, and will be valid for duration of frame, and can be reused for multiple draw calls. @param[in] _num Number of instances. @param[in] _stride Instance stride. Must be multiple of 16.