|
CeresEngine 0.2.0
A game development framework
|
Render target attachment descriptor structure. More...
#include <CeresEngine/RenderAPI/GPURenderPass.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 | |
| Format | format = Format::Undefined |
| Specifies the render target attachment format. | |
| UInt32 | samples = 1 |
| The number of samples when multisampling is enabled. | |
| GPUAttachmentLoadOp | loadOp = GPUAttachmentLoadOp::Load |
| Specifies the load operation of the previous attachment content. | |
| GPUAttachmentStoreOp | storeOp = GPUAttachmentStoreOp::Store |
| Specifies the store operation of the outcome for the respective attachment content. | |
| GPUImageLayout | initialLayout = GPUImageLayout::DontCare |
| A hint given to the render on what the usage of the image was before the render pass begins. | |
| GPUImageLayout | finalLayout = GPUImageLayout::ShaderAccess |
| A hint given to the renderer on what the usage of the image will be on following render passes. | |
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. |
| GPUImageLayout CeresEngine::GPUAttachmentFormatDescriptor::finalLayout = GPUImageLayout::ShaderAccess |
A hint given to the renderer on what the usage of the image will be on following render passes.
This can be used to prevent a image layout transition in Vulkan.
| Format CeresEngine::GPUAttachmentFormatDescriptor::format = Format::Undefined |
Specifies the render target attachment format.
| GPUImageLayout CeresEngine::GPUAttachmentFormatDescriptor::initialLayout = GPUImageLayout::DontCare |
A hint given to the render on what the usage of the image was before the render pass begins.
This can be used to prevent a image layout transition in Vulkan.
| GPUAttachmentLoadOp CeresEngine::GPUAttachmentFormatDescriptor::loadOp = GPUAttachmentLoadOp::Load |
Specifies the load operation of the previous attachment content.
By default AttachmentLoadOp::Undefined.
| UInt32 CeresEngine::GPUAttachmentFormatDescriptor::samples = 1 |
The number of samples when multisampling is enabled.
| GPUAttachmentStoreOp CeresEngine::GPUAttachmentFormatDescriptor::storeOp = GPUAttachmentStoreOp::Store |
Specifies the store operation of the outcome for the respective attachment content.
By default AttachmentStoreOp::Undefined.