loadCubeMapImagesForUniform

external fun loadCubeMapImagesForUniform(material: Material, uniformId: String): ERROR CLASS: Symbol not found for JsAny(source)

Loads the images for a cubemap uniform, if it has changed since the last time this was called.

Return

A promise that resolves when the images are loaded, or a resolved promise if image loading is not necessary.

Parameters

material

The material to load the cubemap images for.

uniformId

The ID of the uniform that corresponds to the cubemap images.

See also