#include <UniformBufferPool.hpp>
|
| OwnedBy (RenderSystem &owner) |
| Constructor.
|
|
◆ BufferArray
◆ UniformBufferPool()
Constructor.
- Parameters
-
[in] | device | The GPU device. |
[in] | debugName | The buffer debug name. |
◆ cleanup()
C3D_API void castor3d::UniformBufferPool::cleanup |
( |
| ) |
|
Cleans up all GPU buffers.
◆ getBuffer()
template<typename DataT >
Retrieves a uniform buffer.
- Parameters
-
[in] | flags | The buffer memory flags. |
- Returns
- The uniform buffer.
◆ getBufferCount()
C3D_API uint32_t castor3d::UniformBufferPool::getBufferCount |
( |
| ) |
const |
- Returns
- The pool buffers count.
◆ putBuffer()
template<typename DataT >
Releases a GPU buffer.
- Parameters
-
[in] | bufferOffset | The buffer offset to release. |
◆ upload()
C3D_API void castor3d::UniformBufferPool::upload |
( |
UploadData const & | uploader | ) |
const |
Uploads all GPU buffers to VRAM.
- Parameters
-
[in] | uploader | Receives the upload requests. |
The documentation for this class was generated from the following file: