Interface: GlProgramOptions

GlProgramOptions

The options for the gl program

Properties:
Name Type Description
fragment string

The fragment glsl shader source.

name string

the name of the program, defaults to 'pixi-program'

preferredFragmentPrecision string

the preferred fragment precision for the shader, this may not be used if the device does not support it

preferredVertexPrecision string

the preferred vertex precision for the shader, this may not be used if the device does not support it

vertex string

The vertex glsl shader source.

Members

fragment string

The fragment glsl shader source.

name string

the name of the program, defaults to 'pixi-program'

preferredFragmentPrecision string

the preferred fragment precision for the shader, this may not be used if the device does not support it

preferredVertexPrecision string

the preferred vertex precision for the shader, this may not be used if the device does not support it

vertex string

The vertex glsl shader source.