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

This describes the shader variable information. More...

#include <PipelineState.h>

Inheritance diagram for xiiGALShaderResourceVariableDescription:
[legend]

Public Member Functions

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

xiiStringView m_sName
 The shader variable name.
 
xiiBitflags< xiiGALShaderTypem_ShaderStages = xiiGALShaderType::Unknown
 The shader stages this resources variable applies to. If more than one shader stage is specified, the variable will be shared between these stages. Shader stages used by different variables with the same name must not overlap.
 
xiiBitflags< xiiGALShaderVariableFlagsm_Flags = xiiGALShaderVariableFlags::None
 The shader variable flags.
 

Detailed Description

This describes the shader variable information.


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