pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
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>;