UNPKG

pixi.js

Version:

<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">

12 lines (11 loc) 568 B
import type { GLTextureUploader } from './GLTextureUploader'; /** * 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. * @param uploaders - Uploader registry keyed by `uploadMethodId` (must include `image`). * @internal */ export declare function createGlUploadCubeTextureResource(uploaders: Record<string, GLTextureUploader> & { image: GLTextureUploader; }): GLTextureUploader;