Code inventory
Status: auto-generated.
This page lists declarations and ESM exports in a searchable form.
Generator:
node tools/generate_code_inventory.mjsNote: this is an inventory; it does not try to explain semantics.
Note: class member extraction is heuristic for navigation and may not cover every pattern.
Generated at UTC:
2026-03-02T08:31:05.912Z
app/
app/main.mjs
Lines: 1974
Exports: none
File-scope declarations:
L63: function
resolvePluginImportSpecifierL111: function
subscribeClockL120: function
formatArenaBytesL212: const =>
parseTransparentBinsL225: const =>
parseTransparentSortModeL314: function
updateOverlayL319: function
updateRealtimeOverlayL362: function
updateToastL396: function
updateInfoOverlayTimeL409: function
updateInfoOverlayFastL491: function
updateInfoOverlayCardL615: function
updatePanelsL656: function
applySnapshotL750: function
scheduleUiUpdateL1025: function
deriveJointDofsL1085: function
deriveEqualityListL1377: function
assertUiPanelL1384: function
assertPluginSectionIdL1396: function
uiPanelRootL1401: function
uiPanelCoreMountL1406: function
uiPanelAfterFileMountL1410: function
createUiApiL1866: function
loadPlayPluginsL1945: function
resizeCanvasL1955: function
queueResizeCanvas
Nested declarations:
L270: property =>
setRenderStatsL337: const =>
formatPercentSpeedL343: const =>
formatPercentPhysicsL461: const =>
solverTextL479: const =>
fwdinvTextL498: const =>
addRowL521: const =>
getFieldElL531: const =>
cpuMsL754: const =>
tickL998: property =>
onGestureL1015: property =>
getSnapshotL1196: const =>
togglePanelsWithTabL1325: const =>
adjustRealtimeL1411: const =>
panelApiL1416: property =>
collapseAllL1417: property =>
expandAllL1418: property =>
toggleAllL1422: const =>
registerSectionL1533: property =>
setCollapsedL1534: property =>
collapseL1535: property =>
expandL1536: property =>
toggleL1537: property =>
disposeL1562: property =>
namedRowL1575: property =>
fullRowL1584: property =>
buttonL1597: property =>
textboxL1634: property =>
selectL1681: property =>
rangeL1697: property =>
segmentedL1741: property =>
valueL1745: property =>
setValueL1754: property =>
codeboxL1761: property =>
boolButtonL1793: property =>
unregisterL1800: property =>
getL1801: property =>
listL1810: property =>
getBindingL1811: property =>
listIdsL1812: property =>
toggleControlL1813: property =>
getControlL1814: property =>
loadXmlTextAsModelL1817: property =>
getStatsL1818: property =>
getContextL1819: property =>
ensureLoopL1820: property =>
renderSceneL1821: property =>
getOverlay3DL1823: property =>
getL1824: property =>
createScopeL1828: property =>
getScopeL1848: property =>
getSnapshotL1851: property =>
onUiTickL1852: property =>
onUiMainTickL1854: property =>
onUiControlsTickL1855: property =>
onUiSlowTickL1856: property =>
onSnapshotL1857: property =>
onFrame
Heuristic class members: none
app/play_host.mjs
Lines: 66
Exports:
L15: export function
createPlayHost
File-scope declarations:
L5: function
freezeIfObjectL15: function
createPlayHost
Nested declarations:
L46: property =>
getCapability
Heuristic class members: none
core/
core/fallbacks.mjs
Lines: 27
Exports:
L13: export function
compatFallback
File-scope declarations:
L13: function
compatFallback
Nested declarations: none
Heuristic class members: none
core/viewer_defaults.mjs
Lines: 33
Exports:
L15: export const
MJ_GROUP_TYPESL16: export const
MJ_GROUP_COUNTL18: export const
SCENE_FLAG_DEFAULTSL20: export const
DEFAULT_VOPT_FLAGSL22: export const
SCENE_FLAG_DEFAULTS_NUMERICL25: export const
DEFAULT_VOPT_FLAGS_NUMERICL29: export const
REALTIME_LEVELSL31: export const
DEFAULT_REALTIME_INDEX
File-scope declarations:
L5: function
makeFlagArray
Nested declarations: none
Heuristic class members: none
core/viewer_runtime.mjs
Lines: 567
Exports:
L4: export function
isVerboseDebugL31: export function
logStatusL43: export function
logWarnL51: export function
logErrorL59: export function
logDebugL75: export function
isPerfEnabledL81: export function
perfNowL102: export function
perfMarkL116: export function
perfMarkOnceL124: export function
perfSampleL142: export function
perfClearSamplesL190: export function
perfSummaryL249: export function
getParamTokenL254: export function
readBooleanL265: export function
readTruthyFlagL269: export function
readListParamL278: export function
readIndexSetL285: export function
readNumericParamL300: export function
consumeViewerParamsL328: export
viewerSearchParamsL330: export function
buildWorkerUrlL348: export function
normalizeVerL353: export function
getForgeDistBaseL381: export function
getVersionInfoL394: export function
withCacheTagL416: export function
isStrictEnabledL427: export function
isCompatEnabledL495: export function
strictFallbackL504: export function
strictOverrideL515: export function
strictEnsureL524: export function
strictCatchL534: export function
getStrictReportL546: export function
clearStrictReport
File-scope declarations:
L4: function
isVerboseDebugL23: function
isWorkerContextL27: function
postWorkerLogL31: function
logStatusL43: function
logWarnL51: function
logErrorL59: function
logDebugL75: function
isPerfEnabledL81: function
perfNowL86: function
ensurePerfStateL102: function
perfMarkL116: function
perfMarkOnceL124: function
perfSampleL142: function
perfClearSamplesL151: function
quantileL162: function
summarizeValuesL182: function
phaseMsL190: function
perfSummaryL234: const =>
viewerSearchParamsL247: const =>
normaliseKeyL249: function
getParamTokenL254: function
readBooleanL265: function
readTruthyFlagL269: function
readListParamL278: function
readIndexSetL285: function
readNumericParamL300: function
consumeViewerParamsL330: function
buildWorkerUrlL348: function
normalizeVerL353: function
getForgeDistBaseL368: function
resolveForgeDistBaseOverrideL381: function
getVersionInfoL394: function
withCacheTagL409: function
resolveStrictFlagL416: function
isStrictEnabledL420: function
resolveCompatFlagL427: function
isCompatEnabledL431: function
ensureStrictStateL461: function
recordStrictEventL495: function
strictFallbackL504: function
strictOverrideL515: function
strictEnsureL524: function
strictCatchL534: function
getStrictReportL546: function
clearStrictReport
Nested declarations: none
Heuristic class members: none
core/viewer_state_types.ts
Lines: 389
Exports:
L378: export
DEFAULT_VIEWER_STATEL378: export
createViewerStoreL378: export
applySpecActionL378: export
applyGestureL378: export
createBackendL378: export
readControlValueL378: export
cameraLabelFromIndexL378: export
mergeBackendSnapshotL378: export
switchVisualSourceModeL378: export
} from './state.mjs'
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
core/viewer_structs.mjs
Lines: 1030
Exports:
L109: export function
setStructPathL148: export function
writeStructFieldL185: export function
readStructSnapshotL215: export const
OPTION_LAYOUTL414: export function
writeOptionFieldL434: export function
readOptionStructL465: export function
detectOptionSupportL476: export const
VISUAL_FIELD_DESCRIPTORSL983: export function
writeVisualFieldL987: export function
readVisualStructL991: export const
STAT_FIELD_DESCRIPTORSL1022: export function
writeStatisticFieldL1026: export function
readStatisticStruct
File-scope declarations:
L6: function
pointerNameL13: function
getFieldPtrL26: function
resolveHeapBufferL54: function
writeTypedL80: function
readTypedL96: function
toArrayValueL109: function
setStructPathL138: function
selectArrayConfigL148: function
writeStructFieldL176: function
normaliseReadValueL185: function
readStructSnapshotL361: function
resolveOptionHeapBufferL365: function
getOptionFieldPtrL379: function
writeArrayL399: function
readArrayL414: function
writeOptionFieldL434: function
readOptionStructL465: function
detectOptionSupportL983: function
writeVisualFieldL987: function
readVisualStructL1022: function
writeStatisticFieldL1026: function
readStatisticStruct
Nested declarations: none
Heuristic class members: none
core/xml_refs.mjs
Lines: 457
Exports:
L89: export function
parseMuJoCoDirectFileRefsL146: export function
normaliseMuJoCoVirtualPathL152: export function
joinMuJoCoRelativePathL179: export function
buildMuJoCoBundle
File-scope declarations:
L6: function
normaliseSlashesL10: function
trimTrailingSlashL15: function
normalisePosixPathL37: function
parseXmlOrThrowL50: function
readCompilerDirsL73: function
isInlineDataPathL78: function
isRemotePathL83: function
shouldTreatAsAbsolutePathL89: function
parseMuJoCoDirectFileRefsL146: function
normaliseMuJoCoVirtualPathL152: function
joinMuJoCoRelativePathL160: function
decodeTextFromArrayBufferL168: function
dirnamePosixL175: function
isOutsideRootL179: function
buildMuJoCoBundle
Nested declarations:
L52: const =>
readL57: const =>
readBoolL94: const =>
addRefL199: function
basenamePosixL206: function
ensureFileBufferForCandidatesL236: function
resolveCompilerDirL258: function
resolveCompilerStateL293: function
resolveRefCandidatesL312: const =>
primaryBaseL415: const =>
formatSample
Heuristic class members: none
environment/
environment/environment.mjs
Lines: 1362
Exports:
L1355: export
FALLBACK_PRESET_ALIASESL1355: export
DEFAULT_ENV_ASSET_BASE_URLL1355: export
createEnvironmentManagerL1355: export
getFallbackPresetL1355: export
pushSkyDebugL1355: export
resolveEnvironmentAssetBaseL1355: export
resolveEnvironmentAssetUrl
File-scope declarations:
L11: const
DEFAULT_ENV_ASSET_BASE_URLL19: function
getWorldSceneL133: function
ensureSkyCacheL147: function
hasModelEnvironmentL155: function
hasModelLightsL160: function
hasModelBackgroundL166: function
pushSkyDebugL179: function
detachEnvironmentL192: function
ensureModelGradientEnvL242: function
readSkyboxTextureFromAssetsL324: function
createCubeTextureFromSkyboxL395: function
ensureModelSkyFromAssetsL561: function
disposeEnvResourcesL582: function
createVerticalGradientTextureL611: function
colorL1L618: function
computeRowVarianceL650: function
sampleFaceBandL679: function
extractMjSkyPaletteL706: function
classifySkyboxTextureL748: function
createSkyShaderMaterialL826: function
ensureSkyDomeL842: function
updateSkyDomeL881: function
buildSkyBackgroundL887: function
createEnvironmentManager
Nested declarations:
L688: const =>
toColorL893: function
syncRendererClearColorL903: function
ensureOutdoorSkyEnvL973: const =>
tryLoadHDRIL1142: function
applyFallbackAppearanceL1210: function
ensureEnvIfNeeded
Heuristic class members: none
backend/
backend/backend_core.mjs
Lines: 1783
Exports:
L18: export function
createBackend
File-scope declarations:
L18: function
createBackend
Nested declarations:
L39: const =>
normaliseIntL43: const =>
sampleIfFiniteL77: function
resetAdaptiveSnapshotStateL86: function
ewmaL92: function
postSnapshotHzIfChangedL109: function
maybeUpdateAdaptiveSnapshotHzL170: function
applySimulateMaskBindingL203: function
spawnWorkerBackendL208: function
collectLoadTransfersL222: function
requestWorkerStrictReportL238: function
loadDefaultXmlL299: function
notifyListenersL331: function
detachClientL338: function
restartWorkerWithLoadPayloadL390: function
restartWorkerWithXmlL395: function
formatCopyNumberL404: function
buildCopyKeyXmlFromPayloadL431: const =>
formatL456: function
writeCopyKeyToClipboardL471: function
applyOptionSnapshotL504: function
setRunStateL517: function
setRateL529: function
loadXmlTextL535: function
loadXmlBundleL544: function
applyVisualStatePayloadL581: function
updateGeometryCachesL582: const =>
makeViewL596: const =>
makeViewOrNullL610: property =>
strict_reportL618: property =>
run_stateL625: property =>
readyL715: property =>
latency_probeL727: property =>
struct_stateL737: property =>
meta_camerasL747: property =>
meta_geomsL751: property =>
selectionL768: property =>
meta_jointsL769: const =>
toI32L796: const =>
jrangeL814: property =>
metaL832: property =>
snapshotL1067: property =>
keyframesL1071: property =>
historyL1075: property =>
watchL1083: property =>
render_assetsL1106: property =>
gestureL1122: property =>
alignL1137: property =>
copyStateL1164: property =>
optionsL1168: property =>
logL1171: property =>
errorL1183: function
handleMessageL1368: property =>
handleL1387: property =>
handleL1404: property =>
handleL1419: property =>
handleL1434: function
dispatchBindingL1459: function
applyL1594: function
snapshotL1598: function
subscribeL1604: function
stepL1647: function
setCameraIndexL1651: const =>
toVec3L1662: function
applyPerturbCommandL1715: function
setSelectionCommandL1730: function
selectAtCommandL1749: function
disposeL1771: property =>
getStrictReportL1775: property =>
getInitialModelInfoL1776: property =>
getBuiltinModels
Heuristic class members: none
backend/model_candidates.mjs
Lines: 50
Exports:
L13: export const
MODEL_POOLL21: export function
resolveModelFileNameL34: export function
buildModelCandidates
File-scope declarations:
L21: function
resolveModelFileNameL34: function
buildModelCandidates
Nested declarations:
L37: const =>
pushCandidate
Heuristic class members: none
backend/snapshot_utils.mjs
Lines: 350
Exports:
L19: export function
applyViewFieldsL30: export function
applyHistoryPayloadL41: export function
applyKeyframesPayloadL75: export function
applyWatchPayloadL109: export function
createInitialSnapshotL156: export function
resolveSnapshot
File-scope declarations:
L19: function
applyViewFieldsL30: function
applyHistoryPayloadL41: function
applyKeyframesPayloadL75: function
applyWatchPayloadL109: function
createInitialSnapshotL156: function
resolveSnapshot
Nested declarations:
L157: const =>
viewOrNullL221: property =>
sceneFlags
Heuristic class members: none
bridge/
bridge/heap_views.mjs
Lines: 167
Exports:
L5: export function
resolveHeapBufferL111: export function
computeMeshElementCountsL142: export function
heapViewF64L145: export function
heapViewF32L148: export function
heapViewI32L151: export function
heapViewU8L154: export function
readCString
File-scope declarations:
L5: function
resolveHeapBufferL40: function
ensureHeapViewCacheL56: function
createHeapTypedArrayL111: function
computeMeshElementCountsL142: function
heapViewF64L145: function
heapViewF32L148: function
heapViewI32L151: function
heapViewU8L154: function
readCString
Nested declarations:
L121: const =>
safeMax
Heuristic class members: none
bridge/mj_sim_lite.mjs
Lines: 1247
Exports:
L22: export class
MjSimLite
File-scope declarations:
L7: function
tagForgeModuleL22: class
MjSimLite
Nested declarations:
L309: const =>
callL643: property =>
releaseL703: const =>
readScalar
Heuristic class members:
L23: method
MjSimLite#constructorL46: method
MjSimLite#strictCatchL51: method (async)
MjSimLite#maybeInstallShimFromQueryL56: method
MjSimLite#_cstrL60: method
MjSimLite#_mkdirTreeL76: method
MjSimLite#strictCatchL101: method
MjSimLite#_tryHelperMakeFromXmlL169: method
MjSimLite#_validateHandleOrThrowL191: method
MjSimLite#initFromXmlStrictL228: method
MjSimLite#strictCatchL257: method
MjSimLite#logErrorL266: method
MjSimLite#_invalidateCachesL278: method
MjSimLite#strictCatchL282: method
MjSimLite#_ensurePtrCacheL293: method
MjSimLite#_cachedPtrL304: method
MjSimLite#_ensureCountCacheL340: method
MjSimLite#ensurePointersL362: method
MjSimLite#nqL363: method
MjSimLite#nvL364: method
MjSimLite#nuL365: method
MjSimLite#njntL366: method
MjSimLite#ncamL367: method
MjSimLite#nlightL368: method
MjSimLite#nsiteL369: method
MjSimLite#nflexL370: method
MjSimLite#nflexvertL371: method
MjSimLite#ntendonL372: method
MjSimLite#nwrapL373: method
MjSimLite#nsensorL374: method
MjSimLite#nsensordataL375: method
MjSimLite#neqL378: method
MjSimLite#qposViewL383: method
MjSimLite#qvelViewL388: method
MjSimLite#ctrlViewL393: method
MjSimLite#actuatorCtrlRangeViewL394: method
MjSimLite#jntQposAdrViewL395: method
MjSimLite#jntRangeViewL396: method
MjSimLite#jntTypeViewL397: method
MjSimLite#jntNameOfL400: method
MjSimLite#jntPosViewL401: method
MjSimLite#jntAxisViewL402: method
MjSimLite#jntBodyIdViewL403: method
MjSimLite#actuatorTrnidViewL404: method
MjSimLite#actuatorTrntypeViewL405: method
MjSimLite#actuatorCranklengthViewL406: method
MjSimLite#siteXposViewL407: method
MjSimLite#siteXmatViewL408: method
MjSimLite#tenWrapAdrViewL409: method
MjSimLite#tenWrapNumViewL410: method
MjSimLite#wrapObjViewL411: method
MjSimLite#wrapXposViewL412: method
MjSimLite#flexvertXposViewL413: method
MjSimLite#sensorTypeViewL414: method
MjSimLite#sensorObjIdViewL415: method
MjSimLite#eqTypeViewL416: method
MjSimLite#eqObj1IdViewL417: method
MjSimLite#eqObj2IdViewL418: method
MjSimLite#eqObjTypeViewL419: method
MjSimLite#eqDataViewL420: method
MjSimLite#eqActiveViewL421: method
MjSimLite#eqActive0ViewL422: method
MjSimLite#id2nameL423: method
MjSimLite#camXposViewL424: method
MjSimLite#camXmatViewL425: method
MjSimLite#lightXposViewL426: method
MjSimLite#lightXdirViewL427: method
MjSimLite#stateSizeL435: method
MjSimLite#captureStateL454: method
MjSimLite#applyStateL478: method
MjSimLite#nkeyL482: method
MjSimLite#setKeyframeL491: method
MjSimLite#resetKeyframeL502: method
MjSimLite#forwardL511: method
MjSimLite#setQposL512: method
MjSimLite#setCtrlL524: method
MjSimLite#stepL540: method
MjSimLite#timestepL549: method
MjSimLite#timeL559: method
MjSimLite#_readPtrL564: method
MjSimLite#_readModelPtrL565: method
MjSimLite#_readDataPtrL567: method
MjSimLite#_withStackL600: method
MjSimLite#_ensureContactForceScratchL612: method
MjSimLite#_acquireContactForceScratchL651: method
MjSimLite#_freeContactForceScratchL661: method
MjSimLite#_nameFromAdrL680: method
MjSimLite#pointerDiagnosticsL699: method
MjSimLite#strictCatchL715: method
MjSimLite#ngeomL716: method
MjSimLite#nbodyL717: method
MjSimLite#bodyJntAdrViewL718: method
MjSimLite#bodyJntNumViewL719: method
MjSimLite#bodyParentIdViewL721: method
MjSimLite#geomXposViewL722: method
MjSimLite#geomXmatViewL723: method
MjSimLite#bodyXposViewL724: method
MjSimLite#bodyXmatViewL725: method
MjSimLite#bodyXiposViewL733: method
MjSimLite#bodyXimatViewL741: method
MjSimLite#xanchorViewL749: method
MjSimLite#dofIslandViewL757: method
MjSimLite#nislandL763: method
MjSimLite#nbvhL767: method
MjSimLite#nbvhdynamicL771: method
MjSimLite#bvhActiveViewL779: method
MjSimLite#bvhAabbDynViewL787: method
MjSimLite#bodyCvelViewL788: method
MjSimLite#bodyXquatViewL796: method
MjSimLite#quat2VelL819: method
MjSimLite#strictCatchL831: method
MjSimLite#bodyInertiaScalarL853: method
MjSimLite#bodyWorldVelocityL862: method
MjSimLite#strictCatchL879: method
MjSimLite#strictCatchL889: method
MjSimLite#bodyLocalMassAtPointL900: method
MjSimLite#strictCatchL943: method
MjSimLite#strictCatchL965: method
MjSimLite#geomSizeViewL966: method
MjSimLite#geomTypeViewL967: method
MjSimLite#geomMatIdViewL968: method
MjSimLite#geomDataidViewL969: method
MjSimLite#geomBodyIdViewL971: method
MjSimLite#sceneUpdateAndPackL972: method
MjSimLite#sceneNgeomL973: method
MjSimLite#sceneGeomOrderViewL974: method
MjSimLite#sceneGeomCamDistViewL975: method
MjSimLite#sceneGeomTypeViewL976: method
MjSimLite#sceneGeomPosViewL977: method
MjSimLite#sceneGeomMatViewL978: method
MjSimLite#sceneGeomSizeViewL979: method
MjSimLite#sceneGeomRgbaViewL980: method
MjSimLite#sceneGeomMatIdViewL981: method
MjSimLite#sceneGeomDataIdViewL982: method
MjSimLite#sceneGeomObjTypeViewL983: method
MjSimLite#sceneGeomObjIdViewL984: method
MjSimLite#sceneGeomCategoryViewL985: method
MjSimLite#sceneGeomSegIdViewL986: method
MjSimLite#sceneGeomTransparentViewL987: method
MjSimLite#sceneGeomLabelViewL989: method
MjSimLite#voptFlagsPtrViewL990: method
MjSimLite#voptLabelPtrViewL991: method
MjSimLite#voptFramePtrViewL992: method
MjSimLite#voptFlexLayerPtrViewL993: method
MjSimLite#voptBvhDepthPtrViewL994: method
MjSimLite#voptGeomGroupViewL995: method
MjSimLite#voptSiteGroupViewL996: method
MjSimLite#voptTendonGroupViewL997: method
MjSimLite#voptJointGroupViewL998: method
MjSimLite#voptActuatorGroupViewL999: method
MjSimLite#voptFlexGroupViewL1000: method
MjSimLite#voptSkinGroupViewL1003: method
MjSimLite#scenePtrL1004: method
MjSimLite#camTypePtrViewL1005: method
MjSimLite#camLookatPtrViewL1006: method
MjSimLite#camDistancePtrViewL1007: method
MjSimLite#camAzimuthPtrViewL1008: method
MjSimLite#camElevationPtrViewL1009: method
MjSimLite#camOrthographicPtrViewL1010: method
MjSimLite#camFixedcamidPtrViewL1011: method
MjSimLite#camTrackbodyidPtrViewL1013: method
MjSimLite#pertPtrL1014: method
MjSimLite#pertSelectPtrViewL1015: method
MjSimLite#pertActivePtrViewL1016: method
MjSimLite#pertActive2PtrViewL1017: method
MjSimLite#pertLocalposPtrViewL1018: method
MjSimLite#pertScalePtrViewL1019: method
MjSimLite#pertFlexselectPtrViewL1020: method
MjSimLite#pertSkinselectPtrViewL1021: method
MjSimLite#nmatL1022: method
MjSimLite#matRgbaViewL1023: method
MjSimLite#nmeshL1024: method
MjSimLite#meshVertAdrViewL1025: method
MjSimLite#meshVertNumViewL1026: method
MjSimLite#meshFaceAdrViewL1027: method
MjSimLite#meshFaceNumViewL1028: method
MjSimLite#meshVertViewL1047: method
MjSimLite#meshNormalViewL1066: method
MjSimLite#meshFaceViewL1085: method
MjSimLite#meshTexcoordViewL1104: method
MjSimLite#meshTexcoordAdrViewL1105: method
MjSimLite#meshTexcoordNumViewL1106: method
MjSimLite#collectRenderAssetsL1111: method
MjSimLite#nconL1112: method
MjSimLite#_contactFieldViewL1134: method
MjSimLite#contactPosViewL1135: method
MjSimLite#contactFrameViewL1136: method
MjSimLite#contactGeom1ViewL1137: method
MjSimLite#contactGeom2ViewL1138: method
MjSimLite#contactDistViewL1139: method
MjSimLite#contactFrictionViewL1140: method
MjSimLite#contactForceBufferL1166: method
MjSimLite#actuatorNameOfL1170: method
MjSimLite#cameraNameOfL1173: method
MjSimLite#geomNameOfL1178: method
MjSimLite#applyXfrcByGeomL1200: method
MjSimLite#applyXfrcByBodyL1217: method
MjSimLite#clearAllXfrcL1218: method
MjSimLite#resetL1229: method
MjSimLite#term
bridge/render_assets_collect.mjs
Lines: 746
Exports:
L33: export function
collectRenderAssetsFromModule
File-scope declarations:
L6: function
cloneTypedL27: function
readViewL33: function
collectRenderAssetsFromModule
Nested declarations:
L52: const =>
ensureFunc
Heuristic class members: none
renderer/
renderer/controllers.mjs
Lines: 957
Exports:
L953: export
createCameraControllerL953: export
createPickingController
File-scope declarations:
L10: function
createCameraControllerL424: function
defaultSelectionL447: function
createPickingController
Nested declarations:
L60: const =>
cameraModeIndexL69: const =>
isInteractiveCameraL71: function
currentCtrlL75: function
currentShiftL79: function
resolveGestureModeL86: function
pointerButtonsL103: function
computeMinDistanceL114: function
computeWheelReldyL119: function
buildCameraPayloadIfNeededL145: function
applyCameraGestureL249: function
handlePointerDownL276: function
handlePointerMoveL305: function
handlePointerUpL329: function
handleWheelL359: function
handleKeyL369: function
installL374: const =>
onPointerDownL375: const =>
onPointerMoveL376: const =>
onPointerUpL377: const =>
onWheelL378: const =>
onContextMenuL381: const =>
onKeyDownL382: const =>
onKeyUpL407: function
disposeL419: property =>
getModifierStateL484: function
hasSelectionL489: function
currentSelectionL493: function
selectionSeqL497: function
clearSelectionL511: function
showToastL519: function
updateSelectionL555: function
getMeshListL575: function
projectPointerL584: function
resolveGeomMeshL595: function
geomNameForL605: function
bodyIdForL616: function
jointIdForL631: function
applySelectionFromPickL651: function
resolveDragModeL657: function
selectionAsBodyL663: function
updateAnchorFromSelectionL680: function
setAnchorLocalFromWorldL716: function
resolvePickL762: function
selectionFromPickL770: function
beginPerturbL789: function
movePerturbL808: function
endPerturbL818: function
onClickL823: function
onDoubleClickL842: function
onPointerMoveL847: function
onPointerDragStartL867: function
onPointerDragEndL880: function
installL881: const =>
onPointerDownEvtL890: const =>
onPointerUpEvtL897: const =>
onPointerMoveEvtL904: const =>
onContextMenuL930: function
dispose
Heuristic class members: none
renderer/deformables.mjs
Lines: 998
Exports:
L986: export
ensureFlexGroupL986: export
hideFlexGroupL986: export
ensureFlexEntryL986: export
applyFlexAppearanceL986: export
updateFlexFacesL986: export
ensureSkinGroupL986: export
hideSkinGroupL986: export
ensureSkinEntryL986: export
applySkinAppearanceL986: export
updateSkinMesh
File-scope declarations:
L9: function
clampUnitL15: function
applyAppearanceToMaterialL48: function
resolveIndexedRgbaAppearanceL74: function
resolveFlexAppearanceL78: function
resolveSkinAppearanceL82: function
ensureFlexGroupL95: function
hideFlexGroupL106: function
ensureFlexEntryL216: function
applyFlexAppearanceL231: function
normalize3InvL237: function
flexMakeFaceL266: function
flexAddNormalL282: function
flexMakeSmoothL320: function
flexMakeSideL349: function
fillFlexFaceTexcoordsL374: function
updateFlexFacesL687: function
ensureSkinGroupL700: function
hideSkinGroupL711: function
ensureSkinEntryL804: function
applySkinAppearanceL815: function
quatToMat3L840: function
updateSkinMesh
Nested declarations:
L352: const =>
writeUVL382: const =>
ensureAttribute
Heuristic class members: none
renderer/depth_sort.mjs
Lines: 39
Exports:
L33: export
depthFromSoAPosL33: export
transparentBinFromDepthNormL33: export
transparentDepthNorm01
File-scope declarations:
L3: function
depthFromSoAPosL21: function
transparentDepthNorm01L26: function
transparentBinFromDepthNorm
Nested declarations: none
Heuristic class members: none
renderer/geom_names.mjs
Lines: 31
Exports:
L15: export function
getOrCreateGeomNameLookupL27: export function
geomNameFromLookup
File-scope declarations:
L3: function
createGeomNameLookupL15: function
getOrCreateGeomNameLookupL27: function
geomNameFromLookup
Nested declarations: none
Heuristic class members: none
renderer/mujoco_constants.mjs
Lines: 110
Exports:
L3: export const
MJ_GEOML26: export const
MJ_VISL60: export const
MJ_OBJL92: export const
MJ_LIGHT_TYPEL99: export const
MJ_MAXLIGHTL103: export const
MJ_MAXPLANEGRIDL105: export const
MJ_MINVALL106: export const
MJ_TEXTURE
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
renderer/mujoco_shadows.mjs
Lines: 75
Exports:
L25: export function
installMuJoCoShadowViewportInsetL64: export function
onBeforeShadowMuJoCo
File-scope declarations:
L25: function
installMuJoCoShadowViewportInsetL64: function
onBeforeShadowMuJoCo
Nested declarations: none
Heuristic class members: none
renderer/mujoco_textures.mjs
Lines: 650
Exports:
L644: export
resolveMaterialTextureDescriptorL644: export
quantize1e6L644: export
quantize1e3L644: export
applyMuJoCoTextureToMesh
File-scope declarations:
L7: function
resolveMaterialTextureDescriptorL53: function
getMuJoCoTextureCacheL60: function
createMuJoCoDataTextureL129: function
applyMuJoCoTextureColorspaceL140: function
createMuJoCoCubeTextureL180: function
getOrCreateMuJoCoTextureL233: function
getOrCreateMuJoCoCubeTextureL268: function
resolveMuJoCoTextureTypeL275: function
quantize1e6L281: function
quantize1e3L287: function
resolveMuJoCoTexcoordScale3L314: function
ensureMuJoCo2DGeneratedTexcoordsL430: function
ensureMuJoCoCubeAlbedoHooksL471: function
applyMuJoCoCubeAlbedoL492: function
applyMuJoCoTextureToMesh
Nested declarations:
L107: const =>
isPow2
Heuristic class members: none
renderer/overlay3d.mjs
Lines: 1117
Exports:
L1113: export
disposeOverlay3DL1113: export
ensureOverlay3D
File-scope declarations:
L13: class
RefCountedAssetRegistryL87: function
ensureOverlay3DL1100: function
disposeOverlay3D
Nested declarations:
L37: const =>
releaseL189: property =>
acquireL194: property =>
geometryPrimitiveL219: property =>
texture2DFromUrlL246: const =>
addObject3DL329: const =>
resolveTransparencyL382: const =>
wantsFrameSortL387: const =>
updateFrameRegistrationL418: const =>
updateBoundingSphereL466: const =>
syncToGpuL651: const =>
flushCommitL670: const =>
commitL676: const =>
onFrameL684: const =>
setTransparencyL718: const =>
disposeL795: const =>
flushCommitL810: const =>
commitL817: const =>
disposeL876: const =>
flushCommitL891: const =>
commitL898: const =>
disposeL946: const =>
disposeL978: property =>
dispose
Heuristic class members:
L14: method
RefCountedAssetRegistry#constructorL20: method
RefCountedAssetRegistry#acquireL49: method
RefCountedAssetRegistry#strictCatchL63: method
RefCountedAssetRegistry#disposeAllL70: method
RefCountedAssetRegistry#strictCatchL77: method
RefCountedAssetRegistry#stats
renderer/pipeline.mjs
Lines: 3686
Exports:
L363: export function
resolveTrackingBodyIdL380: export function
buildViewerCameraPayloadL1114: export function
normalizeDeltaByViewportHeightL3683: export
createRendererManager
File-scope declarations:
L94: function
mjuRoundL106: function
applySkyboxVisibilityL168: function
setQuatFromMat3L203: function
computeGeomRadiusL225: function
clampUnitL232: function
parseVectorLikeL253: function
rgbFromArrayL265: function
computeSceneExtentL273: function
resolveFogConfigL307: function
resolveHazeConfigL331: function
applySceneFogL351: function
ensureCameraTargetL363: function
resolveTrackingBodyIdL380: function
buildViewerCameraPayloadL410: function
sendViewerCameraSyncL429: function
ensureFreeCameraPoseL445: function
cacheTrackingPoseFromCurrentL460: function
rememberFreeCameraPoseL472: function
restoreFreeCameraPoseL488: function
applyTrackingCameraL573: function
ensureMjLightRigL597: function
removeMjLightSlotL603: function
createMjLightSlotL630: function
ensureMjLightSlotL642: function
disableMjLightSlotL649: function
updateMjLightRigL947: function
applyFixedCameraPresetL995: function
applyViewerCameraSnapshotL1042: function
computeBoundsFromSceneSoAL1104: function
scaleAllFactorL1110: function
voptEnabledL1114: function
normalizeDeltaByViewportHeightL1121: function
meanSizeFromStateL1135: function
computeScenePolicyL1161: function
disposeLabelTextureCacheL1174: function
getLabelTextureL1235: function
createLabelSpriteL1252: function
ensureLabelGroupL1264: function
hideLabelGroupL1275: function
updateSceneLabelOverlaysL1347: function
updateInfinitePlaneFromSceneSoAL1488: function
getDefaultVoptL1496: function
applyMjvSceneSoAGeomsL2783: function
createRendererManager
Nested declarations:
L112: const =>
setSolidBackgroundL527: function
syncCameraPoseFromModeL1099: function
overlayScaleL1129: function
computeMeanScaleL1601: const =>
isBodyStaticL1864: const =>
safeHideL1872: const =>
ensureGeomProxyL1906: const =>
fillSizeVecL1932: const =>
updateOneL2823: function
requestRenderSceneL2829: function
onFrameL2842: function
updateRendererViewportL2863: function
ensureRenderLoopL2869: const =>
stepL2940: const =>
visHandlerL2956: function
initRendererL3075: const =>
resizeListenerL3083: function
renderSceneL3261: const =>
trackingOverrideL3533: function
setupL3538: function
getContextL3542: function
getOverlay3DL3548: function
disposeL3612: const =>
disposeResourceL3674: property =>
updateViewport
Heuristic class members: none
renderer/scene_soa_geoms.mjs
Lines: 1865
Exports:
L1831: export
GROUND_DISTANCEL1831: export
RENDER_ORDERL1831: export
TRANSPARENT_BIN_CAM_POSL1831: export
TRANSPARENT_BIN_CAM_DIRL1831: export
SEGMENT_FLAG_INDEXL1831: export
isInfinitePlaneSizeL1831: export
isDynamicSizeScaleGeomTypeL1831: export
applyDynamicSizeScaleL1831: export
disposeInstancingL1831: export
syncRendererAssetsL1831: export
ensureInstancingRootL1831: export
ensureInstancedGeometryL1831: export
instancingEnabledFromStateL1831: export
transparentBinsFromStateL1831: export
transparentSortModeFromStateL1831: export
ensureInstancedMaterialL1831: export
ensureInstancedBatchL1831: export
sortInstancedBatchByOrderRankL1831: export
resolveGeomWorldMatrixL1831: export
resolveGeomWorldPoseL1831: export
segmentColorForIndexL1831: export
restoreSegmentMaterialL1831: export
ensureSegmentMaterialL1831: export
applyMaterialFlagsL1831: export
resolveMaterialReflectanceL1831: export
resolveMaterialMetallicL1831: export
resolveMaterialRoughnessL1831: export
resolveMaterialEmissionL1831: export
applyReflectanceToMaterialL1831: export
ensureGeomMeshL1831: export
ensureGeomStateL1831: export
setGeomViewProps
File-scope declarations:
L11: function
createInfiniteGroundHelperL188: function
isInfinitePlaneSizeL195: function
applyGeomMetadataL261: function
createPrimitiveGeometryL417: function
isDynamicSizeScaleGeomTypeL433: function
safeScaleRatioL440: function
ensureGeomBuiltSizesL508: function
applyDynamicSizeScaleL577: function
createMeshGeometryFromAssetsL855: function
disposeInstancingL895: class
MaterialPoolL937: function
syncRendererAssetsL992: function
ensureInstancingRootL1027: function
ensureInstancedGeometryL1062: function
instancingEnabledFromStateL1066: function
transparentBinsFromStateL1072: function
transparentSortModeFromStateL1078: function
ensureInstancedMaterialL1137: function
ensureInstancedBatchL1215: function
sortInstancedBatchByOrderRankL1313: function
resolveGeomWorldMatrixL1338: function
resolveGeomWorldPoseL1345: function
getSharedMeshGeometryL1369: function
segmentColorForIndexL1375: function
restoreSegmentMaterialL1385: function
ensureSegmentMaterialL1406: function
applyMaterialFlagsL1412: function
clampUnitL1419: function
resolveMaterialScalarL1427: function
resolveMaterialReflectanceL1433: function
resolveMaterialMetallicL1438: function
resolveMaterialRoughnessL1443: function
resolveMaterialEmissionL1449: function
applyReflectanceToMaterialL1483: function
ensureGeomMeshL1671: function
ensureGeomStateL1761: function
setGeomViewProps
Nested declarations: none
Heuristic class members:
L896: method
MaterialPool#constructorL900: method
MaterialPool#_keyL929: method
MaterialPool#disposeAll
renderer/three_helpers.mjs
Lines: 161
Exports:
L154: export
computeGeometryBoundsL154: export
disposeMeshObjectL154: export
disposeObject3DTreeL154: export
getWorldSceneL154: export
renderWorldScene
File-scope declarations:
L6: function
getWorldSceneL13: function
renderWorldSceneL33: function
computeGeometryBoundsL38: function
disposeMeshObjectL111: function
disposeObject3DTree
Nested declarations: none
Heuristic class members: none
ui/
ui/bindings.mjs
Lines: 343
Exports:
L36: export function
resolveBindingSpecL144: export function
getControlBindingSpecL159: export function
parseVectorL186: export function
toBooleanL239: export function
normaliseControlInputL291: export function
prepareBindingUpdate
File-scope declarations:
L12: function
ensureBindingIndexL36: function
resolveBindingSpecL144: function
getControlBindingSpecL154: function
parseNumberL159: function
parseVectorL186: function
toBooleanL200: function
normaliseEnumValueL218: function
normaliseValueByKindL239: function
normaliseControlInputL291: function
prepareBindingUpdate
Nested declarations: none
Heuristic class members: none
ui/control_manager.mjs
Lines: 2461
Exports:
L2460: export
createControlManager
File-scope declarations:
L12: function
createControlManagerL151: function
formatNumberL161: function
formatNumberTrimmedL169: function
attachCommitHandlersL185: function
attachOptionAvailabilityL193: function
appendUpdateOptionsL206: function
pushToastL309: function
normaliseToRangeL322: function
denormaliseFromRangeL340: function
resolveCameraModeEntriesL365: function
getCameraModeCountL375: function
syncCameraSelectOptionsL408: function
resolveTrackingGeomEntriesL430: function
syncTrackingGeomSelectOptionsL465: function
resolveResetValueL481: function
normaliseShortcutSpecL505: function
canonicalShortcutL537: function
normaliseKeyTokenL551: function
shortcutFromEvent
Nested declarations:
L35: function
renderFileSectionExtrasL41: function
applyThemeFromColorControlL52: function
applySpacingFromControlL66: function
applyFontFromControlL110: function
sanitiseNameL120: function
normaliseOptionsL129: const =>
getOptionSupportL132: function
isOptionBindingL136: function
applyOptionAvailabilityL217: function
elementIsEditableL230: function
hasEditableFocusL253: function
parseRangeL483: const =>
addComboL580: function
registerShortcutHandlersL589: function
registerGlobalShortcutL594: function
registerControlL602: function
createBindingL607: property =>
setValueL617: function
guardBindingL624: function
createControlRowL635: function
createNamedRowL646: function
createFullRowL654: function
createLabeledRowL665: function
expandSectionL671: function
appendGroupedEntriesL719: function
loadUiSpecL732: function
createBoolToggleElementsL758: function
renderDisabledCheckboxL764: function
renderCheckboxL770: property =>
getValueL771: property =>
applyValueL823: function
renderRunToggleL832: const =>
syncL840: property =>
getValueL844: property =>
applyValueL865: function
renderButtonL898: property =>
getValueL899: property =>
setValueL913: function
resolveColorLabelL940: function
resolveSpacingLabelL965: function
resolveFontLabelL1013: function
resolveSelectMetaL1033: function
syncSelectOptionsL1050: function
readSelectValueL1065: function
applySelectValueL1115: function
renderSelectL1131: property =>
getValueL1132: property =>
applyValueL1162: function
buildSegmentedOptionsL1185: function
createSegmentedGroupL1213: function
attachSegmentedHandlersL1227: function
renderVisualSourceControlL1257: const =>
resolveKeyL1266: property =>
getValueL1267: property =>
applyValueL1275: property =>
onCommitL1288: function
renderRadioL1299: property =>
getValueL1300: property =>
applyValueL1307: property =>
onCommitL1313: function
renderSliderL1335: const =>
resolveRangeL1374: property =>
getValueL1381: property =>
applyValueL1395: const =>
updateAvailabilityL1426: const =>
setEditingL1437: function
createTextInputFieldL1461: function
renderEditInputL1467: property =>
getValueL1472: property =>
applyValueL1529: function
renderVectorInputBaseL1544: const =>
formatVectorL1546: const =>
setInputTextL1552: property =>
getValueL1553: property =>
applyValueL1579: const =>
showInvalidL1610: function
renderVectorInputL1619: function
renderVec3StringInputL1628: function
renderStaticL1637: property =>
getValueL1638: property =>
applyValueL1660: function
renderWatchFieldL1672: const =>
syncOptionsL1686: property =>
getValueL1687: property =>
applyValueL1703: function
renderKeyframeSelectL1714: const =>
syncOptionsL1748: property =>
getValueL1749: property =>
applyValueL1770: function
renderSimulationNoiseNoticeL1782: function
renderSeparatorL1806: property =>
edit_intL1807: property =>
edit_floatL1808: property =>
edit_textL1809: property =>
edit_vec2L1810: property =>
edit_vec3L1811: property =>
edit_vec3_stringL1812: property =>
edit_vec5L1813: property =>
edit_rgbaL1828: function
renderControlL1855: function
renderSectionL1900: const =>
setCollapsedL1916: const =>
toggleCollapsedL1989: function
ensureDynamicListL2044: function
resolveListIndexL2049: function
ensureDynamicSlidersL2067: property =>
updateExistingL2103: property =>
buildItemL2127: const =>
clearEditingL2145: function
renderPanelsL2167: function
updateControlsL2187: function
toggleControlL2214: function
cycleCameraL2223: function
installShortcutsL2227: const =>
handlerL2259: function
disposeL2281: property =>
getBindingL2283: property =>
listIdsL2288: property =>
getControlL2289: property =>
createSectionL2308: property =>
ensureActuatorSlidersL2316: property =>
getIndexL2317: property =>
getLabelL2318: property =>
getRangeL2323: property =>
getValueL2332: property =>
onInputL2347: property =>
ensureJointSlidersL2355: property =>
getIndexL2356: property =>
getLabelL2357: property =>
getRangeL2364: property =>
getValueL2366: property =>
onInputL2386: property =>
ensureEqualityTogglesL2393: property =>
updateExistingL2413: property =>
buildItem
Heuristic class members: none
ui/file_section.mjs
Lines: 665
Exports:
L8: export function
createFileSectionManager
File-scope declarations:
L8: function
createFileSectionManager
Nested declarations:
L16: function
createControlRowL27: function
createFullRowL39: const =>
refreshModelSelectOptionsL62: const =>
addModelEntryL83: function
loadXmlTextAsModelL111: function
deriveXmlFileNameL119: function
pickDirectoryHandleL132: function
promptDirectoryHandleForXmlRefsL147: const =>
folderHintL203: const =>
addRowL237: const =>
cleanupL243: const =>
resolveCancelL281: function
findFirstFileByNameL314: function
getFileHandleByRelPathL329: function
readDirectoryFileArrayBufferL335: function
buildMuJoCoBundleL344: function
readUrlFileArrayBufferL355: function
loadXmlTextWithFolderRefsL410: function
loadXmlTextWithUrlRefsL454: function
renderFileSectionExtrasL515: const =>
loadXmlFileImpl
Heuristic class members: none
ui/panel_sections.mjs
Lines: 188
Exports:
L67: export function
readPersistedSectionCollapsedL78: export function
writePersistedSectionCollapsedL89: export function
resolvePlayPanelIdL100: export function
setPlaySectionCollapsedL129: export function
toggleAllPlaySectionsL161: export function
installPanelSectionDblclickDelegation
File-scope declarations:
L16: function
sectionCollapsedMapKeyL22: function
getSectionCollapsedCacheL44: function
flushSectionCollapsedCacheL58: function
queueSectionCollapsedFlushL67: function
readPersistedSectionCollapsedL78: function
writePersistedSectionCollapsedL89: function
resolvePlayPanelIdL100: function
setPlaySectionCollapsedL129: function
toggleAllPlaySectionsL161: function
installPanelSectionDblclickDelegation
Nested declarations:
L166: const =>
handler
Heuristic class members: none
ui/state.mjs
Lines: 1696
Exports:
L33: export function
clamp01L1687: export
DEFAULT_VIEWER_STATEL1687: export
applyGestureL1687: export
applySpecActionL1687: export
createViewerStoreL1687: export
mergeBackendSnapshotL1687: export
readControlValueL1687: export
resetModelFrontendState
File-scope declarations:
L33: function
clamp01L59: function
resolveRealTimeIndexFromRateL75: function
createDefaultSelectionStateL90: function
resetSelectionStateL134: function
flagsFromMaskL307: function
cloneViewerStateL311: function
applyViewerStateOverridesL320: function
formatStructPathL324: function
valuesEqualL336: function
diffStructL353: function
resetModelFrontendStateL362: function
cameraLabelFromIndexL375: function
mergeBackendSnapshotL829: function
ensureRenderingStateL911: function
ensureStateL919: const =>
ensureHistoryStateL920: const =>
ensureWatchStateL921: const =>
ensureKeyframeStateL923: function
ensureThemeStateL956: function
parseThemeBinaryL1079: function
applyBindingL1089: function
formatKeyframeLabelFromStateL1121: function
applyControlL1157: function
readBindingValueL1173: function
readControlValueL1197: function
createViewerStoreL1237: function
applySpecActionL1291: function
applyGestureL1410: function
applyPresetOverridesToStructL1431: function
applyAppearancePresetOverridesL1449: function
ensureVisualCacheL1458: function
switchVisualSourceModeL1673: function
normaliseSceneFlagArray
Nested declarations:
L970: property =>
overlayL974: property =>
themeL1015: property =>
tracking_geomL1023: property =>
overlayL1024: property =>
runL1030: property =>
cameraL1031: property =>
tracking_geomL1032: property =>
scrub_indexL1033: property =>
key_indexL1034: property =>
watch_fieldL1035: property =>
watch_indexL1036: property =>
themeL1037: property =>
watch_summaryL1044: property =>
groupL1053: property =>
maskL1060: property =>
sim_optL1061: property =>
structL1073: property =>
vopt_flagL1074: property =>
scene_flagL1075: property =>
label_modeL1076: property =>
frame_modeL1202: function
notify
Heuristic class members: none
worker/
worker/dispatch.gen.mjs
Lines: 90
Exports:
L19: export function
encodeCommandL31: export function
decodeCommandL44: export function
dispatchCommandL55: export function
encodeEventL67: export function
decodeEventL80: export function
dispatchEvent
File-scope declarations:
L8: function
assertPayloadFieldsL19: function
encodeCommandL31: function
decodeCommandL44: function
dispatchCommandL55: function
encodeEventL67: function
decodeEventL80: function
dispatchEvent
Nested declarations: none
Heuristic class members: none
worker/physics.worker.mjs
Lines: 3431
Exports: none
File-scope declarations:
L144: function
buildPerfL160: function
safePostL186: function
setRunningL198: function
resetTimingForCurrentSimL220: function
readStructStateL231: function
createGroupStateL241: function
cloneGroupStateL250: function
cloneSceneFlagsL262: function
maybeSyncTimestepFromOptionsL272: function
emitOptionStateL295: function
getOptionsForSnapshotL319: function
syncVoptToWasmL356: function
ensureMjvPerturbAbiL399: function
ensureMjvCameraAbiL431: function
mjvMouseActionForL442: function
writeViewerCameraFromPayloadL482: function
readViewerFreeCameraStateL506: function
clearPerturbXfrcIfNeededL517: function
applyMjvPerturbForceIfActiveL528: function
applySimulatePerturbPipelineL559: function
emitStructStateL565: function
collectCameraMetaL620: function
emitCameraMetaL630: function
collectGeomMetaL644: function
emitGeomMetaL654: function
normaliseIntL659: function
clampL663: function
initHistoryBuffersL700: function
serializeHistoryMetaL723: function
emitHistoryMetaL730: function
buildInfoStatsL911: function
captureHistorySampleL927: function
releaseHistoryScrubL937: function
loadHistoryOffsetL965: function
applyHistoryConfigL984: function
resetKeyframesL1027: function
serializeKeyframeMetaL1046: function
emitKeyframeMetaL1053: function
ensureKeySlotL1066: function
saveKeyframeL1086: function
loadKeyframeL1100: function
resetWatchStateL1113: function
resolveWatchFieldL1120: function
updateWatchTargetL1134: function
readWatchViewL1156: function
sampleWatchL1191: function
emitWatchStateL1197: function
collectWatchSourcesL1224: function
wasmUrlL1228: function
cstrL1232: function
readLastErrorMetaL1252: function
readErrnoL1257: function
readModelCountL1269: function
readDataCountL1281: function
readPtrL1294: const =>
readModelPtrL1295: const =>
readDataPtrL1297: function
computeBoundsFromPositionsL1338: function
captureBoundsL1350: function
captureCopyStateL1434: function
loadModuleL1601: function
loadXmlWithFallbackL1657: function
snapshotL2148: function
emitRenderAssetsL2175: function
collectAssetBuffersForTransferL3415: function
dispatchCommandMessage
Nested declarations:
L322: const =>
writeScalarL327: const =>
writeGroupL570: const =>
readFloatL580: const =>
readIntL1199: const =>
addL1453: const =>
resolveLocalDistBaseL1484: const =>
assertForgeViewerAbiL1603: const =>
ensureSimL2070: const =>
transfersL2178: const =>
pushL2580: property =>
strictReportL2583: property =>
loadL2598: const =>
initOptionsL2713: const =>
jnt_namesL2771: property =>
resetL2781: property =>
stepL2802: property =>
gestureL2878: property =>
setVoptFlagL2888: property =>
setSceneFlagL2900: property =>
setLabelModeL2906: property =>
setFrameModeL2912: property =>
setCameraModeL2917: property =>
setGroupStateL2930: property =>
historyScrubL2939: property =>
historyConfigL2942: property =>
keyframeSaveL2948: property =>
keyframeLoadL2955: property =>
keyframeSelectL2964: property =>
setWatchL2969: property =>
setVisualOptionL2986: property =>
setFieldL3036: property =>
applyPerturbL3108: property =>
setSelectionL3158: property =>
selectAtL3318: property =>
alignL3331: property =>
copyStateL3337: property =>
setCtrlNoiseL3338: property =>
setCtrlL3342: property =>
setQposL3360: property =>
setEqualityActiveL3375: property =>
setRateL3379: property =>
setSnapshotHzL3400: property =>
setPausedL3410: property =>
snapshot
Heuristic class members: none
worker/protocol.gen.mjs
Lines: 198
Exports:
L3: export const
SNAPSHOT_VIEW_FIELDSL10: export const
GEOM_VIEW_FIELDS_OPTIONALL17: export const
GEOM_VIEW_FIELDS_ALWAYSL22: export const
WORKER_COMMANDSL57: export const
WORKER_EVENTSL81: export const
COMMAND_FIELDSL116: export const
EVENT_FIELDSL140: export const
SNAPSHOT_TRANSFER_FIELDSL171: export const
CONTACT_TRANSFER_FIELDSL185: export function
collectSnapshotTransfersIntoL195: export function
collectSnapshotTransfers
File-scope declarations:
L173: function
collectBuffersL185: function
collectSnapshotTransfersIntoL195: function
collectSnapshotTransfers
Nested declarations: none
Heuristic class members: none
worker/snapshot_pool.mjs
Lines: 117
Exports:
L10: export const
SNAPSHOT_POOLL38: export const
DIRTY_REASONL53: export function
markDirtyL62: export function
snapshotPoolSetHzL71: export function
snapshotPoolMarkDirtyL75: export function
snapshotPoolMarkAllDirtyL79: export function
snapshotPoolResetTimersL83: export function
snapshotPoolShouldUpdateL91: export function
snapshotPoolDidUpdate
File-scope declarations:
L32: function
snapshotPoolMarkDirtyManyL53: function
markDirtyL62: function
snapshotPoolSetHzL71: function
snapshotPoolMarkDirtyL75: function
snapshotPoolMarkAllDirtyL79: function
snapshotPoolResetTimersL83: function
snapshotPoolShouldUpdateL91: function
snapshotPoolDidUpdate
Nested declarations: none
Heuristic class members: none
tools/
tools/check_module_boundaries.mjs
Lines: 163
Exports: none
File-scope declarations:
L5: function
runGitL13: function
toPosixL17: function
layerOfL60: function
extractImportSpecifiersL78: function
resolveRelativeImportL98: function
shouldSkipFile
Nested declarations: none
Heuristic class members: none
tools/dev_server.py
Lines: 160
Exports: none
File-scope declarations:
L37: class
HandlerL135: def
main
Nested declarations:
L38: def
_has_headerL45: def
translate_pathL60: def
end_headersL69: def
guess_typeL87: def
send_head
Heuristic class members: none
tools/forbid_patterns.mjs
Lines: 271
Exports: none
File-scope declarations:
L63: function
stripStringsAndCommentsL151: function
buildLineIndexL159: function
indexToLineColL175: function
walkL192: function
findCatchViolations
Nested declarations: none
Heuristic class members: none
tools/generate_code_inventory.mjs
Lines: 445
Exports: none
File-scope declarations:
L50: function
listTrackedFilesL67: function
isExcludedL71: function
inferGroupL85: function
parseExportBlockL128: function
parseJsLikeL295: function
parsePythonL327: function
buildInventoryL354: function
renderMarkdownL433: function
writeDocs
Nested declarations:
L135: function
pushDeclL140: function
isCommentLikeL145: function
recordClassMembersL300: function
pushDecl
Heuristic class members: none
tools/generate_ui_artifacts.mjs
Lines: 866
Exports: none
File-scope declarations:
L20: function
requireArrayL27: function
requireNumberL47: function
sanitiseNameL57: function
expandSectionL125: function
collectControlsL136: function
splitBindingL145: function
inferMetaFromControlL180: function
resolveBindingMetaL204: function
buildBindingIndexL244: function
addDescriptorL261: function
collectDescriptorsL287: function
collectOptionFieldsL313: function
buildOptionLayoutL325: function
buildFieldPointersL444: function
renderViewerDefaultsL482: function
renderViewerSharedL486: function
renderViewerStructsL849: function
renderViewerTypes
Nested declarations:
L72: function
appendGroupedEntries
Heuristic class members: none
tools/generate_worker_protocol.mjs
Lines: 240
Exports: none
File-scope declarations:
L25: function
normaliseFieldListL45: function
normaliseTransferFieldsL52: function
normaliseNameListL59: function
normaliseMessageSpecL90: function
renderFieldListL95: function
renderFieldSpec
Nested declarations: none
Heuristic class members: none
tools/loc_report.mjs
Lines: 141
Exports: none
File-scope declarations:
L42: function
isTextFileL46: function
isGeneratedFileL54: function
countLinesL60: function
listTrackedFilesL70: function
walkDirL87: function
isShipPathL103: function
getShipRelPath
Nested declarations: none
Heuristic class members: none
tools/run_checks.mjs
Lines: 68
Exports: none
File-scope declarations:
L5: function
runL17: function
listNodeTestsL27: function
fileExists
Nested declarations: none
Heuristic class members: none
tests/
tests/e2e/contact_overlays_humanoid_debug.spec.ts
Lines: 126
Exports: none
File-scope declarations:
L10: function
enableContactFlagsViaControlsL34: function
waitForContacts
Nested declarations: none
Heuristic class members: none
tests/e2e/convex-hull-parity.spec.ts
Lines: 151
Exports: none
File-scope declarations: none found
Nested declarations:
L91: const =>
readHullState
Heuristic class members: none
tests/e2e/default-init-debug.spec.ts
Lines: 40
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/equality-panel.spec.ts
Lines: 69
Exports: none
File-scope declarations:
L7: function
readEqualitySnapshotL23: function
readEqualityDom
Nested declarations: none
Heuristic class members: none
tests/e2e/flex-layer-parity.spec.ts
Lines: 54
Exports: none
File-scope declarations:
L7: function
setSliderNormalised
Nested declarations: none
Heuristic class members: none
tests/e2e/geomorder-dump.spec.ts
Lines: 87
Exports: none
File-scope declarations: none found
Nested declarations:
L33: const =>
label
Heuristic class members: none
tests/e2e/humanoid100-model-ref-load.spec.ts
Lines: 33
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/info-overlay.spec.ts
Lines: 100
Exports: none
File-scope declarations:
L4: function
openInfoOverlay
Nested declarations: none
Heuristic class members: none
tests/e2e/instancing-instancecolor-attr.spec.ts
Lines: 88
Exports: none
File-scope declarations:
L7: function
pauseSimulation
Nested declarations: none
Heuristic class members: none
tests/e2e/instancing-site-tendon-parity.spec.ts
Lines: 201
Exports: none
File-scope declarations:
L7: function
pauseSimulation
Nested declarations:
L57: const =>
resolveScnIndex
Heuristic class members: none
tests/e2e/instancing-visual-parity.spec.ts
Lines: 300
Exports: none
File-scope declarations:
L7: function
pauseSimulation
Nested declarations:
L85: const =>
samplePatchFromCanvasL109: const =>
projectScnToPixelL121: const =>
samplePixelsL155: const =>
resolveMeshIndexL171: const =>
warmupNonInstancedMeshes
Heuristic class members: none
tests/e2e/mjvscene-export.spec.ts
Lines: 113
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/mjvscene-skin-diag.spec.ts
Lines: 58
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/model-scan.local.spec.ts
Lines: 93
Exports: none
File-scope declarations:
L7: function
listXmlFiles
Nested declarations:
L9: const =>
walk
Heuristic class members: none
tests/e2e/model-switch-reset.spec.ts
Lines: 47
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/perf-phases.spec.ts
Lines: 199
Exports: none
File-scope declarations: none found
Nested declarations:
L132: const =>
pick
Heuristic class members: none
tests/e2e/physics-options.spec.ts
Lines: 265
Exports: none
File-scope declarations:
L11: function
readPhysicsOptionsL37: function
readPhysicsFlags
Nested declarations:
L78: const =>
byIdL107: const =>
applyL207: const =>
setChecked
Heuristic class members: none
tests/e2e/raj_single_reset_memory.spec.ts
Lines: 43
Exports: none
File-scope declarations: none found
Nested declarations:
L14: const =>
readTime
Heuristic class members: none
tests/e2e/raj-site-tendon-rgba.spec.ts
Lines: 101
Exports: none
File-scope declarations:
L15: function
summarize
Nested declarations: none
Heuristic class members: none
tests/e2e/rendering-behaviors.spec.ts
Lines: 58
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/skybox-toggle.spec.ts
Lines: 165
Exports: none
File-scope declarations:
L7: function
readSkyStateL27: function
readSkyDebugL59: function
setVisualSourceL73: function
setSkyboxState
Nested declarations:
L87: const =>
skyState
Heuristic class members: none
tests/e2e/slidercrank-parity.spec.ts
Lines: 94
Exports: none
File-scope declarations:
L9: function
readSlidercrankSummary
Nested declarations: none
Heuristic class members: none
tests/e2e/static-transparent-parity.spec.ts
Lines: 158
Exports: none
File-scope declarations: none found
Nested declarations:
L55: const =>
isStatic
Heuristic class members: none
tests/e2e/strict_gate.spec.mjs
Lines: 78
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/tendon-catenary-parity.spec.ts
Lines: 95
Exports: none
File-scope declarations:
L7: function
sceneTendonCounts
Nested declarations: none
Heuristic class members: none
tests/e2e/test-utils.ts
Lines: 68
Exports:
L5: export function
ensureSectionExpandedL23: export function
waitForViewerReadyL44: export function
loadXmlFromFileInputL55: export function
firstVisibleGeomSummary
File-scope declarations:
L5: function
ensureSectionExpandedL23: function
waitForViewerReadyL44: function
loadXmlFromFileInputL55: function
firstVisibleGeomSummary
Nested declarations: none
Heuristic class members: none
tests/e2e/texture-flag-parity.spec.ts
Lines: 111
Exports: none
File-scope declarations:
L7: function
pickMeshWithMapL39: function
meshMapStateL55: function
forceRender
Nested declarations: none
Heuristic class members: none
tests/e2e/transparent-strict-ordering.spec.ts
Lines: 93
Exports: none
File-scope declarations:
L7: function
pauseSimulation
Nested declarations: none
Heuristic class members: none
tests/e2e/ui_kit_contract.spec.ts
Lines: 34
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/ui_sections_contract.spec.ts
Lines: 61
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/e2e/worker-time-advances.spec.ts
Lines: 30
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none
tests/microbench/flex.microbench.spec.ts
Lines: 207
Exports: none
File-scope declarations:
L21: function
pickStatL27: function
extractTopMsL38: function
meanFpsFromIntervalL44: function
clearPerfSamplesL52: function
readPerfSummaryL60: function
ensureSimRunningL72: function
minimizeUiL89: function
rotateCameraFor
Nested declarations:
L128: const =>
extractL182: function
runPhase
Heuristic class members: none
tests/playwright.config.mjs
Lines: 100
Exports:
L75: export default
File-scope declarations:
L14: function
isFinitePortL18: function
isPortOpenL40: function
pickPort
Nested declarations:
L21: const =>
settle
Heuristic class members: none
tests/playwright.microbench.config.mjs
Lines: 99
Exports:
L75: export default
File-scope declarations:
L14: function
isFinitePortL18: function
isPortOpenL40: function
pickPort
Nested declarations:
L21: const =>
settle
Heuristic class members: none
tests/scripts/sky_debug_playwright.py
Lines: 168
Exports: none
File-scope declarations:
L12: def
main
Nested declarations:
L34: def
on_console
Heuristic class members: none
tests/tooling/validate_spec.mjs
Lines: 114
Exports: none
File-scope declarations:
L9: function
failL13: function
readJsonL22: function
requireNonEmptyArrayL29: function
requireFiniteNumberL37: function
validateUiSpecL80: function
validateProtocol
Nested declarations:
L54: function
registerItemIdL63: function
validateSectionL85: function
validateEntries
Heuristic class members: none
tests/unit/protocol_dispatch.test.mjs
Lines: 73
Exports: none
File-scope declarations:
L14: function
payloadWithRequiredFields
Nested declarations: none
Heuristic class members: none
tests/unit/ui_snapshot_merge.test.mjs
Lines: 76
Exports: none
File-scope declarations:
L6: function
clone
Nested declarations: none
Heuristic class members: none
tests/unit/ui_spec_action.test.mjs
Lines: 22
Exports: none
File-scope declarations: none found
Nested declarations: none
Heuristic class members: none