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