Class: GlUniformGroupSystem

GlUniformGroupSystem

System plugin to the renderer to manage shaders.

new GlUniformGroupSystem (renderer)

Name Type Description
renderer WebGLRenderer

The renderer this System works for.

Implements

Members

gl WebGLRenderingContext protected

The current WebGL rendering context.

Methods

destroy () void

Destroys this System and removes all its textures.

updateUniformGroup (group, program, syncData) void

Uploads the uniforms values to the currently bound shader.

Name Type Description
group UniformGroup

the uniforms values that be applied to the current shader

program GlProgram
syncData {
   textureCount: number
}
syncData.textureCount