sdfsdfs
This commit is contained in:
31
node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlProgramData.js
generated
vendored
Normal file
31
node_modules/pixi.js/lib/rendering/renderers/gl/shader/GlProgramData.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
'use strict';
|
||||
|
||||
"use strict";
|
||||
class IGLUniformData {
|
||||
}
|
||||
class GlProgramData {
|
||||
/**
|
||||
* Makes a new Pixi program.
|
||||
* @param program - webgl program
|
||||
* @param uniformData - uniforms
|
||||
*/
|
||||
constructor(program, uniformData) {
|
||||
this.program = program;
|
||||
this.uniformData = uniformData;
|
||||
this.uniformGroups = {};
|
||||
this.uniformDirtyGroups = {};
|
||||
this.uniformBlockBindings = {};
|
||||
}
|
||||
/** Destroys this program. */
|
||||
destroy() {
|
||||
this.uniformData = null;
|
||||
this.uniformGroups = null;
|
||||
this.uniformDirtyGroups = null;
|
||||
this.uniformBlockBindings = null;
|
||||
this.program = null;
|
||||
}
|
||||
}
|
||||
|
||||
exports.GlProgramData = GlProgramData;
|
||||
exports.IGLUniformData = IGLUniformData;
|
||||
//# sourceMappingURL=GlProgramData.js.map
|
Reference in New Issue
Block a user