ProceduralMaterial.ClearCache Manual     Reference     Scripting  
Scripting > Runtime Classes > ProceduralMaterial
ProceduralMaterial.ClearCache

function ClearCache () : void

Description

Clear the Procedural cache.

This frees up all memory used by the cache and sets all properties to not be cached anymore. Use this when you don't expect to make anymore changes to the Procedural properties for now.

See Also: CacheProceduralProperty.