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

Function AttributeManager1

docs/app/js/sanddance-app.js:85046–85062  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

85044var TRACE_ATTRIBUTE_UPDATE_END = "attribute.updateEnd";
85045var AttributeManager = function() {
85046 function AttributeManager1(gl) {
85047 var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, _ref$id = _ref.id, id = _ref$id === void 0 ? "attribute-manager" : _ref$id, stats = _ref.stats, timeline = _ref.timeline;
85048 (0, _classCallCheckDefault.default)(this, AttributeManager1);
85049 this.id = id;
85050 this.gl = gl;
85051 this.attributes = {};
85052 this.updateTriggers = {};
85053 this.accessors = {};
85054 this.needsRedraw = true;
85055 this.userData = {};
85056 this.stats = stats;
85057 this.attributeTransitionManager = new (0, _attributeTransitionManagerDefault.default)(gl, {
85058 id: "".concat(id, "-transitions"),
85059 timeline: timeline
85060 });
85061 Object.seal(this);
85062 }
85063 (0, _createClassDefault.default)(AttributeManager1, [
85064 {
85065 key: "finalize",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected