LogoPixi’VN
pixi-jsFunctions

Function: createGpuUploadCubeTextureResource()

> createGpuUploadCubeTextureResource(uploaders): GpuTextureUploader<CubeTextureSource>

Defined in: node_modules/pixi.js/lib/rendering/renderers/gpu/texture/uploaders/gpuUploadCubeTextureResource.d.ts:8

Internal

Creates a cube uploader that delegates to the given uploader registry.

Parameters

uploaders

Record<string, GpuTextureUploader<TextureSource<any>>> & object

Uploader registry keyed by uploadMethodId (must include image).

Returns

GpuTextureUploader<CubeTextureSource>