#include <ObjectBufferPool.hpp>
|
| OwnedBy (RenderSystem &owner) noexcept |
| Constructor.
|
|
◆ BufferArray
◆ VertexBufferPool()
Constructor.
- Parameters
-
[in] | device | The GPU device. |
[in] | debugName | The debug name. |
◆ cleanup()
C3D_API void castor3d::VertexBufferPool::cleanup |
( |
| ) |
|
Cleans up all GPU buffers.
◆ getAllocationStats()
- Returns
- The allocation statistics.
◆ getBuffer()
template<typename VertexT >
Retrieves a GPU buffer with the given size.
- Parameters
-
[in] | vertexCount | The wanted buffer element count. |
- Returns
- The GPU buffer.
◆ putBuffer()
template<typename VertexT >
Releases a GPU buffer.
- Parameters
-
[in] | bufferOffset | The buffer offset to release. |
The documentation for this class was generated from the following file: