Function bgfx_sys::bgfx_alloc_transient_index_buffer
source · pub unsafe extern "C" fn bgfx_alloc_transient_index_buffer(
_tib: *mut bgfx_transient_index_buffer_t,
_num: u32,
_index32: bool
)
Expand description
Allocate transient index buffer.
@param[out] _tib TransientIndexBuffer structure will be filled, and will be valid
for the duration of frame, and can be reused for multiple draw
calls.
@param[in] _num Number of indices to allocate.
@param[in] _index32 Set to true
if input indices will be 32-bit.