getMaterialName
AssetManagerInterface::getMaterialName
Returns the name of the material.
Declaration
virtual std::string getMaterialName(const Material* material) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
material |
const Material* |
The Material to get the name of. |
Returns
The name of the Material if it exists, else, returns the empty string ""
.