UNPKG

429 BTypeScriptView Raw
1import type { Program } from '../Program';
2import { GLProgram } from '../GLProgram';
3import type { IRenderingContext } from '../../IRenderer';
4/**
5 * generates a WebGL Program object from a high level Pixi Program.
6 * @param gl - a rendering context on which to generate the program
7 * @param program - the high level Pixi Program.
8 */
9export declare function generateProgram(gl: IRenderingContext, program: Program): GLProgram;