|
CeresEngine 0.2.0
A game development framework
|
Render target attachment descriptor structure. More...
#include <CeresEngine/RenderAPI/GPURenderTarget.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 | |
| GPUAttachmentType | type = GPUAttachmentType::Color |
| Specifies for which output information the image attachment is to be used, e.g. | |
| GPUImagePtr | image = nullptr |
| Pointer to the image which is to be used as target output. | |
| GPUImageViewDescriptor | imageView = {} |
| Specifies the image subresource, i.e. | |
Render target attachment descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| GPUImagePtr CeresEngine::GPUAttachmentDescriptor::image = nullptr |
Pointer to the image which is to be used as target output.
By default null.
| GPUImageViewDescriptor CeresEngine::GPUAttachmentDescriptor::imageView = {} |
Specifies the image subresource, i.e.
MIP-map level and array layer range. By default only the first MIP-map level and first array layer is addressed.
numMipLevels of the ImageSubresource structure must always be 1, i.e. render targets attachments can only render to a single MIP-map at a time. | GPUAttachmentType CeresEngine::GPUAttachmentDescriptor::type = GPUAttachmentType::Color |
Specifies for which output information the image attachment is to be used, e.g.
for color or depth information. By default AttachmentType::Color.