Skip to content

@modoki/engine / index / getCachedEnvironment

Function: getCachedEnvironment()

getCachedEnvironment(hdrRef): DataTexture | undefined

Look up a cached HDR environment texture. Accepts guid or path. Returns undefined if not preloaded.

Parameters

hdrRef

string

Returns

DataTexture | undefined

Built with Modoki.