Skip to content

KBE3D / KBCore / Cesium / loadCubeMapImagesForUniform

函数: loadCubeMapImagesForUniform()

loadCubeMapImagesForUniform(material: Material, uniformId: string): any

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

参数

material

Material

The material to load the cubemap images for.

uniformId

string

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

返回

any

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

KBE3D @3.0.0 Copyright © 2024-present KBE3D