findMaterialByName
AssetManagerInterface::findMaterialByName
Returns the material associated with the name.
Declaration
virtual Material* findMaterialByName(const std::string& materialName) = 0;
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
.