Class BatchShaderGenerator
Constructors
constructor
-
Parameters
-
vertexSrc: string
-
fragTemplate: string
Properties
defaultGroupCache
defaultGroupCache: {}
fragTemplate
fragTemplate: string
programCache
programCache: {}
vertexSrc
vertexSrc: string
Methods
generateSampleSrc
- generateSampleSrc(maxTextures: number): string
-
Parameters
Returns string
generateShader
- generateShader(maxTextures: number): Shader
-
Parameters
Helper that generates batching multi-texture shader. Use it with your new BatchRenderer
PIXI