#include <CeresEngine/RenderAPI/GPUBufferObject.hpp>
|
| T * | mData = nullptr |
| | A pointer to the buffer data mapped on host memory.
|
| |
◆ GPUDynamicBuffer() [1/6]
Creates a new empty DynamicBuffer.
◆ GPUDynamicBuffer() [2/6]
Creates a new DynamicBuffer from an existing GPU buffer.
- Parameters
-
| buffer | The existing GPU buffer |
| offset | The offset to the beginning of the buffer |
◆ GPUDynamicBuffer() [3/6]
template<typename... Args>
Creates a new DynamicBuffer.
- Parameters
-
| device | The device to create the buffer from |
| name | The buffer name (used for debugging only). |
| args | The arguments for the parent type constructor |
◆ GPUDynamicBuffer() [4/6]
Creates a new DynamicBuffer.
- Parameters
-
| device | The device to create the buffer from |
| name | The buffer name (used for debugging only). |
| args | The arguments for the parent type constructor |
◆ GPUDynamicBuffer() [5/6]
◆ GPUDynamicBuffer() [6/6]
◆ ~GPUDynamicBuffer()
◆ commit()
Commits changes made to the buffer.
◆ get() [1/2]
Gets a pointer to the buffer object.
◆ get() [2/2]
Gets a pointer to the buffer object.
◆ operator*() [1/2]
Dereferences the GPU buffer data.
- Returns
- A reference to the buffer object data.
◆ operator*() [2/2]
Dereferences the GPU buffer data.
- Returns
- A reference to the buffer object data.
◆ operator->() [1/2]
Arrow operator overload that will access the members of the GPU buffer data.
- Returns
- A pointer to the buffer object data.
◆ operator->() [2/2]
Arrow operator overload that will access the members of the GPU buffer data.
- Returns
- A pointer to the buffer object data.
◆ operator=() [1/3]
◆ operator=() [2/3]
Assigns a new value to the dynamic buffer.
- Parameters
-
| value | The value to be assigned. |
- Returns
- this.
◆ operator=() [3/3]
◆ update()
Updates the buffer data with a new value.
◆ mData
A pointer to the buffer data mapped on host memory.
The documentation for this class was generated from the following files:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/RenderAPI/Forward.hpp
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/RenderAPI/GPUBufferObject.hpp