Optional attachment information. More...
#include <kanzi/core.ui/graphics2d/framebuffer.hpp>
Public Member Functions | |
| AttachmentData ()=default | |
| Constructor. | |
| AttachmentData (const AttachmentData &)=delete | |
| Deleted copy constructor. | |
| const AttachmentData & | operator= (const AttachmentData &)=delete |
| Deleted assignment operator. | |
Public Attributes | |
| size_t | colorLimit |
| Number of color attachments set. | |
| array< AttachmentPoint, MaxColorAttachmentCount > | colorPoints |
| Color attachment points. | |
| array< ResolveTarget, MaxColorAttachmentCount > | colorResolveTargets |
| Color resolve targets. | |
| AttachmentPoint | depthStencilPoint |
| Depth and/or stencil attachment point. | |
| ResolveTarget | depthStencilResolveTarget |
| Depth and/or stencil resolve target. | |
Static Public Attributes | |
| static constexpr size_t | MaxColorAttachmentCount |
| Maximum count for supported color attachment. | |
Optional attachment information.
|
explicitdefault |
Constructor.
|
delete |
Deleted copy constructor.
|
delete |
Deleted assignment operator.
|
staticconstexpr |
Maximum count for supported color attachment.
| array<AttachmentPoint, MaxColorAttachmentCount> kanzi::Framebuffer::AttachmentData::colorPoints |
Color attachment points.
| array<ResolveTarget, MaxColorAttachmentCount> kanzi::Framebuffer::AttachmentData::colorResolveTargets |
Color resolve targets.
| size_t kanzi::Framebuffer::AttachmentData::colorLimit |
Number of color attachments set.
This only indicates the amount of color attachments to iterate. You can leave gaps in between.
| AttachmentPoint kanzi::Framebuffer::AttachmentData::depthStencilPoint |
Depth and/or stencil attachment point.
| ResolveTarget kanzi::Framebuffer::AttachmentData::depthStencilResolveTarget |
Depth and/or stencil resolve target.