bgfx_alloc_transient_index_buffer

Allocate transient index buffer. Remarks: Only 16-bit index buffer is supported.

  1. void bgfx_alloc_transient_index_buffer(bgfx_transient_index_buffer_t* _tib, uint _num)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_alloc_transient_index_buffer
  2. da_bgfx_alloc_transient_index_buffer bgfx_alloc_transient_index_buffer;

Parameters

_tib bgfx_transient_index_buffer_t*

TransientIndexBuffer structure is filled and is valid for the duration of frame, and it can be reused for multiple draw calls.

_num uint

Number of indices to allocate.

Meta