FreeMaterial()

Syntax

FreeMaterial(#Material)
Description
Frees the specified #Material. All its associated memory is released and this object can't be used anymore.

Note: all remaining materials are automatically freed when the program ends.

Supported OS

All

<- DisableMaterialLighting() - Material Index - IsMaterial() ->