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

33 lines
1.0 KiB
JavaScript

shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$instructions$InstructionSet = function(global, require, module, exports) {
var uid = require("module$node_modules$pixi_DOT_js$lib$utils$data$uid");
"use strict";
class InstructionSet {
constructor() {
this.uid = uid.uid("instructionSet");
this.instructions = [];
this.instructionSize = 0;
this.renderables = [];
this.gcTick = 0;
}
reset() {
this.instructionSize = 0;
}
destroy() {
this.instructions.length = 0;
this.renderables.length = 0;
this.renderPipes = null;
this.gcTick = 0;
}
add(instruction) {
this.instructions[this.instructionSize++] = instruction;
}
log() {
this.instructions.length = this.instructionSize;
console.table(this.instructions, ["type", "action"]);
}
}
exports.InstructionSet = InstructionSet;
};
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$instructions$InstructionSet.js.map