1 | import { Program } from '../shader/Program';
|
2 | import { Shader } from '../shader/Shader';
|
3 | import { UniformGroup } from '../shader/UniformGroup';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class BatchShaderGenerator {
|
9 |
|
10 | vertexSrc: string;
|
11 |
|
12 | fragTemplate: string;
|
13 | programCache: {
|
14 | [key: number]: Program;
|
15 | };
|
16 | defaultGroupCache: {
|
17 | [key: number]: UniformGroup;
|
18 | };
|
19 | |
20 |
|
21 |
|
22 |
|
23 | constructor(vertexSrc: string, fragTemplate: string);
|
24 | generateShader(maxTextures: number): Shader;
|
25 | generateSampleSrc(maxTextures: number): string;
|
26 | }
|