Skip to content

@modoki/engine / index / releaseMaterial

Function: releaseMaterial() ​

releaseMaterial(sceneId, matRef): void

Release a .mat.json material for a scene. Disposes when refcount hits zero.

Parameters ​

sceneId ​

number

matRef ​

string

Returns ​

void

Built with Modoki.