A batch shader generator that could handle extra uniforms during initialization.

Param: vertexSrc

The vertex shader source

Param: fragTemplate

The fragment shader source template

Param: uniforms

Additional uniforms

Hierarchy

  • any
    • BatchShaderGenerator

Properties

Methods

Properties

#uniforms: any

Extra uniforms used to create the batch shader.

Methods

  • Parameters

    • maxTextures: any

    Returns any