|
CeresEngine 0.2.0
A game development framework
|
Layout structure for a single binding point of the pipeline layout descriptor. More...
#include <CeresEngine/RenderAPI/GPUPipelineLayout.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 | |
| GPUDescriptorType | type = GPUDescriptorType::Undefined |
| Resource view type for this layout binding. | |
| GPUPipelineStages | stages = GPUPipelineStage::Graphics |
| Specifies which shader stages are affected by this layout binding. | |
| UInt32 | slot = 0 |
| Specifies the zero-based binding slot. | |
| UInt32 | set = 0 |
| Specifies the zero-based set slot. By default 0. | |
| UInt32 | arraySize = 1 |
| Specifies the number of binding slots for an array resource. | |
Layout structure for a single binding point of the pipeline layout descriptor.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| UInt32 CeresEngine::GPUBindingDescriptor::arraySize = 1 |
Specifies the number of binding slots for an array resource.
By default 1.
| UInt32 CeresEngine::GPUBindingDescriptor::set = 0 |
Specifies the zero-based set slot. By default 0.
| UInt32 CeresEngine::GPUBindingDescriptor::slot = 0 |
Specifies the zero-based binding slot.
By default 0.
| GPUPipelineStages CeresEngine::GPUBindingDescriptor::stages = GPUPipelineStage::Graphics |
Specifies which shader stages are affected by this layout binding.
By default 0. This can be a bitwise OR combination of the Stage bitmasks.
| GPUDescriptorType CeresEngine::GPUBindingDescriptor::type = GPUDescriptorType::Undefined |
Resource view type for this layout binding.
By default ResourceType::Undefined.