pixi.js
    Preparing search index...

    Class GlShaderSystemAdvanced

    System plugin to the renderer to manage the shaders for WebGL.

    Index

    Constructors

    Methods

    • Changes the current shader to the one given in parameter.

      Parameters

      • shader: Shader

        the new shader

      • OptionalskipSync: boolean

        false if the shader should automatically sync its uniforms.

      Returns void

      the glProgram that belongs to the shader.

    • Binds a uniform block to the shader.

      Parameters

      • uniformGroup: UniformGroup<any> | BufferResource

        the uniform group to bind

      • name: string

        the name of the uniform block

      • index: number = 0

        the index of the uniform block

      Returns void

    • Returns void

    • Returns void

    • Updates the uniform group.

      Parameters

      Returns void