AnyCAD Rapid API 2023
Help you to create a better world!
MaterialManager Class Reference

Public Member Functions

long GetUpdateVersion ()
 
void RequestUpdate ()
 
MaterialTemplate CreateTemplate (String name, RawShader shader)
 
MaterialTemplate CreateTemplateByName (String name, String shaderTemplateName)
 
boolean AddTemplate (MaterialTemplate material)
 
MaterialTemplate FindTemplate (String name)
 
MaterialInstance Create (String instanceName, String shaderTemplateName)
 
MaterialInstance Create (String instanceName, MaterialTemplate material)
 
MaterialInstance FindInstance (String name)
 
boolean AddInstance (MaterialInstance material)
 
void Clear ()
 

Static Public Member Functions

static MaterialManager Instance ()
 

Detailed Description

<> The material manager