Skip to content

@modoki/engine / index / releaseEnvironment

Function: releaseEnvironment() ​

releaseEnvironment(sceneId, hdrRef): void

Release an HDR environment for a scene. Disposes the texture on last release.

Parameters ​

sceneId ​

number

hdrRef ​

string

Returns ​

void

Built with Modoki.