findMaterialByName
AssetManager::findMaterialByName
Returns the material associated with the name.
Declaration
Material* findMaterialByName(const std::string& materialName);
Parameters
Name |
Type |
Description |
---|---|---|
materialName |
const std::string& |
The name of the Material. |
Returns
A pointer to a Material if the name is associated with a material, else, returns nullptr
.