LogoPixi’VN
pixi-jsFunctions

Function: createGlUploadCubeTextureResource()

> createGlUploadCubeTextureResource(uploaders): GLTextureUploader

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/texture/uploaders/glUploadCubeTextureResource.d.ts:9

Internal

Creates a cube uploader that delegates to the given uploader registry. This keeps the uploader map owned by the texture system (better discoverability), while allowing cube uploads to reuse the same 2D upload implementations.

Parameters

uploaders

Record<string, GLTextureUploader> & object

Uploader registry keyed by uploadMethodId (must include image).

Returns

GLTextureUploader