Files
il/resources/public/js/cljs-runtime/module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$buffer$GlBuffer.js
2026-07-01 22:38:29 -06:00

18 lines
658 B
JavaScript

shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$buffer$GlBuffer = function(global, require, module, exports) {
class GlBuffer {
constructor(buffer, type) {
this._lastBindCallId = this._lastBindBaseLocation = -1;
this.buffer = buffer || null;
this.byteLength = this.updateID = -1;
this.type = type;
}
destroy() {
this.buffer = null;
this._lastBindCallId = this._lastBindBaseLocation = this.type = this.byteLength = this.updateID = -1;
}
}
exports.GlBuffer = GlBuffer;
};
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$buffer$GlBuffer.js.map