Index buffer data.
Buffer creation flags. - BGFX_BUFFER_NONE - No flags. - BGFX_BUFFER_COMPUTE_READ - Buffer will be read from by compute shader. - BGFX_BUFFER_COMPUTE_WRITE - Buffer will be written into by compute shader. When buffer is created with BGFX_BUFFER_COMPUTE_WRITE flag it cannot be updated from CPU. - BGFX_BUFFER_COMPUTE_READ_WRITE - Buffer will be used for read/write by compute shader. - BGFX_BUFFER_ALLOW_RESIZE - Buffer will resize on buffer update if a different amount of data is passed. If this flag is not specified, and more data is passed on update, the buffer will be trimmed to fit the existing buffer size. This flag has effect only on dynamic buffers. - BGFX_BUFFER_INDEX32 - Buffer is using 32-bit indices. This flag has effect only on index buffers.
Page generated by adrdox
Create dynamic index buffer and initialized it.