Class: GlUniformGroupSystem

rendering.GlUniformGroupSystem

System plugin to the renderer to manage shaders.

new rendering.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 rendering.UniformGroup

the uniforms values that be applied to the current shader

program rendering.GlProgram
syncData { textureCount : number }
syncData.textureCount