UNPKG

404 BTypeScriptView Raw
1import { CompressedPixelFormat, PixelFormat, TextureDataType } from "../../constants.js";
2import { WebGLExtensions } from "./WebGLExtensions.js";
3
4export class WebGLUtils {
5 constructor(
6 gl: WebGLRenderingContext | WebGL2RenderingContext,
7 extensions: WebGLExtensions,
8 );
9
10 convert(p: PixelFormat | CompressedPixelFormat | TextureDataType, colorSpace?: string): number | null;
11}