Function bgfx_rs::static_lib::alloc_transient_index_buffer
source · pub fn alloc_transient_index_buffer(
tib: &mut TransientIndexBuffer,
num: u32,
index_32: bool
)
Expand description
tib
: TransientIndexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.num
: Number of indices to allocate.index_32
: Set totrue
if input indices will be 32-bit.