Class: GlShaderSystem

GlShaderSystem

System plugin to the renderer to manage the shaders.

Methods

_generateShaderSync (shader, shaderSystem) ShaderSyncFunction

Creates a function that can be executed that will sync the shader as efficiently as possible. Overridden by the unsafe eval package if you don't want eval used in your project.

Name Type Description
shader Shader

the shader to generate the sync function for

shaderSystem GlShaderSystem

the shader system to use

Returns:
Type Description
ShaderSyncFunction
  • the generated sync function