XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALSubPassDescription Struct Reference

This describes the render pass sub pass. More...

#include <RenderPass.h>

Public Member Functions

XII_ALWAYS_INLINE bool operator== (const xiiGALSubPassDescription &rhs) const =default
 

Public Attributes

xiiDynamicArray< xiiGALAttachmentReferenceDescriptionm_InputAttachments
 An array of input attachments.
 
xiiDynamicArray< xiiGALAttachmentReferenceDescriptionm_RenderTargetAttachments
 An array of color render target attachments. Each element of the m_RenderTargetAttachments array corresponds to an output in the pixel shader, i.e. if the shader declares an output variable decorated with a render target index X, then it uses the attachment provided in m_RenderTargetAttachments[X]. If the attachment index is XII_GAL_ATTACHMENT_UNUSED, writes to this render target are ignored.
 
xiiDynamicArray< xiiGALAttachmentReferenceDescriptionm_ResolveAttachments
 An array of resolve attachments. If m_ResolveAttachments is not empty, then each of its elements corresponds to a render target attachment (the element in m_RenderTargetAttachments at the same index), and a multi-sample resolve operation is defined for each attachment. At the end of each sub pass, multi-sample resolve operations read the sub pass's color attachments, and resolve the samples for each pixel within the render area to the same pixel location in the corresponding resolve attachments, unless the resolve attachment index is XII_GAL_ATTACHMENT_UNUSED.
 
xiiStaticArray< xiiGALAttachmentReferenceDescription, 1U > m_DepthStencilAttachment
 An array of depth-stencil attachment. Note that this array can only hold a single depth stencil attachment reference.
 
xiiStaticArray< xiiGALDepthResolveDescription, 1U > m_DepthResolveAttachment
 An array of depth resolve attachment. If m_DepthStencilAttachment is not empty, then each of its elements corresponds to a depth stencil attachment (the element in m_DepthStencilAttachment at the same index), and a multi-sample resolve operation is defined for each attachment. At the end of each sub pass, multi-sample resolve operations read the sub pass's depth-stencil attachments, and resolve the samples for each pixel within the render area to the same pixel location in the corresponding depth resolve attachments, unless the resolve attachment index is XII_GAL_ATTACHMENT_UNUSED.
 
xiiDynamicArray< xiiUInt32 > m_PreserveAttachments
 An array of preserve attachments.
 
xiiStaticArray< xiiGALShadingRateAttachmentDescription, 1U > m_ShadingRateAttachment
 An array of shading rate attachment. Note that this array can only hold a single shading rate attachment reference.
 

Detailed Description

This describes the render pass sub pass.


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