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

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

#include <RenderPass.h>

Inheritance diagram for xiiGALSubPassDescription:
[legend]

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 nullptr, 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.
 
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.
 

Additional Inherited Members

- Public Member Functions inherited from xiiHashableStruct< xiiGALSubPassDescription >
 xiiHashableStruct (const xiiHashableStruct< xiiGALSubPassDescription > &other)
 
void operator= (const xiiHashableStruct< xiiGALSubPassDescription > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALSubPassDescription > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Detailed Description

This describes the render pass sub pass.


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