MCPcopy
hub / github.com/pixijs/pixijs / getLiveInheritedInstances

Function getLiveInheritedInstances

transcoders/basis/basis_transcoder.js:612–619  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

610
611 return desiredClass.downcast(rv);
612 } function getInheritedInstanceCount() { return Object.keys(registeredInstances).length; } function getLiveInheritedInstances()
613 {
614 const rv = [];
615
616 for (const k in registeredInstances) { if (registeredInstances.hasOwnProperty(k)) { rv.push(registeredInstances[k]); } }
617
618 return rv;
619 } function setDelayFunction(fn) { delayFunction = fn; if (deletionQueue.length && delayFunction) { delayFunction(flushPendingDeletes); } } function init_embind() { Module.getInheritedInstanceCount = getInheritedInstanceCount; Module.getLiveInheritedInstances = getLiveInheritedInstances; Module.flushPendingDeletes = flushPendingDeletes; Module.setDelayFunction = setDelayFunction; } var registeredInstances = {};
620
621 function getBasestPointer(class_, ptr)
622 {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected