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

This describes the shading rate attachment. More...

#include <RenderPass.h>

Inheritance diagram for xiiGALShadingRateAttachmentDescription:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALShadingRateAttachmentDescription >
constexpr xiiHashableStruct () noexcept
 Default constructor. Initializes all bytes to zero.
 
 xiiHashableStruct (const xiiHashableStruct &other) noexcept
 Bitwise copy constructor.
 
xiiHashableStructoperator= (const xiiHashableStruct &other) noexcept
 Bitwise assignment operator.
 
bool operator== (const xiiHashableStruct &other) const noexcept
 Compares equality via raw byte comparison.
 
std::strong_ordering operator<=> (const xiiHashableStruct &other) const noexcept
 Compares ordering via raw byte comparison.
 
xiiUInt32 CalculateHash () const noexcept
 Calculates a 32-bit hash from raw bytes of the struct.
 
void Clear () noexcept
 Fills all bytes with zero.
 
bool IsZero () const noexcept
 Returns true if all bytes are zero.
 

Public Attributes

xiiGALAttachmentReferenceDescription m_AttachmentReference
 The shading rate attachment reference.
 
xiiSizeU32 m_TileSize = xiiSizeU32(0U, 0U)
 Each texel in the attachment contains shading rate for the whole tile. The size must be a power-of-two value between xiiGALShadingRateProperties::MinTileSize and xiiGALShadingRateProperties::MaxTileSize. Keep zero (default) to use the default tile size.
 

Detailed Description

This describes the shading rate attachment.


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