|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/GPUResourceSet.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 | |
| GPUImagePtr | image = nullptr |
| A pointer to the resource resource to be bound. | |
| GPUSamplerPtr | sampler = nullptr |
| An optional sampler to be used when sampling from the image on the shader. | |
| GPUImageViewDescriptor | imageView |
| A descriptor that describes the region of the image to be bound. | |
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| GPUImagePtr CeresEngine::GPUImageResourceBinding::image = nullptr |
A pointer to the resource resource to be bound.
| GPUImageViewDescriptor CeresEngine::GPUImageResourceBinding::imageView |
A descriptor that describes the region of the image to be bound.
This is only used it the resource is a Image resource.
| GPUSamplerPtr CeresEngine::GPUImageResourceBinding::sampler = nullptr |
An optional sampler to be used when sampling from the image on the shader.
If the sampler is not set, a default one may be provided by the render API.