Visual Computing Library
|
The DynamicIndexBuffer manages the lifetime of a bgfx::DynamicIndexBufferHandle. More...
#include <vclib/bgfx/buffers/dynamic_index_buffer.h>
Public Member Functions | |
DynamicIndexBuffer ()=default | |
Empty constructor. | |
void | create (uint size, ushort flags=BGFX_BUFFER_NONE) |
void | update (uint startIndex, const bgfx::Memory *data) |
void | bind () const |
Bind the dynamic index buffer to the rendering pipeline. | |
Private Types | |
using | Base = GenericBuffer< bgfx::DynamicIndexBufferHandle > |
The DynamicIndexBuffer manages the lifetime of a bgfx::DynamicIndexBufferHandle.
It provides an interface to set the dynamic index buffer data and bind it to the rendering pipeline. The dynamic index buffer can be used for rendering or for compute shaders.
|
default |
Empty constructor.
It creates an invalid DynamicIndexBuffer object.