createMaterial
AssetManager::createMaterial
Creates an empty material and returns its pointer.
Declaration
Material* createMaterial(const std::string& materialName);
Parameters
Name |
Type |
Description |
---|---|---|
materialName |
const std::string& |
A unique name for the new Material. |
Returns
A pointer to an empty Material.