PIXI.BatchShaderGenerator
class BatchShaderGenerator
Helper that generates batching multi-texture shader. Use it with your new BatchRenderer
Constructor
new PIXI.BatchShaderGenerator(vertexSrc: string, fragTemplate: string) → {}
Name | Type | Description |
---|---|---|
vertexSrc | string |
Vertex shader |
fragTemplate | string |
Fragment shader template |
Summary
Properties from BatchShaderGenerator
string |
Reference to the fragment shader template. Must contain "%count%" and "%forloop%". |
string |
Reference to the vertex shader source. |
Public Properties
fragTemplate: string
Reference to the fragment shader template. Must contain "%count%" and "%forloop%".