UNPKG

507 BJavaScriptView Raw
1class IGLUniformData {
2}
3class GLProgram {
4 constructor(program, uniformData) {
5 this.program = program;
6 this.uniformData = uniformData;
7 this.uniformGroups = {};
8 this.uniformDirtyGroups = {};
9 this.uniformBufferBindings = {};
10 }
11 destroy() {
12 this.uniformData = null;
13 this.uniformGroups = null;
14 this.uniformDirtyGroups = null;
15 this.uniformBufferBindings = null;
16 this.program = null;
17 }
18}
19
20export { GLProgram, IGLUniformData };
21//# sourceMappingURL=GLProgram.mjs.map