createMaterial

AssetManagerInterface::createMaterial

Creates an empty material and returns its pointer.

Declaration

virtual Material* createMaterial(const std::string& materialName) = 0;

Parameters

Name

Type

Description

materialName

const std::string&

A unique name for the new Material.

Returns

A pointer to an empty Material.