MCPcopy Create free account
hub / github.com/microsoft/SandDance / IconManager1

Function IconManager1

docs/app/js/sanddance-app.js:99478–99497  ·  view source on GitHub ↗
(gl, _ref2)

Source from the content-addressed store, hash-verified

99476}
99477var IconManager = function() {
99478 function IconManager1(gl, _ref2) {
99479 var _ref2$onUpdate = _ref2.onUpdate, onUpdate = _ref2$onUpdate === void 0 ? noop : _ref2$onUpdate;
99480 (0, _classCallCheckDefault.default)(this, IconManager1);
99481 this.gl = gl;
99482 this.onUpdate = onUpdate;
99483 this._loadOptions = null;
99484 this._getIcon = null;
99485 this._texture = null;
99486 this._externalTexture = null;
99487 this._mapping = {};
99488 this._pendingCount = 0;
99489 this._autoPacking = false;
99490 this._xOffset = 0;
99491 this._yOffset = 0;
99492 this._rowHeight = 0;
99493 this._buffer = DEFAULT_BUFFER;
99494 this._canvasWidth = DEFAULT_CANVAS_WIDTH;
99495 this._canvasHeight = 0;
99496 this._canvas = null;
99497 }
99498 (0, _createClassDefault.default)(IconManager1, [
99499 {
99500 key: "finalize",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected