LogoPixi’VN
pixi-jsClasses

Class: GlUniformGroupSystem

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlUniformGroupSystem.d.ts:12

System plugin to the renderer to manage shaders.

Advanced

Implements

Constructors

Constructor

> new GlUniformGroupSystem(renderer): GlUniformGroupSystem

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlUniformGroupSystem.d.ts:28

Parameters

renderer

WebGLRenderer

The renderer this System works for.

Returns

GlUniformGroupSystem

Properties

gl

> protected gl: WebGL2RenderingContext

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlUniformGroupSystem.d.ts:22

The current WebGL rendering context.

Methods

contextChange()

> protected contextChange(gl): void

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlUniformGroupSystem.d.ts:29

Parameters

gl

WebGL2RenderingContext

Returns

void


destroy()

> destroy(): void

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlUniformGroupSystem.d.ts:58

Destroys this System and removes all its textures.

Returns

void

Implementation of

System.destroy


updateUniformGroup()

> updateUniformGroup(group, program, syncData): void

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlUniformGroupSystem.d.ts:37

Uploads the uniforms values to the currently bound shader.

Parameters

group

UniformGroup

the uniforms values that be applied to the current shader

program

GlProgram

syncData
textureCount

number

Returns

void