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">
10 lines (9 loc) • 414 B
TypeScript
import type { GlRenderingContext } from '../../context/GlRenderingContext';
/**
* Returns a lookup table that maps each type-format pair to a compatible internal format.
* @function mapTypeAndFormatToInternalFormat
* @private
* @param {WebGLRenderingContext} gl - The rendering context.
* @returns Lookup table.
*/
export declare function mapFormatToGlFormat(gl: GlRenderingContext): Record<string, number>;