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) 542 B
import type { GlRenderingContext } from '../../context/GlRenderingContext'; import type { WebGLExtensions } from '../../context/WebGLExtensions'; /** * Returns a lookup table that maps each type-format pair to a compatible internal format. * @function mapTypeAndFormatToInternalFormat * @private * @param gl - The rendering context. * @param extensions - The WebGL extensions. * @returns Lookup table. */ export declare function mapFormatToGlInternalFormat(gl: GlRenderingContext, extensions: WebGLExtensions): Record<string, number>;