#include <StdMeshMaterial.h>
Public Member Functions | |
StdMeshMaterial () | |
void | Load (StdMeshMaterialParserCtx &ctx) |
bool | IsOpaque () const |
Public Attributes | |
StdCopyStrBuf | FileName |
unsigned int | Line {0} |
StdCopyStrBuf | Name |
bool | ReceiveShadows {true} |
std::vector< StdMeshMaterialTechnique > | Techniques |
int | BestTechniqueIndex {-1} |
Definition at line 491 of file StdMeshMaterial.h.
|
default |
|
inline |
Definition at line 497 of file StdMeshMaterial.h.
References BestTechniqueIndex, and Techniques.
Referenced by StdSubMeshInstance::SetFaceOrderingForClrModulation().
void StdMeshMaterial::Load | ( | StdMeshMaterialParserCtx & | ctx | ) |
Definition at line 1460 of file StdMeshMaterial.cpp.
References StdMeshMaterialParserCtx::AdvanceBoolean(), StdMeshMaterialParserCtx::AdvanceNonEOF(), StdMeshMaterialParserCtx::Error(), StdMeshMaterialParserCtx::ErrorUnexpectedIdentifier(), StdStrBuf::getData(), StdMeshMaterialSubLoader::Load(), TOKEN_BRACE_CLOSE, and TOKEN_IDTF.
Referenced by StdMeshMatManager::Parse().
int StdMeshMaterial::BestTechniqueIndex {-1} |
Definition at line 514 of file StdMeshMaterial.h.
Referenced by StdMeshInstance::ExecuteAnimation(), IsOpaque(), CStdGL::PrepareMaterial(), CStdNoGfx::PrepareMaterial(), and StdSubMeshInstance::SetMaterial().
StdCopyStrBuf StdMeshMaterial::FileName |
Definition at line 500 of file StdMeshMaterial.h.
Referenced by StdMeshMatManager::Parse().
unsigned int StdMeshMaterial::Line {0} |
Definition at line 501 of file StdMeshMaterial.h.
Referenced by StdMeshMatManager::Parse().
StdCopyStrBuf StdMeshMaterial::Name |
Definition at line 504 of file StdMeshMaterial.h.
Referenced by StdSubMeshInstance::CompileFunc(), StdMeshMatManager::Parse(), and CStdGL::PrepareMaterial().
bool StdMeshMaterial::ReceiveShadows {true} |
Definition at line 508 of file StdMeshMaterial.h.
std::vector<StdMeshMaterialTechnique> StdMeshMaterial::Techniques |
Definition at line 511 of file StdMeshMaterial.h.
Referenced by StdMeshInstance::ExecuteAnimation(), IsOpaque(), CStdGL::PrepareMaterial(), and StdSubMeshInstance::SetMaterial().