bgfx_alloc_transient_index_buffer

Allocate transient index buffer.

  1. void bgfx_alloc_transient_index_buffer(bgfx_transient_index_buffer_t* _tib, uint _num, bool _index32)
    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.

_index32 bool

Set to true if input indices will be 32-bit.

Meta