getMaterialName

AssetManager::getMaterialName

Returns the name of the material.

Declaration

std::string getMaterialName(const Material* material);

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 "".