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

Stable name-derived identifier used instead of string lookup in hot paths. More...

#include <MaterialTypes.h>

Inheritance diagram for xiiMaterialParameterId:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
XII_ALWAYS_INLINE bool IsValid () const
Public Member Functions inherited from xiiHashableStruct< xiiMaterialParameterId >
constexpr xiiHashableStruct () noexcept
 Default constructor. Initializes all bytes to zero.
xiiHashableStruct & operator= (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.

Static Public Member Functions

static xiiMaterialParameterId Make (xiiStringView sName)

Public Attributes

xiiUInt64 m_uiValue = 0U

Detailed Description

Stable name-derived identifier used instead of string lookup in hot paths.


The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Material/MaterialTypes.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Material/Implementation/MaterialTypes.cpp