modern-canvas
Version:
A JavaScript WebGL rendering engine. only the ESM.
9 lines (8 loc) • 343 B
TypeScript
import type { TextureLikeObject } from '../../shared';
import type { GlRenderingContext } from '../types';
import type { GlTexture } from './GlTexture';
/** @internal */
export interface GlTextureUploader {
id: string;
upload: (texture: TextureLikeObject, glTexture: GlTexture, gl: GlRenderingContext, webGLVersion: number) => void;
}