CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ShaderCompiler::IndexedSemantic Class Reference

#include <CeresEngine/Material/ShaderCompiler/AST/ASTEnums.hpp>

Public Member Functions

 IndexedSemantic ()=default
 
 IndexedSemantic (const IndexedSemantic &)=default
 
IndexedSemanticoperator= (const IndexedSemantic &)=default
 
 IndexedSemantic (Semantic semantic, Int32 index=0)
 
 IndexedSemantic (const String &userDefined)
 
 IndexedSemantic (const IndexedSemantic &rhs, Int32 index)
 
 operator Semantic () const
 
bool operator< (const IndexedSemantic &rhs) const
 
bool isValid () const
 
bool isSystemValue () const
 
bool isUserDefined () const
 
String toString () const
 
void reset ()
 
void resetIndex (int index)
 
void makeUserDefined (const String &semanticName="")
 
Int32 getIndex () const
 

Private Attributes

Semantic mSemantic = Semantic::Undefined
 
Int32 mIndex = 0
 
String mUserDefined
 

Constructor & Destructor Documentation

◆ IndexedSemantic() [1/5]

CeresEngine::ShaderCompiler::IndexedSemantic::IndexedSemantic ( )
default

◆ IndexedSemantic() [2/5]

CeresEngine::ShaderCompiler::IndexedSemantic::IndexedSemantic ( const IndexedSemantic )
default

◆ IndexedSemantic() [3/5]

CeresEngine::ShaderCompiler::IndexedSemantic::IndexedSemantic ( Semantic  semantic,
Int32  index = 0 
)

◆ IndexedSemantic() [4/5]

CeresEngine::ShaderCompiler::IndexedSemantic::IndexedSemantic ( const String userDefined)

◆ IndexedSemantic() [5/5]

CeresEngine::ShaderCompiler::IndexedSemantic::IndexedSemantic ( const IndexedSemantic rhs,
Int32  index 
)

Member Function Documentation

◆ getIndex()

Int32 CeresEngine::ShaderCompiler::IndexedSemantic::getIndex ( ) const
inline

◆ isSystemValue()

bool CeresEngine::ShaderCompiler::IndexedSemantic::isSystemValue ( ) const

◆ isUserDefined()

bool CeresEngine::ShaderCompiler::IndexedSemantic::isUserDefined ( ) const

◆ isValid()

bool CeresEngine::ShaderCompiler::IndexedSemantic::isValid ( ) const

◆ makeUserDefined()

void CeresEngine::ShaderCompiler::IndexedSemantic::makeUserDefined ( const String semanticName = "")

◆ operator Semantic()

CeresEngine::ShaderCompiler::IndexedSemantic::operator Semantic ( ) const
inline

◆ operator<()

bool CeresEngine::ShaderCompiler::IndexedSemantic::operator< ( const IndexedSemantic rhs) const

◆ operator=()

IndexedSemantic & CeresEngine::ShaderCompiler::IndexedSemantic::operator= ( const IndexedSemantic )
default

◆ reset()

void CeresEngine::ShaderCompiler::IndexedSemantic::reset ( )

◆ resetIndex()

void CeresEngine::ShaderCompiler::IndexedSemantic::resetIndex ( int  index)

◆ toString()

String CeresEngine::ShaderCompiler::IndexedSemantic::toString ( ) const

Member Data Documentation

◆ mIndex

Int32 CeresEngine::ShaderCompiler::IndexedSemantic::mIndex = 0
private

◆ mSemantic

Semantic CeresEngine::ShaderCompiler::IndexedSemantic::mSemantic = Semantic::Undefined
private

◆ mUserDefined

String CeresEngine::ShaderCompiler::IndexedSemantic::mUserDefined
private

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