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