Class MaterialManager
keeps track of all material instances.
materials register themselves upon creation.
Defined in: MaterialManager.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
MaterialManager.addMaterial(material)
|
<static> |
MaterialManager.getMaterial(name)
|
Method Detail
<static>
MaterialManager.addMaterial(material)
- Parameters:
- material
<static>
MaterialManager.getMaterial(name)
- Parameters:
- name