The WebGLRenderer that owns this ShaderProgramFactory.
A map of shader programs, identified by a unique key.
The key of each shader program is made up of the following components:
The WebGLRenderer that owns this ShaderProgramFactory.
Creates a shader program based on the given configuration settings.
The unique key of the shader program.
The base shader configuration.
Optionaladditions: ShaderAdditionConfig[]An array of shader addition configurations.
Optionalfeatures: string[]An array of enabled shader feature keys.
Returns a unique key for a shader program based on the given configuration settings.
The key is made up of the following components:
The base shader configuration.
Optionaladditions: ShaderAdditionConfig[]An array of shader addition configurations.
Optionalfeatures: string[]An array of enabled shader feature keys.
Returns a shader program based on the given configuration settings.
The base shader configuration.
Optionaladditions: ShaderAdditionConfig[]An array of shader addition configurations.
Optionalfeatures: string[]An array of enabled shader feature keys.
Checks if a shader program exists based on the given configuration settings.
The unique key of the shader program.
The ShaderProgramFactory is a utility class used to generate Phaser.Renderer.WebGL.Wrappers.WebGLProgramWrapper objects. It facilitates generating variants of a shader program based on configuration settings.