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

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <Shader.h>

Inheritance diagram for xiiGALShaderCreationDescription:
[legend]

Public Member Functions

XII_ALWAYS_INLINE bool HasValidByteCode () const
Public Member Functions inherited from xiiHashableStruct< xiiGALShaderCreationDescription >
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.

Public Attributes

xiiBitflags< xiiGALShaderType > m_ShaderType = xiiGALShaderType::Unknown
 The shader type. The default is xiiGALShaderType::Unknown.
xiiScopedRefPointer< xiiGALShaderByteCode > m_ByteCode
 The shader byte code. See xiiGALShaderByteCode.

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

This describes the shader creation description.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Shader/Shader.h