|
CeresEngine 0.2.0
A game development framework
|
Hardware buffer descriptor structure. More...
#include <CeresEngine/RenderAPI/GPUBuffer.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| GPUBufferType | type = GPUBufferType::Vertex |
Hardware buffer type. By default BufferType::Vertex. | |
| GPUBufferUsage | usage = GPUBufferUsageFlag::Automatic |
| The buffer usage hints. | |
| GPUMemoryProperties | memoryProperty = GPUMemoryProperty::HostVisible |
| The buffer memory properties. | |
| GPUBufferSize | size = 0 |
| Buffer size (in bytes). By default 0. | |
| String | name |
| A user-facing name for the buffer. This is only used for debugging. | |
Hardware buffer descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| GPUMemoryProperties CeresEngine::GPUBufferDescriptor::memoryProperty = GPUMemoryProperty::HostVisible |
The buffer memory properties.
| String CeresEngine::GPUBufferDescriptor::name |
A user-facing name for the buffer. This is only used for debugging.
| GPUBufferSize CeresEngine::GPUBufferDescriptor::size = 0 |
Buffer size (in bytes). By default 0.
| GPUBufferType CeresEngine::GPUBufferDescriptor::type = GPUBufferType::Vertex |
Hardware buffer type. By default BufferType::Vertex.
| GPUBufferUsage CeresEngine::GPUBufferDescriptor::usage = GPUBufferUsageFlag::Automatic |
The buffer usage hints.