Methods
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 |
|