MaterialAsset
Engine/source/T3D/assets/MaterialAsset.h
Private Types
Parent
Private Attributes
Public Functions
Declare Console Object.
setScriptFile(const char * pScriptFile)
Public Static Functions
bool
getAssetById(StringTableEntry assetId, AssetPtr< MaterialAsset > * materialAsset)
Engine.
Protected Functions
Protected Static Functions
const char *
getScriptFile(void * obj, const char * data)
bool
setScriptFile(void * obj, const char * index, const char * data)
Detailed Description
Private Types
typedef AssetBase Parent
Private Attributes
StringTableEntry mMatDefinitionName
StringTableEntry mScriptFile
StringTableEntry mScriptPath
String mShaderGraphFile
Public Functions
MaterialAsset()
~MaterialAsset()
compileShader()
copyTo(SimObject * object)
Reimplemented from: AssetBase
DECLARE_CONOBJECT(MaterialAsset )
Declare Console Object.
getMaterialDefinitionName()
getScriptFile(void )
getScriptPath(void )
setScriptFile(const char * pScriptFile)
Public Static Functions
getAssetById(StringTableEntry assetId, AssetPtr< MaterialAsset > * materialAsset)
getAssetIdByMaterialName(StringTableEntry fileName)
initPersistFields()
Engine.
Protected Functions
initializeAsset()
Reimplemented from: AssetBase
onAssetRefresh(void )
Reimplemented from: AssetBase
Protected Static Functions
getScriptFile(void * obj, const char * data)
setScriptFile(void * obj, const char * index, const char * data)