generateProgram
generateProgram(gl: IRenderingContext, program: PIXI.Program) → {PIXI.GLProgram}
generates a WebGL Program object from a high level Pixi Program.
Name | Type | Description |
---|---|---|
gl | IRenderingContext |
a rendering context on which to generate the program |
program | PIXI.Program |
the high level Pixi Program. |
Type | Description |
---|---|
PIXI.GLProgram |