Kanzi 4.0.0-beta2
kanzi::Framebuffer::AttachmentData Struct Reference

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 AttachmentDataoperator= (const AttachmentData &)=delete
 Deleted assignment operator.
 

Public Attributes

size_t colorLimit
 Number of color attachments set.
 
array< AttachmentPoint, MaxColorAttachmentCountcolorPoints
 Color attachment points.
 
array< ResolveTarget, MaxColorAttachmentCountcolorResolveTargets
 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.
 

Detailed Description

Optional attachment information.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ AttachmentData() [1/2]

kanzi::Framebuffer::AttachmentData::AttachmentData ( )
explicitdefault

Constructor.

◆ AttachmentData() [2/2]

kanzi::Framebuffer::AttachmentData::AttachmentData ( const AttachmentData & )
delete

Deleted copy constructor.

Member Function Documentation

◆ operator=()

const AttachmentData & kanzi::Framebuffer::AttachmentData::operator= ( const AttachmentData & )
delete

Deleted assignment operator.

Member Data Documentation

◆ MaxColorAttachmentCount

constexpr size_t kanzi::Framebuffer::AttachmentData::MaxColorAttachmentCount
staticconstexpr

Maximum count for supported color attachment.

◆ colorPoints

array<AttachmentPoint, MaxColorAttachmentCount> kanzi::Framebuffer::AttachmentData::colorPoints

Color attachment points.

◆ colorResolveTargets

array<ResolveTarget, MaxColorAttachmentCount> kanzi::Framebuffer::AttachmentData::colorResolveTargets

Color resolve targets.

◆ colorLimit

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.

◆ depthStencilPoint

AttachmentPoint kanzi::Framebuffer::AttachmentData::depthStencilPoint

Depth and/or stencil attachment point.

◆ depthStencilResolveTarget

ResolveTarget kanzi::Framebuffer::AttachmentData::depthStencilResolveTarget

Depth and/or stencil resolve target.


The documentation for this struct was generated from the following file: