Constructors
constructor
-
Parameters
Properties
Static sharedInstance
Methods
dispose
-
Returns void
getCapacity
-
Returns number
preloadCubeTextures
- preloadCubeTextures(textureURLsArray: (undefined | string[])[], waitForReadyCount: number, recycleIntermediateTextures?: boolean[]): Promise<CubeTexture[]>
-
Parameters
-
textureURLsArray: (undefined | string[])[]
-
waitForReadyCount: number
-
Optional recycleIntermediateTextures: boolean[]
Returns Promise<CubeTexture[]>
recycleCubeTexture
- recycleCubeTexture(cubeTextureURLs: string[]): void
-
Parameters
-
cubeTextureURLs: string[]
Returns void
Static disposeAll
-
Returns void
获取一组立方体贴图,若没命中则异步加载