OptionalvertexSrc: stringThe source of the vertex shader.
OptionalfragmentSrc: stringThe source of the fragment shader.
Optionalname: stringName for shader
Optionalextra: IProgramExtraDataExtra data for shader
Assigned when a program is first bound to the shader system.
Source code for the fragment shader.
Assigned when a program is first bound to the shader system.
Source code for the vertex shader.
StaticdefaultDefault specify float precision in fragment shader. iOS is best set at highp due to https://github.com/pixijs/pixijs/issues/3742
StaticdefaultDefault specify float precision in vertex shader.
StaticdefaultThe default fragment shader source.
StaticdefaultThe default vertex shader source.
StaticfromA short hand function to create a program based of a vertex and fragment shader.
This method will also check to see if there is a cached program.
OptionalvertexSrc: stringThe source of the vertex shader.
OptionalfragmentSrc: stringThe source of the fragment shader.
Optionalname: stringName for shader
A shiny new PixiJS shader program!
Helper class to create a shader program.
Memberof
PIXI