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 >
 xiiHashableStruct (const xiiHashableStruct< xiiGALShadingRateAttachmentDescription > &other)
 
void operator= (const xiiHashableStruct< xiiGALShadingRateAttachmentDescription > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALShadingRateAttachmentDescription > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

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: