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

This describes the top level acceleration state that was used in the last build. More...

#include <TopLevelAS.h>

Inheritance diagram for xiiGALTopLevelASBuildDescription:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALTopLevelASBuildDescription >
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

xiiUInt32 m_uiInstanceCount = 0U
 The number of instances. The default is 0.
 
xiiUInt32 m_uiHitGroupStride = 0U
 The number of hit shader groups. The default is 0.
 
xiiEnum< xiiGALHitGroupBindingModem_BindingMode = xiiGALHitGroupBindingMode::PerGeometry
 The hit group binding mode. The default is xiiGALHitGroupBindingMode::PerGeometry.
 
xiiUInt32 m_uiFirstContributionToHitGroupIndex = 0U
 The first hit group location. The default is 0.
 
xiiUInt32 m_uiLastContributionToHitGroupIndex = 0U
 The last hit group location. The default is 0.
 

Detailed Description

This describes the top level acceleration state that was used in the last build.


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