|
Visual Computing Library
devel
|
The DynamicIndexBuffer manages the lifetime of a bgfx::DynamicIndexBufferHandle. More...
#include <vclib/bgfx/buffers/dynamic_index_buffer.h>

Public Member Functions | |
| void | bind () const |
| Bind the dynamic index buffer to the rendering pipeline. | |
| void | create (uint size, ushort flags=BGFX_BUFFER_NONE) |
| DynamicIndexBuffer ()=default | |
| Empty constructor. | |
| void | update (uint startIndex, const bgfx::Memory *data) |
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.