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">
9 lines (8 loc) • 353 B
TypeScript
/// <reference types="@webgpu/types" />
import type { TextureSource } from '../../../shared/texture/sources/TextureSource';
import type { GPU } from '../../GpuDeviceSystem';
/** @internal */
export interface GpuTextureUploader<T extends TextureSource = TextureSource> {
type: string;
upload(source: T, gpuTexture: GPUTexture, gpu: GPU): void;
}