@carbonenginejs/runtime 0.1.0-alpha.0 → 0.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -125
- package/dist/audio/index.js +8 -1
- package/dist/audio/index.js.map +1 -1
- package/dist/audio/trinity/audio/AudActionLog/AudActionLogCB.js +84 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionLogCB.js.map +1 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecord.js +14 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecord.js.map +1 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordExecuteActionOnPlayingID.js +26 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordExecuteActionOnPlayingID.js.map +1 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordPostEvent.js +27 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordPostEvent.js.map +1 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetRTPC.js +27 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetRTPC.js.map +1 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetState.js +25 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetState.js.map +1 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetSwitch.js +26 -0
- package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetSwitch.js.map +1 -0
- package/dist/audio/trinity/audio/AudActionLog/IAudActionLog.js +58 -0
- package/dist/audio/trinity/audio/AudActionLog/IAudActionLog.js.map +1 -0
- package/dist/audio/trinity/audio/AudManager.js +1 -1
- package/dist/audio/trinity/audio/AudManager.js.map +1 -1
- package/dist/audio/trinity/audio/{AudObstructionOcclusion.js → AudObstructionOcclusion/AudObstructionOcclusion.js} +8 -52
- package/dist/audio/trinity/audio/AudObstructionOcclusion/AudObstructionOcclusion.js.map +1 -0
- package/dist/audio/trinity/audio/AudObstructionOcclusion/EmitterState.js +17 -0
- package/dist/audio/trinity/audio/AudObstructionOcclusion/EmitterState.js.map +1 -0
- package/dist/audio/trinity/audio/AudObstructionOcclusion/FadingValue.js +46 -0
- package/dist/audio/trinity/audio/AudObstructionOcclusion/FadingValue.js.map +1 -0
- package/dist/audio/trinity/index.js +8 -1
- package/dist/audio/trinity/index.js.map +1 -1
- package/dist/character/CjsCharacterAppearanceConstruction.js +5 -0
- package/dist/character/CjsCharacterAppearanceConstruction.js.map +1 -1
- package/dist/character/CjsCharacterAppearanceManager.js +14 -0
- package/dist/character/CjsCharacterAppearanceManager.js.map +1 -1
- package/dist/character/CjsCharacterFoundationConstruction.js +5 -0
- package/dist/character/CjsCharacterFoundationConstruction.js.map +1 -1
- package/dist/character/CjsCharacterTexturePolicy.js +5 -0
- package/dist/character/CjsCharacterTexturePolicy.js.map +1 -1
- package/dist/character/gles/CjsCharacterGlesAppearanceAL.js +17 -0
- package/dist/character/gles/CjsCharacterGlesAppearanceAL.js.map +1 -1
- package/dist/character/gles/CjsCharacterGlesAtlasRenderer.js +2 -0
- package/dist/character/gles/CjsCharacterGlesAtlasRenderer.js.map +1 -1
- package/dist/character/gles/CjsCharacterGlesFoundationTranslator.js +5 -0
- package/dist/character/gles/CjsCharacterGlesFoundationTranslator.js.map +1 -1
- package/dist/character/gles/CjsCharacterGlesLegacyConstructionTranslator.js +5 -0
- package/dist/character/gles/CjsCharacterGlesLegacyConstructionTranslator.js.map +1 -1
- package/dist/character/gles/CjsCharacterGlesMorphDeformation.js +2 -0
- package/dist/character/gles/CjsCharacterGlesMorphDeformation.js.map +1 -1
- package/dist/character/gles/CjsCharacterGlesPaletteCompatibility.js +5 -0
- package/dist/character/gles/CjsCharacterGlesPaletteCompatibility.js.map +1 -1
- package/dist/character/gles/CjsCharacterGlesTriangleCoverage.js +5 -0
- package/dist/character/gles/CjsCharacterGlesTriangleCoverage.js.map +1 -1
- package/dist/character/webgl2/CjsCharacterWebgl2EffectRouter.js +9 -0
- package/dist/character/webgl2/CjsCharacterWebgl2EffectRouter.js.map +1 -1
- package/dist/global/blue/CjsScriptCallback.js +142 -0
- package/dist/global/blue/CjsScriptCallback.js.map +1 -0
- package/dist/global/blue/index.js +2 -0
- package/dist/global/blue/index.js.map +1 -0
- package/dist/global/consts/renderContext/formats.js +51 -1
- package/dist/global/consts/renderContext/formats.js.map +1 -1
- package/dist/global/consts/renderContext/index.js +2 -2
- package/dist/global/consts/renderContext/renderStates.js +16 -1
- package/dist/global/consts/renderContext/renderStates.js.map +1 -1
- package/dist/global/contracts/index.js +0 -1
- package/dist/global/contracts/index.js.map +1 -1
- package/dist/global/index.js +4 -3
- package/dist/global/index.js.map +1 -1
- package/dist/global/math/index.js +2 -0
- package/dist/global/math/index.js.map +1 -1
- package/dist/global/math/mesh.js +70 -16
- package/dist/global/math/mesh.js.map +1 -1
- package/dist/global/math/noise.js +47 -68
- package/dist/global/math/noise.js.map +1 -1
- package/dist/global/math/pool.js +18 -3
- package/dist/global/math/pool.js.map +1 -1
- package/dist/global/math/random.js +52 -0
- package/dist/global/math/random.js.map +1 -0
- package/dist/global/math/tri3.js +18 -4
- package/dist/global/math/tri3.js.map +1 -1
- package/dist/global/schema/CjsSchema.js +20 -2
- package/dist/global/schema/CjsSchema.js.map +1 -1
- package/dist/global/schema/hydration.js +14 -0
- package/dist/global/schema/hydration.js.map +1 -1
- package/dist/global/utils/bytes.js +22 -4
- package/dist/global/utils/bytes.js.map +1 -1
- package/dist/global/utils/checksum.js +80 -0
- package/dist/global/utils/checksum.js.map +1 -0
- package/dist/global/utils/errors/CjsCancellationError.js +36 -0
- package/dist/global/utils/errors/CjsCancellationError.js.map +1 -0
- package/dist/global/utils/errors/CjsError.js +21 -52
- package/dist/global/utils/errors/CjsError.js.map +1 -1
- package/dist/global/utils/errors/abort.js +1 -1
- package/dist/global/utils/errors/abort.js.map +1 -1
- package/dist/global/utils/errors/index.js +2 -1
- package/dist/global/utils/errors/index.js.map +1 -1
- package/dist/global/utils/index.js +4 -2
- package/dist/global/utils/index.js.map +1 -1
- package/dist/index.js +95 -35
- package/dist/index.js.map +1 -1
- package/dist/input/Tr2MainWindow.js +7 -9
- package/dist/input/Tr2MainWindow.js.map +1 -1
- package/dist/resource/CjsResMan.js +33 -39
- package/dist/resource/CjsResMan.js.map +1 -1
- package/dist/resource/CjsResource.js +19 -5
- package/dist/resource/CjsResource.js.map +1 -1
- package/dist/resource/audio/AudioGeometryResData.js +22 -27
- package/dist/resource/audio/AudioGeometryResData.js.map +1 -1
- package/dist/resource/audio/CjsAudioRes.js +4 -5
- package/dist/resource/audio/CjsAudioRes.js.map +1 -1
- package/dist/resource/format/CjsBitReader.js +263 -0
- package/dist/resource/format/CjsBitReader.js.map +1 -0
- package/dist/resource/format/CjsByteReader.js +130 -125
- package/dist/resource/format/CjsByteReader.js.map +1 -1
- package/dist/resource/format/CjsFormat.js +11 -4
- package/dist/resource/format/CjsFormat.js.map +1 -1
- package/dist/resource/format/CjsFormatError.js +37 -1
- package/dist/resource/format/CjsFormatError.js.map +1 -1
- package/dist/resource/format/CjsResourceProbe.js +41 -37
- package/dist/resource/format/CjsResourceProbe.js.map +1 -1
- package/dist/resource/format/carbonRecordGuard.js +33 -0
- package/dist/resource/format/carbonRecordGuard.js.map +1 -0
- package/dist/resource/format/imageSignatures.js +202 -0
- package/dist/resource/format/imageSignatures.js.map +1 -0
- package/dist/resource/format/index.js +2 -1
- package/dist/resource/format/index.js.map +1 -1
- package/dist/resource/format/jsonPolicies.js +180 -0
- package/dist/resource/format/jsonPolicies.js.map +1 -0
- package/dist/resource/formats/black/core/helpers.js +18 -29
- package/dist/resource/formats/black/core/helpers.js.map +1 -1
- package/dist/resource/formats/bnk/CjsBnkFormat.js +4 -3
- package/dist/resource/formats/bnk/CjsBnkFormat.js.map +1 -1
- package/dist/resource/formats/bnk/core/WwiseCursor.js +218 -0
- package/dist/resource/formats/bnk/core/WwiseCursor.js.map +1 -0
- package/dist/resource/formats/bnk/core/busNodes.js +2 -1
- package/dist/resource/formats/bnk/core/busNodes.js.map +1 -1
- package/dist/resource/formats/bnk/core/effectNodes.js +2 -1
- package/dist/resource/formats/bnk/core/effectNodes.js.map +1 -1
- package/dist/resource/formats/bnk/core/eventAction.js +15 -93
- package/dist/resource/formats/bnk/core/eventAction.js.map +1 -1
- package/dist/resource/formats/bnk/core/globalSettings.js +19 -94
- package/dist/resource/formats/bnk/core/globalSettings.js.map +1 -1
- package/dist/resource/formats/bnk/core/helpers.js +2 -48
- package/dist/resource/formats/bnk/core/helpers.js.map +1 -1
- package/dist/resource/formats/bnk/core/musicNodes.js +42 -134
- package/dist/resource/formats/bnk/core/musicNodes.js.map +1 -1
- package/dist/resource/formats/bnk/core/nodeBase.js +20 -111
- package/dist/resource/formats/bnk/core/nodeBase.js.map +1 -1
- package/dist/resource/formats/bnk/core/sfxNodes.js +2 -1
- package/dist/resource/formats/bnk/core/sfxNodes.js.map +1 -1
- package/dist/resource/formats/cmf/CjsCmfFormat.js +242 -228
- package/dist/resource/formats/cmf/CjsCmfFormat.js.map +1 -1
- package/dist/resource/formats/cmf/core/binary.js +54 -60
- package/dist/resource/formats/cmf/core/binary.js.map +1 -1
- package/dist/resource/formats/dds/CjsDdsFormat.js +5 -3
- package/dist/resource/formats/dds/CjsDdsFormat.js.map +1 -1
- package/dist/resource/formats/dds/core/bc6h.js +16 -18
- package/dist/resource/formats/dds/core/bc6h.js.map +1 -1
- package/dist/resource/formats/dds/core/bc7.js +28 -24
- package/dist/resource/formats/dds/core/bc7.js.map +1 -1
- package/dist/resource/formats/dds/core/helpers.js +7 -133
- package/dist/resource/formats/dds/core/helpers.js.map +1 -1
- package/dist/resource/formats/dxbc/CjsDxbcFormat.js +3 -2
- package/dist/resource/formats/dxbc/CjsDxbcFormat.js.map +1 -1
- package/dist/resource/formats/dxbc/core/helpers.js +4 -32
- package/dist/resource/formats/dxbc/core/helpers.js.map +1 -1
- package/dist/resource/formats/fbx/CjsFbxFormat.js +11 -0
- package/dist/resource/formats/fbx/CjsFbxFormat.js.map +1 -1
- package/dist/resource/formats/fbx/core/helpers.js +18 -12
- package/dist/resource/formats/fbx/core/helpers.js.map +1 -1
- package/dist/resource/formats/flac/CjsFlacFormat.js +4 -9
- package/dist/resource/formats/flac/CjsFlacFormat.js.map +1 -1
- package/dist/resource/formats/flac/core/helpers.js +1 -62
- package/dist/resource/formats/flac/core/helpers.js.map +1 -1
- package/dist/resource/formats/gif/CjsGifFormat.js +4 -9
- package/dist/resource/formats/gif/CjsGifFormat.js.map +1 -1
- package/dist/resource/formats/gif/core/helpers.js +1 -63
- package/dist/resource/formats/gif/core/helpers.js.map +1 -1
- package/dist/resource/formats/gltf/CjsGltfFormat.js +4 -3
- package/dist/resource/formats/gltf/CjsGltfFormat.js.map +1 -1
- package/dist/resource/formats/gltf/core/helpers.js +3 -19
- package/dist/resource/formats/gltf/core/helpers.js.map +1 -1
- package/dist/resource/formats/gr2/CjsGr2Format.js +105 -92
- package/dist/resource/formats/gr2/CjsGr2Format.js.map +1 -1
- package/dist/resource/formats/gr2/core/container.js +1 -10
- package/dist/resource/formats/gr2/core/container.js.map +1 -1
- package/dist/resource/formats/gr2/core/helpers.js +24 -35
- package/dist/resource/formats/gr2/core/helpers.js.map +1 -1
- package/dist/resource/formats/gr2/core/shared.js +193 -189
- package/dist/resource/formats/gr2/core/shared.js.map +1 -1
- package/dist/resource/formats/hlsl/CjsHlslFormat.js +4 -3
- package/dist/resource/formats/hlsl/CjsHlslFormat.js.map +1 -1
- package/dist/resource/formats/hlsl/core/helpers.js +1 -30
- package/dist/resource/formats/hlsl/core/helpers.js.map +1 -1
- package/dist/resource/formats/jpeg/CjsJpegFormat.js +5 -3
- package/dist/resource/formats/jpeg/CjsJpegFormat.js.map +1 -1
- package/dist/resource/formats/jpeg/core/helpers.js +7 -134
- package/dist/resource/formats/jpeg/core/helpers.js.map +1 -1
- package/dist/resource/formats/mp3/CjsMp3Format.js +4 -9
- package/dist/resource/formats/mp3/CjsMp3Format.js.map +1 -1
- package/dist/resource/formats/mp3/core/helpers.js +1 -64
- package/dist/resource/formats/mp3/core/helpers.js.map +1 -1
- package/dist/resource/formats/mp4/CjsMp4Format.js +4 -9
- package/dist/resource/formats/mp4/CjsMp4Format.js.map +1 -1
- package/dist/resource/formats/mp4/core/helpers.js +1 -73
- package/dist/resource/formats/mp4/core/helpers.js.map +1 -1
- package/dist/resource/formats/obj/CjsObjFormat.js +4 -3
- package/dist/resource/formats/obj/CjsObjFormat.js.map +1 -1
- package/dist/resource/formats/obj/core/helpers.js +93 -115
- package/dist/resource/formats/obj/core/helpers.js.map +1 -1
- package/dist/resource/formats/ogg/CjsOggFormat.js +4 -3
- package/dist/resource/formats/ogg/CjsOggFormat.js.map +1 -1
- package/dist/resource/formats/ogg/core/helpers.js +1 -15
- package/dist/resource/formats/ogg/core/helpers.js.map +1 -1
- package/dist/resource/formats/ogg/core/vorbis.js +138 -144
- package/dist/resource/formats/ogg/core/vorbis.js.map +1 -1
- package/dist/resource/formats/pickle/CjsPickleFormat.js +83 -114
- package/dist/resource/formats/pickle/CjsPickleFormat.js.map +1 -1
- package/dist/resource/formats/png/CjsPngFormat.js +5 -3
- package/dist/resource/formats/png/CjsPngFormat.js.map +1 -1
- package/dist/resource/formats/png/core/helpers.js +13 -152
- package/dist/resource/formats/png/core/helpers.js.map +1 -1
- package/dist/resource/formats/png/core/writer.js +3 -27
- package/dist/resource/formats/png/core/writer.js.map +1 -1
- package/dist/resource/formats/red/core/helpers.js +19 -29
- package/dist/resource/formats/red/core/helpers.js.map +1 -1
- package/dist/resource/formats/stl/CjsStlFormat.js +158 -147
- package/dist/resource/formats/stl/CjsStlFormat.js.map +1 -1
- package/dist/resource/formats/stl/core/helpers.js +44 -66
- package/dist/resource/formats/stl/core/helpers.js.map +1 -1
- package/dist/resource/formats/tga/CjsTgaFormat.js +5 -3
- package/dist/resource/formats/tga/CjsTgaFormat.js.map +1 -1
- package/dist/resource/formats/tga/core/helpers.js +7 -153
- package/dist/resource/formats/tga/core/helpers.js.map +1 -1
- package/dist/resource/formats/vta/CjsVtaFormat.js +4 -3
- package/dist/resource/formats/vta/CjsVtaFormat.js.map +1 -1
- package/dist/resource/formats/vta/core/helpers.js +1 -17
- package/dist/resource/formats/vta/core/helpers.js.map +1 -1
- package/dist/resource/formats/wav/CjsWavFormat.js +4 -3
- package/dist/resource/formats/wav/CjsWavFormat.js.map +1 -1
- package/dist/resource/formats/wav/core/helpers.js +1 -15
- package/dist/resource/formats/wav/core/helpers.js.map +1 -1
- package/dist/resource/formats/webgl/CjsWebglFormat.js +4 -3
- package/dist/resource/formats/webgl/CjsWebglFormat.js.map +1 -1
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js +69 -9
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js.map +1 -1
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js +12 -3
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js.map +1 -1
- package/dist/resource/formats/webgl/core/helpers.js +39 -68
- package/dist/resource/formats/webgl/core/helpers.js.map +1 -1
- package/dist/resource/formats/webgpu/CjsWebgpuFormat.js +4 -3
- package/dist/resource/formats/webgpu/CjsWebgpuFormat.js.map +1 -1
- package/dist/resource/formats/webgpu/core/helpers.js +4 -30
- package/dist/resource/formats/webgpu/core/helpers.js.map +1 -1
- package/dist/resource/formats/webm/CjsWebmFormat.js +4 -9
- package/dist/resource/formats/webm/CjsWebmFormat.js.map +1 -1
- package/dist/resource/formats/webm/core/helpers.js +1 -73
- package/dist/resource/formats/webm/core/helpers.js.map +1 -1
- package/dist/resource/formats/webp/CjsWebpFormat.js +4 -9
- package/dist/resource/formats/webp/CjsWebpFormat.js.map +1 -1
- package/dist/resource/formats/webp/core/helpers.js +1 -62
- package/dist/resource/formats/webp/core/helpers.js.map +1 -1
- package/dist/resource/formats/wem/CjsWemFormat.js +4 -3
- package/dist/resource/formats/wem/CjsWemFormat.js.map +1 -1
- package/dist/resource/formats/wem/core/bitStream.js +83 -106
- package/dist/resource/formats/wem/core/bitStream.js.map +1 -1
- package/dist/resource/formats/wem/core/codebookLibrary.js +52 -52
- package/dist/resource/formats/wem/core/codebookLibrary.js.map +1 -1
- package/dist/resource/formats/wem/core/helpers.js +1 -15
- package/dist/resource/formats/wem/core/helpers.js.map +1 -1
- package/dist/resource/formats/wem/core/wemToOgg.js +67 -67
- package/dist/resource/formats/wem/core/wemToOgg.js.map +1 -1
- package/dist/resource/geometry/MeshDecalData.js +23 -25
- package/dist/resource/geometry/MeshDecalData.js.map +1 -1
- package/dist/resource/geometry/MeshDecalLodData.js +14 -23
- package/dist/resource/geometry/MeshDecalLodData.js.map +1 -1
- package/dist/resource/geometry/TriGeometryRes.js +299 -284
- package/dist/resource/geometry/TriGeometryRes.js.map +1 -1
- package/dist/resource/geometry/TriGeometryResAreaData.js +30 -31
- package/dist/resource/geometry/TriGeometryResAreaData.js.map +1 -1
- package/dist/resource/geometry/TriGeometryResJointData.js +16 -24
- package/dist/resource/geometry/TriGeometryResJointData.js.map +1 -1
- package/dist/resource/geometry/TriGeometryResLodData.js +50 -41
- package/dist/resource/geometry/TriGeometryResLodData.js.map +1 -1
- package/dist/resource/geometry/TriGeometryResMeshData.js +32 -32
- package/dist/resource/geometry/TriGeometryResMeshData.js.map +1 -1
- package/dist/resource/geometry/TriGeometryResSkeletonData.js +14 -23
- package/dist/resource/geometry/TriGeometryResSkeletonData.js.map +1 -1
- package/dist/resource/geometry/TriJointBinding.js +16 -24
- package/dist/resource/geometry/TriJointBinding.js.map +1 -1
- package/dist/resource/geometry/TriMorphTargetGeometryConstants.js +22 -27
- package/dist/resource/geometry/TriMorphTargetGeometryConstants.js.map +1 -1
- package/dist/resource/geometry/TriRtGeometryConstants.js +50 -41
- package/dist/resource/geometry/TriRtGeometryConstants.js.map +1 -1
- package/dist/resource/geometry/granny/GStateBindingCallbackData.js +12 -22
- package/dist/resource/geometry/granny/GStateBindingCallbackData.js.map +1 -1
- package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js +30 -31
- package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js.map +1 -1
- package/dist/resource/index.js +1 -1
- package/dist/resource/shader/reflection/Tr2EffectConstant.js +16 -17
- package/dist/resource/shader/reflection/Tr2EffectConstant.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectDescription.js +26 -28
- package/dist/resource/shader/reflection/Tr2EffectDescription.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectLibrary.js +24 -25
- package/dist/resource/shader/reflection/Tr2EffectLibrary.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectParameterAnnotation.js +21 -22
- package/dist/resource/shader/reflection/Tr2EffectParameterAnnotation.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectResource.js +25 -26
- package/dist/resource/shader/reflection/Tr2EffectResource.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectStageInput.js +69 -72
- package/dist/resource/shader/reflection/Tr2EffectStageInput.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectTechnique.js +17 -18
- package/dist/resource/shader/reflection/Tr2EffectTechnique.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2Pass.js +42 -43
- package/dist/resource/shader/reflection/Tr2Pass.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2RenderStateSetup.js +26 -5
- package/dist/resource/shader/reflection/Tr2RenderStateSetup.js.map +1 -1
- package/dist/resource/shader/reflection/carbonRecordFields.js +87 -90
- package/dist/resource/shader/reflection/carbonRecordFields.js.map +1 -1
- package/dist/resource/shader/sampler/Tr2SamplerSetup.js +32 -34
- package/dist/resource/shader/sampler/Tr2SamplerSetup.js.map +1 -1
- package/dist/resource/texture/CjsTextureArrayRes.js +1 -6
- package/dist/resource/texture/CjsTextureArrayRes.js.map +1 -1
- package/dist/resource/texture/Tr2TextureLodManager.js +35 -27
- package/dist/resource/texture/Tr2TextureLodManager.js.map +1 -1
- package/dist/resource/texture/Tr2TextureLodUpdateRequest.js +16 -24
- package/dist/resource/texture/Tr2TextureLodUpdateRequest.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePackChannel.js +16 -24
- package/dist/resource/texture/Tr2TexturePackChannel.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipeline.js +24 -20
- package/dist/resource/texture/Tr2TexturePipeline.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineParams.js +14 -23
- package/dist/resource/texture/Tr2TexturePipelineParams.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepCompress.js +18 -25
- package/dist/resource/texture/Tr2TexturePipelineStepCompress.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepGenerateMips.js +11 -16
- package/dist/resource/texture/Tr2TexturePipelineStepGenerateMips.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js +14 -23
- package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepLoad.js +12 -22
- package/dist/resource/texture/Tr2TexturePipelineStepLoad.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepPack.js +38 -26
- package/dist/resource/texture/Tr2TexturePipelineStepPack.js.map +1 -1
- package/dist/resource/worker/CjsResManMainThreadLoader.js +2 -5
- package/dist/resource/worker/CjsResManMainThreadLoader.js.map +1 -1
- package/dist/resource/worker/CjsResManWorkerLoader.js +6 -7
- package/dist/resource/worker/CjsResManWorkerLoader.js.map +1 -1
- package/dist/resource/worker/protocol.js +18 -1
- package/dist/resource/worker/protocol.js.map +1 -1
- package/dist/sof/EveSOF.js +2 -222
- package/dist/sof/EveSOF.js.map +1 -1
- package/dist/sof/SofDocumentBuilder.js +205 -0
- package/dist/sof/SofDocumentBuilder.js.map +1 -0
- package/dist/sof/faction/ErrSOFFactionColorSetTypeNotFound.js +16 -0
- package/dist/sof/faction/ErrSOFFactionColorSetTypeNotFound.js.map +1 -0
- package/dist/sof/faction/ErrSOFFactionColorSetTypeUnknown.js +16 -0
- package/dist/sof/faction/ErrSOFFactionColorSetTypeUnknown.js.map +1 -0
- package/dist/sof/faction/EveSOFDataFactionColorSet.js +3 -27
- package/dist/sof/faction/EveSOFDataFactionColorSet.js.map +1 -1
- package/dist/sof/faction/index.js +3 -1
- package/dist/sof/faction/index.js.map +1 -1
- package/dist/sof/generic/ErrSOFAreaShaderNotFound.js +18 -0
- package/dist/sof/generic/ErrSOFAreaShaderNotFound.js.map +1 -0
- package/dist/sof/generic/ErrSOFDecalShaderNotFound.js +18 -0
- package/dist/sof/generic/ErrSOFDecalShaderNotFound.js.map +1 -0
- package/dist/sof/generic/ErrSOFMaterialPrefixNotFound.js +21 -0
- package/dist/sof/generic/ErrSOFMaterialPrefixNotFound.js.map +1 -0
- package/dist/sof/generic/ErrSOFPatternMaterialPrefixNotFound.js +21 -0
- package/dist/sof/generic/ErrSOFPatternMaterialPrefixNotFound.js.map +1 -0
- package/dist/sof/generic/EveSOFDataGeneric.js +5 -69
- package/dist/sof/generic/EveSOFDataGeneric.js.map +1 -1
- package/dist/sof/generic/index.js +5 -1
- package/dist/sof/generic/index.js.map +1 -1
- package/dist/sof/index.js +23 -7
- package/dist/sof/index.js.map +1 -1
- package/dist/sof/pattern/ErrSOFProjectionNotFound.js +20 -0
- package/dist/sof/pattern/ErrSOFProjectionNotFound.js.map +1 -0
- package/dist/sof/pattern/EveSOFDataPattern.js +2 -17
- package/dist/sof/pattern/EveSOFDataPattern.js.map +1 -1
- package/dist/sof/pattern/index.js +2 -1
- package/dist/sof/pattern/index.js.map +1 -1
- package/dist/sof/shared/ErrSOFAreaTypeNotFound.js +16 -0
- package/dist/sof/shared/ErrSOFAreaTypeNotFound.js.map +1 -0
- package/dist/sof/shared/ErrSOFLogoSetTypeNotFound.js +16 -0
- package/dist/sof/shared/ErrSOFLogoSetTypeNotFound.js.map +1 -0
- package/dist/sof/shared/ErrSOFLogoSetTypeUnknown.js +16 -0
- package/dist/sof/shared/ErrSOFLogoSetTypeUnknown.js.map +1 -0
- package/dist/sof/shared/EveSOFDataArea.js +2 -13
- package/dist/sof/shared/EveSOFDataArea.js.map +1 -1
- package/dist/sof/shared/EveSOFDataLogoSet.js +3 -27
- package/dist/sof/shared/EveSOFDataLogoSet.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameter.js +2 -146
- package/dist/sof/shared/EveSOFDataParameter.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterBool.js +40 -0
- package/dist/sof/shared/EveSOFDataParameterBool.js.map +1 -0
- package/dist/sof/shared/EveSOFDataParameterColor.js +36 -0
- package/dist/sof/shared/EveSOFDataParameterColor.js.map +1 -0
- package/dist/sof/shared/EveSOFDataParameterFloat.js +37 -0
- package/dist/sof/shared/EveSOFDataParameterFloat.js.map +1 -0
- package/dist/sof/shared/EveSOFDataParameterInt.js +37 -0
- package/dist/sof/shared/EveSOFDataParameterInt.js.map +1 -0
- package/dist/sof/shared/EveSOFDataParameterVector2.js +37 -0
- package/dist/sof/shared/EveSOFDataParameterVector2.js.map +1 -0
- package/dist/sof/shared/EveSOFDataParameterVector3.js +37 -0
- package/dist/sof/shared/EveSOFDataParameterVector3.js.map +1 -0
- package/dist/sof/shared/{EveSOFDataSpotlightAttachment.js → EveSOFDataSpotLightAttachment.js} +1 -1
- package/dist/sof/shared/{EveSOFDataSpotlightAttachment.js.map → EveSOFDataSpotLightAttachment.js.map} +1 -1
- package/dist/sof/shared/index.js +13 -4
- package/dist/sof/shared/index.js.map +1 -1
- package/dist/sof/sofDocumentValues.js +33 -0
- package/dist/sof/sofDocumentValues.js.map +1 -0
- package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js +168 -0
- package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js.map +1 -0
- package/dist/trinity/controllers/{ITr2Controller.js → ITr2Controller/ITr2Controller.js} +2 -134
- package/dist/trinity/controllers/ITr2Controller/ITr2Controller.js.map +1 -0
- package/dist/trinity/controllers/Tr2Controller.js +2 -1
- package/dist/trinity/controllers/Tr2Controller.js.map +1 -1
- package/dist/trinity/controllers/Tr2ControllerReference.js +2 -1
- package/dist/trinity/controllers/Tr2ControllerReference.js.map +1 -1
- package/dist/trinity/controllers/action/ITr2ControllerAction.js +2 -1
- package/dist/trinity/controllers/action/ITr2ControllerAction.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js +10 -9
- package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js.map +1 -1
- package/dist/trinity/controllers/expression/CjsControllerExpressionCompileError.js +26 -0
- package/dist/trinity/controllers/expression/CjsControllerExpressionCompileError.js.map +1 -0
- package/dist/trinity/controllers/expression/CjsControllerExpressionEvaluateError.js +24 -0
- package/dist/trinity/controllers/expression/CjsControllerExpressionEvaluateError.js.map +1 -0
- package/dist/trinity/controllers/expression/CjsControllerExpressionParser.js +387 -0
- package/dist/trinity/controllers/expression/CjsControllerExpressionParser.js.map +1 -0
- package/dist/trinity/controllers/expression/CjsControllerExpressionProgram.js +4 -1011
- package/dist/trinity/controllers/expression/CjsControllerExpressionProgram.js.map +1 -1
- package/dist/trinity/controllers/expression/expressionRuntime.js +605 -0
- package/dist/trinity/controllers/expression/expressionRuntime.js.map +1 -0
- package/dist/trinity/controllers/index.js +5 -2
- package/dist/trinity/controllers/index.js.map +1 -1
- package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js +2 -1
- package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js.map +1 -1
- package/dist/trinity/controllers/timeline/Tr2TimelineController.js +2 -1
- package/dist/trinity/controllers/timeline/Tr2TimelineController.js.map +1 -1
- package/dist/trinity/core/ITr2Updateable.js +2 -1
- package/dist/trinity/core/ITr2Updateable.js.map +1 -1
- package/dist/trinity/core/Tr2Blitter.js +6 -3
- package/dist/trinity/core/Tr2Blitter.js.map +1 -1
- package/dist/trinity/core/Tr2Denoiser.js +256 -0
- package/dist/trinity/core/Tr2Denoiser.js.map +1 -0
- package/dist/trinity/core/Tr2GpuResourcePool/GpuResourceHandle.js +115 -0
- package/dist/trinity/core/Tr2GpuResourcePool/GpuResourceHandle.js.map +1 -0
- package/dist/trinity/core/Tr2GpuResourcePool/TextureSize2D.js +79 -0
- package/dist/trinity/core/Tr2GpuResourcePool/TextureSize2D.js.map +1 -0
- package/dist/trinity/core/{Tr2GpuResourcePool.js → Tr2GpuResourcePool/Tr2GpuResourcePool.js} +63 -151
- package/dist/trinity/core/Tr2GpuResourcePool/Tr2GpuResourcePool.js.map +1 -0
- package/dist/trinity/core/{Tr2QuadRenderer.js → Tr2QuadRenderer/Tr2QuadRenderer.js} +8 -30
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js.map +1 -0
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js +38 -0
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js.map +1 -0
- package/dist/trinity/core/Tr2RenderUtils.js +20 -3
- package/dist/trinity/core/Tr2RenderUtils.js.map +1 -1
- package/dist/trinity/core/Tr2Renderer.js +146 -1
- package/dist/trinity/core/Tr2Renderer.js.map +1 -1
- package/dist/trinity/core/Tr2ShadowMap.js +135 -14
- package/dist/trinity/core/Tr2ShadowMap.js.map +1 -1
- package/dist/trinity/core/{Tr2TextureArray.js → Tr2TextureArray/Tr2TextureArray.js} +3 -58
- package/dist/trinity/core/Tr2TextureArray/Tr2TextureArray.js.map +1 -0
- package/dist/trinity/core/Tr2TextureArray/Tr2TextureArrayElement.js +61 -0
- package/dist/trinity/core/Tr2TextureArray/Tr2TextureArrayElement.js.map +1 -0
- package/dist/trinity/core/batch/TriRenderBatch/DefaultKeyGenerator.js +26 -0
- package/dist/trinity/core/batch/TriRenderBatch/DefaultKeyGenerator.js.map +1 -0
- package/dist/trinity/core/batch/TriRenderBatch/EffectKeyGenerator.js +29 -0
- package/dist/trinity/core/batch/TriRenderBatch/EffectKeyGenerator.js.map +1 -0
- package/dist/trinity/core/batch/{ITriRenderBatchAccumulator.js → TriRenderBatch/ITriRenderBatchAccumulator.js} +30 -30
- package/dist/trinity/core/batch/TriRenderBatch/ITriRenderBatchAccumulator.js.map +1 -0
- package/dist/trinity/core/batch/{Tr2RenderBatch.js → TriRenderBatch/Tr2RenderBatch.js} +81 -154
- package/dist/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js.map +1 -0
- package/dist/trinity/core/batch/{TriRenderBatchAccumulator.js → TriRenderBatch/TriRenderBatchAccumulator.js} +7 -38
- package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAccumulator.js.map +1 -0
- package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlock.js +61 -0
- package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlock.js.map +1 -0
- package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlocksWithSharedMaterial.js +40 -0
- package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlocksWithSharedMaterial.js.map +1 -0
- package/dist/trinity/core/batch/TriRenderBatchMap.js +6 -1
- package/dist/trinity/core/batch/TriRenderBatchMap.js.map +1 -1
- package/dist/trinity/core/context/Tr2RenderContext.js +75 -57
- package/dist/trinity/core/context/Tr2RenderContext.js.map +1 -1
- package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityEvent.js +67 -0
- package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityEvent.js.map +1 -0
- package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityResults.js +50 -0
- package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityResults.js.map +1 -0
- package/dist/trinity/core/device/Tr2DepthStencil.js +186 -13
- package/dist/trinity/core/device/Tr2DepthStencil.js.map +1 -1
- package/dist/trinity/core/device/{Tr2RingBuffer.js → Tr2RingBuffer/Tr2RingBuffer.js} +27 -79
- package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js.map +1 -0
- package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBufferOffsets.js +114 -0
- package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBufferOffsets.js.map +1 -0
- package/dist/trinity/core/device/{Tr2SuballocatedBuffer.js → Tr2SuballocatedBuffer/Tr2SuballocatedBuffer.js} +5 -59
- package/dist/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBuffer.js.map +1 -0
- package/dist/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBufferAllocation.js +80 -0
- package/dist/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBufferAllocation.js.map +1 -0
- package/dist/trinity/core/index.js +42 -15
- package/dist/trinity/core/index.js.map +1 -1
- package/dist/trinity/core/lighting/Tr2LightManager.js +6 -1
- package/dist/trinity/core/lighting/Tr2LightManager.js.map +1 -1
- package/dist/trinity/core/mesh/{ITr2ImpostorSource.js → ITr2ImpostorSource/ITr2ImpostorSource.js} +6 -28
- package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js.map +1 -0
- package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSourceImpostorHash.js +32 -0
- package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSourceImpostorHash.js.map +1 -0
- package/dist/trinity/core/mesh/{ITr2InstanceData.js → ITr2InstanceData/ITr2InstanceData.js} +5 -29
- package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js.map +1 -0
- package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceDataInstanceData.js +33 -0
- package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceDataInstanceData.js.map +1 -0
- package/dist/trinity/core/mesh/Tr2DirectInstanceData.js +2 -1
- package/dist/trinity/core/mesh/Tr2DirectInstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2MeshBase.js +7 -1
- package/dist/trinity/core/mesh/Tr2MeshBase.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js +2 -1
- package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/TriGeometryResAllocations.js +6 -2
- package/dist/trinity/core/mesh/TriGeometryResAllocations.js.map +1 -1
- package/dist/trinity/core/rawData/CjsConstantLayout.js +196 -0
- package/dist/trinity/core/rawData/CjsConstantLayout.js.map +1 -0
- package/dist/trinity/core/rawData/CjsPerFrameLayouts.js +8 -3
- package/dist/trinity/core/rawData/CjsPerFrameLayouts.js.map +1 -1
- package/dist/trinity/core/rawData/CjsPerObjectLayouts.js +40 -732
- package/dist/trinity/core/rawData/CjsPerObjectLayouts.js.map +1 -1
- package/dist/trinity/core/rawData/layouts/CjsEveBasicLayout.js +34 -0
- package/dist/trinity/core/rawData/layouts/CjsEveBasicLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveBoosterSetLayout.js +69 -0
- package/dist/trinity/core/rawData/layouts/CjsEveBoosterSetLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveChildBoosterSetLayout.js +59 -0
- package/dist/trinity/core/rawData/layouts/CjsEveChildBoosterSetLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveChildBulletStormLayout.js +37 -0
- package/dist/trinity/core/rawData/layouts/CjsEveChildBulletStormLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveChildSpherePinLayout.js +44 -0
- package/dist/trinity/core/rawData/layouts/CjsEveChildSpherePinLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveLensflareLayout.js +31 -0
- package/dist/trinity/core/rawData/layouts/CjsEveLensflareLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveMissileWarheadLayout.js +29 -0
- package/dist/trinity/core/rawData/layouts/CjsEveMissileWarheadLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEvePerObjectLayout.js +39 -0
- package/dist/trinity/core/rawData/layouts/CjsEvePerObjectLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSceneStaticParticlesLayout.js +30 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSceneStaticParticlesLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectDecalLayout.js +78 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectDecalLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectLayout.js +169 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpacePerObjectLayout.js +107 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpacePerObjectLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpherePinLayout.js +44 -0
- package/dist/trinity/core/rawData/layouts/CjsEveSpherePinLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveStretch2Layout.js +34 -0
- package/dist/trinity/core/rawData/layouts/CjsEveStretch2Layout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsEveTurretSetLayout.js +82 -0
- package/dist/trinity/core/rawData/layouts/CjsEveTurretSetLayout.js.map +1 -0
- package/dist/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js +42 -0
- package/dist/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveBasicPerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/EveBasicPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveBoosterSetPerObjectData.js +59 -0
- package/dist/trinity/core/rawData/perObjectData/EveBoosterSetPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveChildBoosterSetPerObjectData.js +59 -0
- package/dist/trinity/core/rawData/perObjectData/EveChildBoosterSetPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveChildBulletStormPerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/EveChildBulletStormPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveChildSpherePinPerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/EveChildSpherePinPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveDecalPerObjectData.js +59 -0
- package/dist/trinity/core/rawData/perObjectData/EveDecalPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveLensflarePerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/EveLensflarePerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveMissileWarheadPerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/EveMissileWarheadPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveSceneStaticParticlesPerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/EveSceneStaticParticlesPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveSpherePinPerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/EveSpherePinPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/EveTurretSetPerObjectData.js +59 -0
- package/dist/trinity/core/rawData/perObjectData/EveTurretSetPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/StretchPerObjectData.js +55 -0
- package/dist/trinity/core/rawData/perObjectData/StretchPerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/{Tr2PerObjectData.js → perObjectData/Tr2PerObjectData.js} +110 -62
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectData.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js +104 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js +87 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js.map +1 -0
- package/dist/trinity/core/variable/TriVariable.js +83 -83
- package/dist/trinity/core/variable/TriVariable.js.map +1 -1
- package/dist/trinity/core/vertex/{Tr2VertexDefinition.js → Tr2VertexDefinition/Tr2VertexDefinition.js} +4 -20
- package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js.map +1 -0
- package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinitionItem.js +29 -0
- package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinitionItem.js.map +1 -0
- package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js +116 -36
- package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js +50 -92
- package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js.map +1 -1
- package/dist/trinity/eve/EveModularObjectModifier.js +9 -5
- package/dist/trinity/eve/EveModularObjectModifier.js.map +1 -1
- package/dist/trinity/eve/IEveInheritPropertiesOwner.js +2 -1
- package/dist/trinity/eve/IEveInheritPropertiesOwner.js.map +1 -1
- package/dist/trinity/eve/IEveSpaceObject2.js +2 -1
- package/dist/trinity/eve/IEveSpaceObject2.js.map +1 -1
- package/dist/trinity/eve/IEveTransform.js +2 -1
- package/dist/trinity/eve/IEveTransform.js.map +1 -1
- package/dist/trinity/eve/attachment/banner/EveBannerSet.js +2 -2
- package/dist/trinity/eve/attachment/banner/EveBannerSet.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js +109 -133
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js +40 -0
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js.map +1 -0
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js.map +1 -1
- package/dist/trinity/eve/attachment/decal/DecalMeshCache.js +2 -14
- package/dist/trinity/eve/attachment/decal/DecalMeshCache.js.map +1 -1
- package/dist/trinity/eve/attachment/decal/DecalMeshCacheMeshBuffers.js +18 -0
- package/dist/trinity/eve/attachment/decal/DecalMeshCacheMeshBuffers.js.map +1 -0
- package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js +1 -1
- package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js.map +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSet.js +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSet.js.map +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneSet.js +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneSet.js.map +1 -1
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js +2 -2
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js +4 -2
- package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js.map +1 -1
- package/dist/trinity/eve/attachment/turrets/EveTurretSet.js +143 -139
- package/dist/trinity/eve/attachment/turrets/EveTurretSet.js.map +1 -1
- package/dist/trinity/eve/camera/EveCamera.js +1 -1
- package/dist/trinity/eve/camera/EveCamera.js.map +1 -1
- package/dist/trinity/eve/child/EveChildBoosterSet.js +12 -1
- package/dist/trinity/eve/child/EveChildBoosterSet.js.map +1 -1
- package/dist/trinity/eve/child/EveChildCloud2.js +178 -151
- package/dist/trinity/eve/child/EveChildCloud2.js.map +1 -1
- package/dist/trinity/eve/child/EveChildContainer.js +141 -141
- package/dist/trinity/eve/child/EveChildContainer.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js +87 -0
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js.map +1 -0
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js +46 -0
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js.map +1 -0
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js +35 -0
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js.map +1 -0
- package/dist/trinity/eve/child/{EveChildInstancedMeshes.js → EveChildInstancedMeshes/EveChildInstancedMeshes.js} +42 -163
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js.map +1 -0
- package/dist/trinity/eve/child/EveChildMesh.js +218 -218
- package/dist/trinity/eve/child/EveChildMesh.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js +53 -0
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js.map +1 -0
- package/dist/trinity/eve/child/{EveChildPartData.js → EveChildPartData/EveChildPartDataPartData.js} +9 -45
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartDataPartData.js.map +1 -0
- package/dist/trinity/eve/child/EveChildParticleSystem.js +30 -29
- package/dist/trinity/eve/child/EveChildParticleSystem.js.map +1 -1
- package/dist/trinity/eve/child/EveChildTransform.js +5 -0
- package/dist/trinity/eve/child/EveChildTransform.js.map +1 -1
- package/dist/trinity/eve/child/EveChildTurret.js +7 -0
- package/dist/trinity/eve/child/EveChildTurret.js.map +1 -1
- package/dist/trinity/eve/index.js +10 -4
- package/dist/trinity/eve/index.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2Light.js +5 -0
- package/dist/trinity/eve/lights/Tr2Light.js.map +1 -1
- package/dist/trinity/eve/overlays/overlayBatches.js +6 -1
- package/dist/trinity/eve/overlays/overlayBatches.js.map +1 -1
- package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js +4 -4
- package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch2.js +76 -71
- package/dist/trinity/eve/renderable/stretch/EveStretch2.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch3.js +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch3.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveShip2.js +3 -3
- package/dist/trinity/eve/spaceObject/EveShip2.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveSpaceObject2.js +408 -407
- package/dist/trinity/eve/spaceObject/EveSpaceObject2.js.map +1 -1
- package/dist/trinity/eve/ui/EveTacticalOverlay.js +1 -1
- package/dist/trinity/eve/ui/EveTacticalOverlay.js.map +1 -1
- package/dist/trinity/eve/ui/lines/EveCurveLineSet.js +9 -9
- package/dist/trinity/eve/ui/lines/EveCurveLineSet.js.map +1 -1
- package/dist/trinity/eve/ui/lines/EveLineSet.js +27 -25
- package/dist/trinity/eve/ui/lines/EveLineSet.js.map +1 -1
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js +3 -2
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js.map +1 -1
- package/dist/trinity/generated/index.js +0 -1
- package/dist/trinity/generated/index.js.map +1 -1
- package/dist/trinity/generated/trinityCore/index.js +0 -1
- package/dist/trinity/generated/trinityCore/index.js.map +1 -1
- package/dist/trinity/index.js +59 -23
- package/dist/trinity/index.js.map +1 -1
- package/dist/trinity/particle/{ITr2GenericEmitter.js → ITr2GenericEmitter/ITr2GenericEmitter.js} +4 -32
- package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitter.js.map +1 -0
- package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitterUpdateArguments.js +36 -0
- package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitterUpdateArguments.js.map +1 -0
- package/dist/trinity/particle/Tr2ParticleSystem.js +4 -2
- package/dist/trinity/particle/Tr2ParticleSystem.js.map +1 -1
- package/dist/trinity/particle/element/Tr2ParticleElementData.js +15 -4
- package/dist/trinity/particle/element/Tr2ParticleElementData.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js +21 -20
- package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js +23 -22
- package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2StaticEmitter.js +14 -13
- package/dist/trinity/particle/emitter/Tr2StaticEmitter.js.map +1 -1
- package/dist/trinity/particle/index.js +2 -1
- package/dist/trinity/particle/index.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js +7 -1
- package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js.map +1 -1
- package/dist/trinity/shader/Tr2Effect.js +131 -58
- package/dist/trinity/shader/Tr2Effect.js.map +1 -1
- package/dist/trinity/shader/Tr2EffectStateManager.js +17 -5
- package/dist/trinity/shader/Tr2EffectStateManager.js.map +1 -1
- package/dist/trinity/shader/Tr2Material.js +21 -4
- package/dist/trinity/shader/Tr2Material.js.map +1 -1
- package/dist/trinity/shader/material/Tr2EffectPassParameters.js +4 -1
- package/dist/trinity/shader/material/Tr2EffectPassParameters.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js +2 -2
- package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js.map +1 -1
- package/dist/trinityal/Tr2BufferAL/Tr2BufferDescriptionAL.js +79 -0
- package/dist/trinityal/Tr2BufferAL/Tr2BufferDescriptionAL.js.map +1 -0
- package/dist/trinityal/{Tr2DeviceResourceAL.js → Tr2DeviceResourceAL/Tr2BaseDeviceResourceAL.js} +77 -79
- package/dist/trinityal/Tr2DeviceResourceAL/Tr2BaseDeviceResourceAL.js.map +1 -0
- package/dist/trinityal/Tr2DeviceResourceAL/Tr2DeviceResourceAL.js +24 -0
- package/dist/trinityal/Tr2DeviceResourceAL/Tr2DeviceResourceAL.js.map +1 -0
- package/dist/trinityal/Tr2DrawUPHelper.js +2 -1
- package/dist/trinityal/Tr2DrawUPHelper.js.map +1 -1
- package/dist/trinityal/Tr2HalHelperStructures/Tr2MsaaDesc.js +45 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2MsaaDesc.js.map +1 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2SamplerDescription.js +154 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2SamplerDescription.js.map +1 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2SubresourceData.js +48 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2SubresourceData.js.map +1 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureCoordBox.js +75 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureCoordBox.js.map +1 -0
- package/dist/trinityal/{Tr2HalHelperStructures.js → Tr2HalHelperStructures/Tr2TextureSubresource.js} +11 -115
- package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureSubresource.js.map +1 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2Viewport.js +51 -0
- package/dist/trinityal/Tr2HalHelperStructures/Tr2Viewport.js.map +1 -0
- package/dist/trinityal/{Tr2RenderPassAL.js → Tr2RenderPassAL/Tr2ColorAttachment.js} +5 -28
- package/dist/trinityal/Tr2RenderPassAL/Tr2ColorAttachment.js.map +1 -0
- package/dist/trinityal/Tr2RenderPassAL/Tr2DepthAttachment.js +38 -0
- package/dist/trinityal/Tr2RenderPassAL/Tr2DepthAttachment.js.map +1 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2RegisterMapAL.js +80 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2RegisterMapAL.js.map +1 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetAL.js +76 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetAL.js.map +1 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetALStub.js +96 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetALStub.js.map +1 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetDescriptionAL.js +196 -0
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetDescriptionAL.js.map +1 -0
- package/dist/trinityal/index.js +22 -9
- package/dist/trinityal/index.js.map +1 -1
- package/dist/trinityal/stub/Tr2BufferALStub.js +86 -141
- package/dist/trinityal/stub/Tr2BufferALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2CapsALStub.js +17 -0
- package/dist/trinityal/stub/Tr2CapsALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2ConstantBufferALStub.js +57 -41
- package/dist/trinityal/stub/Tr2ConstantBufferALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2FenceALStub.js +18 -2
- package/dist/trinityal/stub/Tr2FenceALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2GpuTimerALStub.js +97 -0
- package/dist/trinityal/stub/Tr2GpuTimerALStub.js.map +1 -0
- package/dist/trinityal/stub/Tr2OcclusionQueryALStub.js +124 -0
- package/dist/trinityal/stub/Tr2OcclusionQueryALStub.js.map +1 -0
- package/dist/trinityal/stub/Tr2PipelineStatsQueryALStub/Tr2PipelineStatsQueryALStub.js +146 -0
- package/dist/trinityal/stub/Tr2PipelineStatsQueryALStub/Tr2PipelineStatsQueryALStub.js.map +1 -0
- package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2BindlessResourcesAL.js +28 -0
- package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2BindlessResourcesAL.js.map +1 -0
- package/dist/trinityal/stub/{Tr2RenderContextALStub.js → Tr2RenderContextALStub/Tr2RenderContextALStub.js} +70 -75
- package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2RenderContextALStub.js.map +1 -0
- package/dist/trinityal/stub/Tr2SamplerStateALStub.js +47 -31
- package/dist/trinityal/stub/Tr2SamplerStateALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2ShaderALStub.js +61 -45
- package/dist/trinityal/stub/Tr2ShaderALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2ShaderProgramALStub.js +51 -33
- package/dist/trinityal/stub/Tr2ShaderProgramALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2SwapChainALStub.js +61 -45
- package/dist/trinityal/stub/Tr2SwapChainALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2TextureALStub.js +188 -171
- package/dist/trinityal/stub/Tr2TextureALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2VertexLayoutALStub.js +43 -27
- package/dist/trinityal/stub/Tr2VertexLayoutALStub.js.map +1 -1
- package/dist/trinityal/stub/{Tr2VideoAdapterInfoALStub.js → Tr2VideoAdapterInfoStub.js} +16 -1
- package/dist/trinityal/stub/Tr2VideoAdapterInfoStub.js.map +1 -0
- package/dist/trinityal/stub/index.js +8 -4
- package/dist/trinityal/stub/index.js.map +1 -1
- package/dist/trinityal/vertexLayoutMatch.js +2 -2
- package/dist/trinityal/vertexLayoutMatch.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuBufferAL.js +105 -90
- package/dist/trinityal/webgpu/CjsWebgpuBufferAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuCapsAL.js +17 -0
- package/dist/trinityal/webgpu/CjsWebgpuCapsAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuConstantBufferAL.js +15 -0
- package/dist/trinityal/webgpu/CjsWebgpuConstantBufferAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuDevice.js +2 -2
- package/dist/trinityal/webgpu/CjsWebgpuDevice.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js +900 -938
- package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuResourceSetAL.js +56 -60
- package/dist/trinityal/webgpu/CjsWebgpuResourceSetAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuSamplerStateAL.js +16 -1
- package/dist/trinityal/webgpu/CjsWebgpuSamplerStateAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuShaderAL.js +100 -379
- package/dist/trinityal/webgpu/CjsWebgpuShaderAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuShaderProgramAL.js +330 -0
- package/dist/trinityal/webgpu/CjsWebgpuShaderProgramAL.js.map +1 -0
- package/dist/trinityal/webgpu/CjsWebgpuTextureAL.js +15 -0
- package/dist/trinityal/webgpu/CjsWebgpuTextureAL.js.map +1 -1
- package/dist/trinityal/webgpu/core/{constantArena.js → CjsWebgpuConstantArena.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuConstantArena.js.map +1 -0
- package/dist/trinityal/webgpu/core/{batchGroups.js → CjsWebgpuEncodeState.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuEncodeState.js.map +1 -0
- package/dist/trinityal/webgpu/core/{perFrameSource.js → CjsWebgpuPerFrameSource.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuPerFrameSource.js.map +1 -0
- package/dist/trinityal/webgpu/core/{pipelineCache.js → CjsWebgpuPipelineCache.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuPipelineCache.js.map +1 -0
- package/dist/trinityal/webgpu/core/{psoDescription.js → CjsWebgpuPsoDescription.js} +2 -2
- package/dist/trinityal/webgpu/core/CjsWebgpuPsoDescription.js.map +1 -0
- package/dist/trinityal/webgpu/core/{renderTarget.js → CjsWebgpuRenderTarget.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuRenderTarget.js.map +1 -0
- package/dist/trinityal/webgpu/core/{samplerSource.js → CjsWebgpuSamplerSource.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuSamplerSource.js.map +1 -0
- package/dist/trinityal/webgpu/core/{textureSource.js → CjsWebgpuTextureSource.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuTextureSource.js.map +1 -0
- package/dist/trinityal/webgpu/core/{trinityBatchDispatcher.js → CjsWebgpuTrinityBatchDispatcher.js} +4 -4
- package/dist/trinityal/webgpu/core/CjsWebgpuTrinityBatchDispatcher.js.map +1 -0
- package/dist/trinityal/webgpu/core/{trinityBatchResolver.js → CjsWebgpuTrinityBatchResolver.js} +81 -81
- package/dist/trinityal/webgpu/core/CjsWebgpuTrinityBatchResolver.js.map +1 -0
- package/dist/trinityal/webgpu/core/{trinityPassEncoder.js → CjsWebgpuTrinityPassEncoder.js} +2 -2
- package/dist/trinityal/webgpu/core/CjsWebgpuTrinityPassEncoder.js.map +1 -0
- package/dist/trinityal/webgpu/core/{workQueue.js → CjsWebgpuWorkQueue.js} +1 -1
- package/dist/trinityal/webgpu/core/CjsWebgpuWorkQueue.js.map +1 -0
- package/dist/trinityal/webgpu/internal.js +12 -11
- package/dist/trinityal/webgpu/internal.js.map +1 -1
- package/docs/audio/reference/classes/trinity.md +44 -34
- package/docs/character/architecture.md +276 -0
- package/docs/character/reference/character-appearance-plans.md +30 -66
- package/docs/character/reference/prepared-libraries.md +14 -30
- package/docs/global/reference/api.md +2 -1
- package/docs/global/reference/classes/README.md +53 -71
- package/docs/global/reference/classes/dropped.md +16 -0
- package/docs/resource/README.md +19 -15
- package/docs/resource/architecture.md +9 -2
- package/docs/resource/concepts/format-capabilities.md +124 -80
- package/docs/resource/concepts/shared-format-helpers.md +94 -0
- package/docs/resource/formats/README.md +230 -224
- package/docs/resource/formats/bitknit2.md +221 -0
- package/docs/resource/formats/carbon-effect-container.md +184 -269
- package/docs/resource/formats/gr2.md +6 -1
- package/docs/resource/formats/schemabound.md +28 -48
- package/docs/resource/formats/static.md +70 -97
- package/docs/resource/formats/webgl/carbon-constant-layouts.md +8 -8
- package/docs/resource/formats/webgl/decl-io.md +165 -256
- package/docs/resource/formats/webgl/memory-structured.md +64 -142
- package/docs/resource/formats/webgl/texture-sample.md +109 -138
- package/docs/resource/formats/webgpu/formats/carbon-webgpu.md +38 -69
- package/docs/resource/formats/webgpu/guides/effect-packaging.md +54 -116
- package/docs/resource/formats/webgpu/reference/api.md +64 -67
- package/docs/resource/formats/webgpu/reference/wgsl-compatibility.md +158 -345
- package/docs/resource/reference/classes/core.md +256 -236
- package/docs/resource/reference/classes/formats.md +1668 -1672
- package/docs/resource/reference/workers.md +4 -2
- package/docs/sof/reference/classes/core.md +1 -1
- package/docs/sof/reference/classes/faction.md +2 -2
- package/docs/sof/reference/classes/generic.md +4 -4
- package/docs/sof/reference/classes/pattern.md +1 -1
- package/docs/sof/reference/classes/shared.md +10 -10
- package/docs/trinity/architecture.md +55 -44
- package/docs/trinity/concepts/generated-class-lifecycle.md +10 -15
- package/docs/trinity/reference/classes/curves-and-utilities.md +496 -506
- package/docs/trinity/reference/classes/dropped.md +0 -189
- package/docs/trinity/reference/classes/eve-runtime.md +8 -8
- package/docs/trinity/reference/classes/generated.md +0 -10
- package/docs/trinity/reference/classes/particle.md +2 -2
- package/docs/trinity/reference/classes/trinity-core.md +1554 -1256
- package/docs/trinity/reference/implementation-status.md +50 -75
- package/docs/trinity/reference/main-semantic-extraction.md +13 -17
- package/docs/trinityal/reference/classes/README.md +77 -27
- package/docs/trinityal/reference/classes/dropped.md +92 -0
- package/docs/trinityal/webgpu/README.md +3 -1
- package/docs/trinityal/webgpu/architecture.md +121 -228
- package/docs/trinityal/webgpu/reference/api.md +5 -5
- package/docs/trinityal/webgpu/reference/classes/README.md +13 -13
- package/format-notices/gr2/NOTICE +18 -12
- package/format-notices/gr2/THIRD-PARTY-NOTICES.md +5 -5
- package/package.json +4 -1
- package/dist/audio/trinity/audio/AudActionLog.js +0 -173
- package/dist/audio/trinity/audio/AudActionLog.js.map +0 -1
- package/dist/audio/trinity/audio/AudObstructionOcclusion.js.map +0 -1
- package/dist/global/contracts/CjsScriptCallback.js +0 -94
- package/dist/global/contracts/CjsScriptCallback.js.map +0 -1
- package/dist/trinity/controllers/ITr2Controller.js.map +0 -1
- package/dist/trinity/core/Tr2GpuResourcePool.js.map +0 -1
- package/dist/trinity/core/Tr2QuadRenderer.js.map +0 -1
- package/dist/trinity/core/Tr2TextureArray.js.map +0 -1
- package/dist/trinity/core/batch/ITriRenderBatchAccumulator.js.map +0 -1
- package/dist/trinity/core/batch/Tr2RenderBatch.js.map +0 -1
- package/dist/trinity/core/batch/TriRenderBatchAccumulator.js.map +0 -1
- package/dist/trinity/core/context/CjsShadowMapExecutor.js +0 -43
- package/dist/trinity/core/context/CjsShadowMapExecutor.js.map +0 -1
- package/dist/trinity/core/context/CjsVolumetricsExecutor.js +0 -64
- package/dist/trinity/core/context/CjsVolumetricsExecutor.js.map +0 -1
- package/dist/trinity/core/context/Tr2VisibilityResults.js +0 -109
- package/dist/trinity/core/context/Tr2VisibilityResults.js.map +0 -1
- package/dist/trinity/core/device/Tr2RingBuffer.js.map +0 -1
- package/dist/trinity/core/device/Tr2SuballocatedBuffer.js.map +0 -1
- package/dist/trinity/core/mesh/ITr2ImpostorSource.js.map +0 -1
- package/dist/trinity/core/mesh/ITr2InstanceData.js.map +0 -1
- package/dist/trinity/core/rawData/Tr2PerObjectData.js.map +0 -1
- package/dist/trinity/core/rawData/constantLayout.js +0 -175
- package/dist/trinity/core/rawData/constantLayout.js.map +0 -1
- package/dist/trinity/core/vertex/Tr2VertexDefinition.js.map +0 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes.js.map +0 -1
- package/dist/trinity/eve/child/EveChildPartData.js.map +0 -1
- package/dist/trinity/generated/trinityCore/Tr2Denoiser.js +0 -47
- package/dist/trinity/generated/trinityCore/Tr2Denoiser.js.map +0 -1
- package/dist/trinity/particle/ITr2GenericEmitter.js.map +0 -1
- package/dist/trinityal/Tr2DeviceResourceAL.js.map +0 -1
- package/dist/trinityal/Tr2HalHelperStructures.js.map +0 -1
- package/dist/trinityal/Tr2RenderPassAL.js.map +0 -1
- package/dist/trinityal/Tr2ResourceSetAL.js +0 -419
- package/dist/trinityal/Tr2ResourceSetAL.js.map +0 -1
- package/dist/trinityal/Tr2SamplerDescription.js +0 -72
- package/dist/trinityal/Tr2SamplerDescription.js.map +0 -1
- package/dist/trinityal/stub/Tr2QueryALStub.js +0 -326
- package/dist/trinityal/stub/Tr2QueryALStub.js.map +0 -1
- package/dist/trinityal/stub/Tr2RenderContextALStub.js.map +0 -1
- package/dist/trinityal/stub/Tr2VideoAdapterInfoALStub.js.map +0 -1
- package/dist/trinityal/webgpu/core/batchGroups.js.map +0 -1
- package/dist/trinityal/webgpu/core/constantArena.js.map +0 -1
- package/dist/trinityal/webgpu/core/perFrameSource.js.map +0 -1
- package/dist/trinityal/webgpu/core/pipelineCache.js.map +0 -1
- package/dist/trinityal/webgpu/core/psoDescription.js.map +0 -1
- package/dist/trinityal/webgpu/core/renderTarget.js.map +0 -1
- package/dist/trinityal/webgpu/core/samplerSource.js.map +0 -1
- package/dist/trinityal/webgpu/core/textureSource.js.map +0 -1
- package/dist/trinityal/webgpu/core/trinityBatchDispatcher.js.map +0 -1
- package/dist/trinityal/webgpu/core/trinityBatchResolver.js.map +0 -1
- package/dist/trinityal/webgpu/core/trinityPassEncoder.js.map +0 -1
- package/dist/trinityal/webgpu/core/workQueue.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# Carbon audio graph class catalog
|
|
2
2
|
|
|
3
3
|
Status: Evolving
|
|
4
|
-
Scope: `@carbonenginejs/runtime/audio/trinity` classes under `src/audio/trinity/`
|
|
4
|
+
Scope: `@carbonenginejs/runtime/audio/trinity` classes under `src/audio/trinity/`
|
|
5
5
|
Audience: Users, maintainers, and automated readers
|
|
6
|
-
Summary: Provides one-sentence purpose descriptors for maintained Carbon audio graph classes.
|
|
7
|
-
|
|
8
|
-
<!-- class:IStretchAudio -->
|
|
9
|
-
## `IStretchAudio`
|
|
10
|
-
|
|
11
|
-
Required stretch-audio component contract.
|
|
12
|
-
|
|
13
|
-
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
14
|
-
- Source: `src/audio/trinity/trinityAudioApi/IStretchAudio.js`
|
|
15
|
-
- Visibility: Public
|
|
16
|
-
- Kind: Faithful Carbon port
|
|
6
|
+
Summary: Provides one-sentence purpose descriptors for maintained Carbon audio graph classes.
|
|
7
|
+
|
|
8
|
+
<!-- class:IStretchAudio -->
|
|
9
|
+
## `IStretchAudio`
|
|
10
|
+
|
|
11
|
+
Required stretch-audio component contract.
|
|
12
|
+
|
|
13
|
+
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
14
|
+
- Source: `src/audio/trinity/trinityAudioApi/IStretchAudio.js`
|
|
15
|
+
- Visibility: Public
|
|
16
|
+
- Kind: Faithful Carbon port
|
|
17
17
|
|
|
18
18
|
<!-- class:AudActionLogCB -->
|
|
19
19
|
## `AudActionLogCB`
|
|
@@ -21,7 +21,7 @@ Required stretch-audio component contract.
|
|
|
21
21
|
Queues Carbon-shaped audio action records and flushes them to a registered JavaScript callback during manager processing.
|
|
22
22
|
|
|
23
23
|
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
24
|
-
- Source: `src/audio/trinity/audio/AudActionLog.js`
|
|
24
|
+
- Source: `src/audio/trinity/audio/AudActionLog/AudActionLogCB.js`
|
|
25
25
|
- Visibility: Public
|
|
26
26
|
- Kind: Adapted Carbon concept
|
|
27
27
|
|
|
@@ -31,7 +31,7 @@ Queues Carbon-shaped audio action records and flushes them to a registered JavaS
|
|
|
31
31
|
Provides the base value contract for one queued Carbon audio action.
|
|
32
32
|
|
|
33
33
|
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
34
|
-
- Source: `src/audio/trinity/audio/AudActionLog.js`
|
|
34
|
+
- Source: `src/audio/trinity/audio/AudActionLog/AudActionRecord.js`
|
|
35
35
|
- Visibility: Public
|
|
36
36
|
- Kind: Faithful Carbon port
|
|
37
37
|
|
|
@@ -41,7 +41,7 @@ Provides the base value contract for one queued Carbon audio action.
|
|
|
41
41
|
Records one event post with time, emitter, playing, event, and name identities.
|
|
42
42
|
|
|
43
43
|
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
44
|
-
- Source: `src/audio/trinity/audio/AudActionLog.js`
|
|
44
|
+
- Source: `src/audio/trinity/audio/AudActionLog/AudActionRecordPostEvent.js`
|
|
45
45
|
- Visibility: Public
|
|
46
46
|
- Kind: Faithful Carbon port
|
|
47
47
|
|
|
@@ -51,7 +51,7 @@ Records one event post with time, emitter, playing, event, and name identities.
|
|
|
51
51
|
Records one stop or break action applied to a playing identity.
|
|
52
52
|
|
|
53
53
|
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
54
|
-
- Source: `src/audio/trinity/audio/AudActionLog.js`
|
|
54
|
+
- Source: `src/audio/trinity/audio/AudActionLog/AudActionRecordExecuteActionOnPlayingID.js`
|
|
55
55
|
- Visibility: Public
|
|
56
56
|
- Kind: Faithful Carbon port
|
|
57
57
|
|
|
@@ -61,7 +61,7 @@ Records one stop or break action applied to a playing identity.
|
|
|
61
61
|
Records one emitter-local switch group and state change.
|
|
62
62
|
|
|
63
63
|
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
64
|
-
- Source: `src/audio/trinity/audio/AudActionLog.js`
|
|
64
|
+
- Source: `src/audio/trinity/audio/AudActionLog/AudActionRecordSetSwitch.js`
|
|
65
65
|
- Visibility: Public
|
|
66
66
|
- Kind: Faithful Carbon port
|
|
67
67
|
|
|
@@ -71,7 +71,7 @@ Records one emitter-local switch group and state change.
|
|
|
71
71
|
Records one global audio state-group change.
|
|
72
72
|
|
|
73
73
|
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
74
|
-
- Source: `src/audio/trinity/audio/AudActionLog.js`
|
|
74
|
+
- Source: `src/audio/trinity/audio/AudActionLog/AudActionRecordSetState.js`
|
|
75
75
|
- Visibility: Public
|
|
76
76
|
- Kind: Faithful Carbon port
|
|
77
77
|
|
|
@@ -81,7 +81,7 @@ Records one global audio state-group change.
|
|
|
81
81
|
Records one global or emitter-local real-time parameter change.
|
|
82
82
|
|
|
83
83
|
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
84
|
-
- Source: `src/audio/trinity/audio/AudActionLog.js`
|
|
84
|
+
- Source: `src/audio/trinity/audio/AudActionLog/AudActionRecordSetRTPC.js`
|
|
85
85
|
- Visibility: Public
|
|
86
86
|
- Kind: Faithful Carbon port
|
|
87
87
|
|
|
@@ -168,10 +168,10 @@ Provides the fixed high-priority Carbon emitter dedicated to music events.
|
|
|
168
168
|
<!-- class:AudObstructionOcclusion -->
|
|
169
169
|
## `AudObstructionOcclusion`
|
|
170
170
|
|
|
171
|
-
Owns Carbon's caller-supplied
|
|
171
|
+
Owns Carbon's caller-supplied line-of-sight state and backend delivery.
|
|
172
172
|
|
|
173
173
|
- Export: None
|
|
174
|
-
- Source: `src/audio/trinity/audio/AudObstructionOcclusion.js`
|
|
174
|
+
- Source: `src/audio/trinity/audio/AudObstructionOcclusion/AudObstructionOcclusion.js`
|
|
175
175
|
- Visibility: Internal
|
|
176
176
|
- Kind: Internal implementation class
|
|
177
177
|
|
|
@@ -238,20 +238,20 @@ Drives a curve set's time from a monitored real-time parameter with a fallback c
|
|
|
238
238
|
<!-- class:EmitterState -->
|
|
239
239
|
## `EmitterState`
|
|
240
240
|
|
|
241
|
-
|
|
241
|
+
Obstruction/occlusion fade state retained for one registered emitter.
|
|
242
242
|
|
|
243
243
|
- Export: None
|
|
244
|
-
- Source: `src/audio/trinity/audio/AudObstructionOcclusion.js`
|
|
244
|
+
- Source: `src/audio/trinity/audio/AudObstructionOcclusion/EmitterState.js`
|
|
245
245
|
- Visibility: Internal
|
|
246
246
|
- Kind: Internal implementation class
|
|
247
247
|
|
|
248
248
|
<!-- class:FadingValue -->
|
|
249
249
|
## `FadingValue`
|
|
250
250
|
|
|
251
|
-
|
|
251
|
+
One obstruction or occlusion value fading towards an authored target.
|
|
252
252
|
|
|
253
253
|
- Export: None
|
|
254
|
-
- Source: `src/audio/trinity/audio/AudObstructionOcclusion.js`
|
|
254
|
+
- Source: `src/audio/trinity/audio/AudObstructionOcclusion/FadingValue.js`
|
|
255
255
|
- Visibility: Internal
|
|
256
256
|
- Kind: Internal implementation class
|
|
257
257
|
|
|
@@ -314,12 +314,22 @@ Stores vertices, indices, and bounds for Carbon audio geometry data.
|
|
|
314
314
|
- Source: `src/audio/generated/trinityAudioApi/Tr2AudGeometryData.js`
|
|
315
315
|
- Visibility: Public
|
|
316
316
|
- Kind: Faithful Carbon port
|
|
317
|
-
<!-- class:ITr2AudEmitter -->
|
|
318
|
-
## `ITr2AudEmitter`
|
|
319
|
-
|
|
320
|
-
Contract audio2 uses to drive an audio emitter: initialisation, placement, naming and prefixing, event posting, switches, RTPCs, attenuation scaling, visibility, muting and forced culling state.
|
|
321
|
-
|
|
322
|
-
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
323
|
-
- Source: `src/audio/trinity/trinityAudioApi/ITr2AudEmitter.js`
|
|
324
|
-
- Visibility: Public
|
|
325
|
-
- Kind: Faithful Carbon port
|
|
317
|
+
<!-- class:ITr2AudEmitter -->
|
|
318
|
+
## `ITr2AudEmitter`
|
|
319
|
+
|
|
320
|
+
Contract audio2 uses to drive an audio emitter: initialisation, placement, naming and prefixing, event posting, switches, RTPCs, attenuation scaling, visibility, muting and forced culling state.
|
|
321
|
+
|
|
322
|
+
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
323
|
+
- Source: `src/audio/trinity/trinityAudioApi/ITr2AudEmitter.js`
|
|
324
|
+
- Visibility: Public
|
|
325
|
+
- Kind: Faithful Carbon port
|
|
326
|
+
|
|
327
|
+
<!-- class:IAudActionLog -->
|
|
328
|
+
## `IAudActionLog`
|
|
329
|
+
|
|
330
|
+
Required logging contract consumed by AudManager.
|
|
331
|
+
|
|
332
|
+
- Export: `@carbonenginejs/runtime/audio/trinity`
|
|
333
|
+
- Source: `src/audio/trinity/audio/AudActionLog/IAudActionLog.js`
|
|
334
|
+
- Visibility: Public
|
|
335
|
+
- Kind: Carbon
|
|
@@ -153,3 +153,279 @@ character/interior schemas reference it.
|
|
|
153
153
|
The removed schema-v1/v2 character graph is not a compatibility surface.
|
|
154
154
|
Consumers migrate to the schema-v10 direct source library and separate
|
|
155
155
|
schema-v4 plan, not speculative legacy models.
|
|
156
|
+
### Incarna placeholders, and what a checker makes of them
|
|
157
|
+
|
|
158
|
+
Found 2026-09-12 by running `carbon-class --check` across the runtime for the
|
|
159
|
+
first time. Five classes under `src/character/incarna/` carry Carbon-shaped names
|
|
160
|
+
that resolve to no Carbon declaration.
|
|
161
|
+
|
|
162
|
+
These historical Incarna placeholders lack current donor declarations; that
|
|
163
|
+
does not apply to all character classes. `Tr2SkinnedObject`,
|
|
164
|
+
`Tr2SkinnedObjectLod` and `Tr2InteriorPlaceable` have donor declarations.
|
|
165
|
+
Record the evidence for each placeholder separately; a name inferred from a
|
|
166
|
+
comment or reference does not establish its fields or behavior as a port.
|
|
167
|
+
The checkers cannot yet distinguish that provisional status from a missing port.
|
|
168
|
+
|
|
169
|
+
#### `Tr2InteriorCell`: the smell it was built from
|
|
170
|
+
|
|
171
|
+
`Tr2InteriorPlaceable.h:36` says placeables *"inhabit one or more
|
|
172
|
+
Tr2InteriorCells, as determined by a ..."* - and that comment is the ONLY
|
|
173
|
+
occurrence in the whole of Carbon. No header declares it, no source defines it.
|
|
174
|
+
|
|
175
|
+
So the NAME is Carbon's and nothing else is. Our
|
|
176
|
+
`src/character/incarna/interior/Tr2InteriorCell.js` is a placeholder built from
|
|
177
|
+
that one line, which is correct practice for this lane - but its SHAPE is
|
|
178
|
+
unevidenced, so nothing about its fields or methods should be trusted as ported.
|
|
179
|
+
Cite the mention in the file so the next reader knows how thin the evidence is.
|
|
180
|
+
|
|
181
|
+
#### The incarna curves invert Carbon's own naming
|
|
182
|
+
|
|
183
|
+
`Tr2ColorCurve`, `Tr2ColorKey`, `Tr2ScalarCurve` and `Tr2ScalarKey` under
|
|
184
|
+
`src/character/incarna/curves/` each say *"Adapted from CCPWGL Tw2ColorCurve2
|
|
185
|
+
(MIT)"*. They are ccpwgl classes with a `Tr2` prefix swapped on.
|
|
186
|
+
|
|
187
|
+
Two problems with that, neither about the code:
|
|
188
|
+
|
|
189
|
+
- **Carbon has curve classes for both**, named the other way round:
|
|
190
|
+
`Tr2CurveColor.h` and `Tr2CurveScalar.h` (plus `Tr2CurveColorMixer`,
|
|
191
|
+
`Tr2CurveScalarExpression`, `Tr2ScalarExprKeyCurve`). Carbon puts the noun
|
|
192
|
+
first - `Tr2Curve` + kind - so `Tr2ColorCurve` reads as Carbon while using
|
|
193
|
+
ccpwgl's word order.
|
|
194
|
+
- **A `Tr2` prefix asserts a Carbon donor.** These have a ccpwgl donor, which is
|
|
195
|
+
a different provenance with different rules: ccpwgl is a loose guide and is
|
|
196
|
+
polluted with concepts that came FROM us, so a ccpwgl adaptation needs its
|
|
197
|
+
origin established rather than assumed.
|
|
198
|
+
|
|
199
|
+
Open question for this lane, not answered here: whether the incarna curves should
|
|
200
|
+
BE `Tr2CurveColor`/`Tr2CurveScalar` - a real port of classes that exist - or
|
|
201
|
+
whether Incarna genuinely needs its own curve types, in which case they should not
|
|
202
|
+
wear a prefix that claims otherwise.
|
|
203
|
+
### Skinned per-object data is character work, not Trinity work
|
|
204
|
+
|
|
205
|
+
**Both skinned per-object classes live in a Trinity header and have no Trinity
|
|
206
|
+
producer.** Every allocation site is a skinned or interior path, so they belong to
|
|
207
|
+
this domain however their donor file is named. Verified against Carbon 2026-09-11.
|
|
208
|
+
|
|
209
|
+
| class | donor | allocated by |
|
|
210
|
+
|---|---|---|
|
|
211
|
+
| `Tr2PerObjectDataSkinned` | `Tr2PerObjectData.h:100`, extends `Tr2PerObjectDataPSBuffer` | `Interior/Tr2IntSkinnedObject.cpp:322`; consumed at `:217` and `Tr2SkinnedModel.cpp:120,130` |
|
|
212
|
+
| `Tr2PerAreaDataSkinned` | `Tr2PerObjectData.h:152`, extends `Tr2PerObjectData` | `Interior/Tr2IntSkinnedObject.cpp:255`, `Tr2SkinnedModel.cpp:59` |
|
|
213
|
+
|
|
214
|
+
Neither exists here. A Trinity-side plan to "restore the four per-object classes"
|
|
215
|
+
should therefore stop at `Tr2PerObjectDataPSBuffer` and
|
|
216
|
+
`Tr2PerObjectDataStandard`; these two need the interior renderer, which is the
|
|
217
|
+
part being reverse-engineered, so adding the classes alone completes nothing.
|
|
218
|
+
|
|
219
|
+
#### The VS buffer layout, exactly
|
|
220
|
+
|
|
221
|
+
`TR2_MAX_BONES_PER_MESHAREA` is **69**, and the allocation is
|
|
222
|
+
`(69 * 3 + 5 + 4) * 16` = **3,456 bytes**, three registers per joint:
|
|
223
|
+
|
|
224
|
+
| region | offset | size |
|
|
225
|
+
|---|---|---|
|
|
226
|
+
| joint palette | 0 | 3,312 bytes (69 x 3 registers) |
|
|
227
|
+
| world matrix | 3,312 | 64 |
|
|
228
|
+
| **unwritten** | 3,376 | 16 |
|
|
229
|
+
| mirror matrix | 3,392 | 64 |
|
|
230
|
+
|
|
231
|
+
Both skinned classes target the **per-object VS register, 3** (`Tr2Renderer.cpp:40`;
|
|
232
|
+
per-object PS is 4 at `:41`). So this is the same binding `Tr2PerObjectDataStandard`
|
|
233
|
+
uses with a 40-register buffer - same slot, far more in it.
|
|
234
|
+
|
|
235
|
+
#### Two owners write one buffer, and that is the shape to preserve
|
|
236
|
+
|
|
237
|
+
`Tr2PerAreaDataSkinned::SetPerObjectDataToDevice` creates the buffer, locks it,
|
|
238
|
+
calls the OBJECT's `UpdateVertexShaderCBMirror` to place world and mirror, then
|
|
239
|
+
memcpy's its own joints at offset 0 for `m_jointCount * 3 * 16` bytes. It then
|
|
240
|
+
clears the VS family from the mask and delegates the remainder to the object:
|
|
241
|
+
|
|
242
|
+
constantTypeMask = constantTypeMask & ~perFrameVsMask;
|
|
243
|
+
if( constantTypeMask ) m_perObjectDataPtr->SetPerObjectDataToDevice( ... );
|
|
244
|
+
|
|
245
|
+
So the per-AREA class owns the joint prefix, the per-OBJECT class owns the matrix
|
|
246
|
+
tail, and the object also answers for the pixel half. A static helper over a plain
|
|
247
|
+
`{ vs, ps }` record cannot express that; it needs the instance relationship
|
|
248
|
+
(`m_perObjectDataPtr`). `CCP_ASSERT( m_jointCount <= TR2_MAX_BONES_PER_MESHAREA )`
|
|
249
|
+
guards the prefix.
|
|
250
|
+
|
|
251
|
+
The object-level upload copies **only** world and mirror - not the joint palette it
|
|
252
|
+
borrows, and not `m_worldPos`, which it stores but never uploads.
|
|
253
|
+
|
|
254
|
+
#### The transpose rule does NOT apply here, and that needs checking before use
|
|
255
|
+
|
|
256
|
+
`EveSpaceObject2.cpp:667-668` writes `Transpose( m_worldTransform )` into the
|
|
257
|
+
standard per-object VS data. The skinned path does a **raw byte copy** -
|
|
258
|
+
`memcpy( VS + ..., &m_worldMat.m[0][0], 4 * 16 )` (`Tr2PerObjectData.cpp:102-103`,
|
|
259
|
+
and again at `:117-118` for the indirect writer). No transpose.
|
|
260
|
+
|
|
261
|
+
The only caller of `SetWorldMatrix` is `Tr2IntSkinnedObject.cpp:331`, passing a
|
|
262
|
+
parameter its own comment calls "The world transform of the object", untouched;
|
|
263
|
+
`:332` sets the mirror to `IdentityMatrix()`.
|
|
264
|
+
|
|
265
|
+
So either the interior skinned shader reads the opposite orientation from the
|
|
266
|
+
standard path, or the matrix is already transposed further upstream. **Read it off
|
|
267
|
+
the shader.** Applying RawData's ordinary `SetAndTranspose` rule here would
|
|
268
|
+
double-transpose, and per the math conventions skill this class of error passes
|
|
269
|
+
every identity-matrix fixture. Test with rotation plus non-uniform scale.
|
|
270
|
+
|
|
271
|
+
#### One constructor zeroes, the other does not
|
|
272
|
+
|
|
273
|
+
`Tr2PerObjectDataPSBuffer()` explicitly `memset`s its 1,280-byte PS storage to
|
|
274
|
+
zero. `Tr2PerObjectDataStandard()` sets only the active size and leaves its
|
|
275
|
+
640-byte VS storage **uninitialised** - that is what its
|
|
276
|
+
`cppcheck-suppress uninitMemberVar` is for.
|
|
277
|
+
|
|
278
|
+
Since a short copy preserves the remaining storage, the PS tail is zeros in Carbon
|
|
279
|
+
and zeros in JS, which is faithful and needs no note. The **VS tail is garbage in
|
|
280
|
+
Carbon and zeros in JS**, which cannot be reproduced and is the only half that is a
|
|
281
|
+
real divergence.
|
|
282
|
+
|
|
283
|
+
#### Our current state: the fields exist, the mechanism does not
|
|
284
|
+
|
|
285
|
+
`CjsPerObjectLayouts` now aggregates the split layout classes:
|
|
286
|
+
`CjsEveSpaceObjectLayout` and `CjsEveSpacePerObjectLayout` declare `boneOffsets`
|
|
287
|
+
(4 x UINT32); `CjsEveTurretSetLayout` declares `currentBoneOffset`,
|
|
288
|
+
`prevBoneOffset` and two unused UINT32 lanes. These are live declarations under
|
|
289
|
+
`src/trinity/core/rawData/layouts`, not only dropped references. The field
|
|
290
|
+
declarations and the restored per-object wrapper classes do not implement a
|
|
291
|
+
bone-buffer upload or ring; that realization remains separate work.
|
|
292
|
+
|
|
293
|
+
#### ccpwgl already solves this, and differently from Carbon
|
|
294
|
+
|
|
295
|
+
ccpwgl's Carbon path does **not** use Carbon's inline joint region. Bones ride a
|
|
296
|
+
dedicated UBO and the per-object VS block carries only addressing: register 26 holds
|
|
297
|
+
`boneOffsets` as **uint bit patterns**, and the translated shader computes
|
|
298
|
+
`boneIndex = blendIndex + floatBitsToInt(cb3[26].xy)`. Because its bone UBO is
|
|
299
|
+
per-object and base-0, `cur = prev = 0`, and zero's float bit pattern is exactly
|
|
300
|
+
uint 0. Its legacy GLES layout keeps an inline `JointMat` instead, which the Carbon
|
|
301
|
+
path explicitly does not copy.
|
|
302
|
+
|
|
303
|
+
That gives the first skinned bring-up a choice worth making deliberately:
|
|
304
|
+
|
|
305
|
+
- **per-object base-0 buffer**, as ccpwgl does - the zeros already sitting in our
|
|
306
|
+
layout are then correct and nothing needs writing; or
|
|
307
|
+
- **a shared ring**, which is what `prevBoneOffset` implies and what Carbon's
|
|
308
|
+
`Tr2DynamicRingBuffer` family exists for. It is the only option that can carry
|
|
309
|
+
last frame's bones for temporal effects, and it is also the path whose indexed
|
|
310
|
+
fetch produced the `ld_structured` self-clobber fixed in `68c147f`.
|
|
311
|
+
|
|
312
|
+
`Tr2DynamicRingBuffer`, `Tr2RingVertexBuffer` and `Tr2RingIndexBuffer` are all
|
|
313
|
+
absent from our tree, so the ring option starts with three unported classes.
|
|
314
|
+
|
|
315
|
+
### `Tr2SkinnedObjectLod` is missing its three detail-model accessors
|
|
316
|
+
|
|
317
|
+
Surfaced 2026-09-11 by a Trinity-side naming cleanup, and recorded here because
|
|
318
|
+
the class is ours: anything skinned belongs to this domain regardless of which
|
|
319
|
+
donor directory the header sits in.
|
|
320
|
+
|
|
321
|
+
`Tr2SkinnedObjectLod` declares three accessors that our port does not have
|
|
322
|
+
(`trinity/trinity/Tr2SkinnedObjectLOD.h:65-67`):
|
|
323
|
+
|
|
324
|
+
Tr2SkinnedModel* GetHighDetailModel();
|
|
325
|
+
Tr2SkinnedModel* GetMediumDetailModel();
|
|
326
|
+
Tr2SkinnedModel* GetLowDetailModel();
|
|
327
|
+
|
|
328
|
+
Our class holds the state they return - `highDetailProxy`, `mediumDetailProxy`
|
|
329
|
+
and `lowDetailProxy` - and reads all three internally, so this is three
|
|
330
|
+
accessors over existing fields, not a feature.
|
|
331
|
+
|
|
332
|
+
**How they were found is the transferable part.** They had been invisible because
|
|
333
|
+
the JS class was renamed `Tr2SkinnedObjectLod` to `Tr2SkinnedObjectLOD`, on
|
|
334
|
+
evidence that turned out to be an `#include "Tr2SkinnedObjectLOD.h"` line rather
|
|
335
|
+
than a declaration. Carbon's FILE is `Tr2SkinnedObjectLOD.h`; Carbon's CLASS is
|
|
336
|
+
`Tr2SkinnedObjectLod`. The method-parity lint matches on exact class name, so the
|
|
337
|
+
rename silently unmatched the class and took its gap report with it. Reverting
|
|
338
|
+
the name (`runtime` commit `86b674a5`) made all three appear at once.
|
|
339
|
+
|
|
340
|
+
So a parity checker reporting nothing for a character class is not evidence of
|
|
341
|
+
parity - confirm the class name matches Carbon's DECLARATION, not its filename.
|
|
342
|
+
|
|
343
|
+
### Interior and WoD knowledge scattered through Trinity, collected 2026-09-11
|
|
344
|
+
|
|
345
|
+
**Every item below is a comment in a Trinity source file, not in the character
|
|
346
|
+
domain, so none of it was findable from here.** Swept by searching `src` for
|
|
347
|
+
interior / WoD / Incarna outside `src/character`. Each line is quoted with its
|
|
348
|
+
file so a thread can be picked up at the site; the Carbon cites are the donor
|
|
349
|
+
lines those comments name, not claims verified in this sweep.
|
|
350
|
+
|
|
351
|
+
**Portal visibility exists as a concept.** `Tr2VisibilityEvent.js:10` says the
|
|
352
|
+
events are what "Tr2VisibilityResults and the interior/portal visibility consumers
|
|
353
|
+
read", and `Tr2VisibilityResults.js:9` that results are collected "for the
|
|
354
|
+
interior". Our `Tr2VisibilityResults` folder cites donor `Tr2InteriorScene.h`, so
|
|
355
|
+
the interior scene's visibility machinery is partly present under a Trinity path.
|
|
356
|
+
|
|
357
|
+
**The interior scene owns a background cubemap, toggled by a render step.**
|
|
358
|
+
`TriStepToggleCubemap.js` holds a "Carbon-private `Tr2InteriorScene` pointer;
|
|
359
|
+
runtime-only and not serialized" (:11) and "Enables or disables the interior
|
|
360
|
+
scene's background cubemap" (:28).
|
|
361
|
+
|
|
362
|
+
**Interiors and WoD baking share a per-frame block.** `CjsPerFrameLayouts.js:24`
|
|
363
|
+
describes a "block used by interiors, WoD baking, and primitives", and :106 records
|
|
364
|
+
that a reduced block "binds in place of the full VS one
|
|
365
|
+
(`Tr2InteriorScene.cpp:856`)". That is the only WoD-baking reference anywhere
|
|
366
|
+
outside the character domain.
|
|
367
|
+
|
|
368
|
+
**Interior placeables have their own per-object filler.**
|
|
369
|
+
The former `CjsPerObjectLayouts.js:415-416` comment now lives in
|
|
370
|
+
`src/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js:10-15`: its donor
|
|
371
|
+
filler is `Tr2InteriorPlaceable::GetPerObjectData`
|
|
372
|
+
(`Interior/Tr2InteriorPlaceable.cpp:555-585`). The class already exists at
|
|
373
|
+
`src/character/trinity/interior/Tr2InteriorPlaceable.js`; its per-object filler
|
|
374
|
+
is missing. Character consumes the shared Trinity layout rather than declaring
|
|
375
|
+
a second one. "Not a Trinity-layer class" did not mean "absent from runtime".
|
|
376
|
+
|
|
377
|
+
**Interior additive animation was reverse-engineered in ccpwgl.**
|
|
378
|
+
`Tr2GrannyAnimation.js:1338-1339` cites a "proven reverse-engineered
|
|
379
|
+
`composeInteriorAdditivePose`" at
|
|
380
|
+
`ccpwgl/src/interior/character/Tr2InteriorAdditiveAnimation.js`. Given how little
|
|
381
|
+
exists for this engine, an already-proven reverse-engineering of an interior
|
|
382
|
+
animation compose is worth reading before redoing it.
|
|
383
|
+
|
|
384
|
+
**The interior light count is a signed bit-cast.** `RawData.js:68` names it as the
|
|
385
|
+
example of a "SIGNED integer bit-cast (two's complement)", so a consumer reading it
|
|
386
|
+
as unsigned will be wrong for negative values.
|
|
387
|
+
|
|
388
|
+
#### Deliberately excluded from the list
|
|
389
|
+
|
|
390
|
+
`Tr2RenderUtils.js` ("interior-edge flip", "interior vertices"),
|
|
391
|
+
`Tr2Blitter.js:295`, `Tr2RenderStateSetup.js:349` and
|
|
392
|
+
`Tr2EffectStateManager.js:1365` all say "interior" about GEOMETRY - quad
|
|
393
|
+
triangulation edges, and hulls drawing their own inside faces when the cull mode
|
|
394
|
+
inverted. Nothing to do with the interior engine, and worth knowing so the same
|
|
395
|
+
sweep does not keep re-finding them.
|
|
396
|
+
|
|
397
|
+
### Undiscovered: three of Carbon's four interior interfaces
|
|
398
|
+
|
|
399
|
+
**Found 2026-09-11 by comparing Carbon's declarations against ours. Not dropped,
|
|
400
|
+
not deferred - simply never noticed, and nothing records a decision about them.**
|
|
401
|
+
|
|
402
|
+
`trinity/trinity/Include/ITr2Interior.h` declares four interfaces, all
|
|
403
|
+
`BLUE_INTERFACE`:
|
|
404
|
+
|
|
405
|
+
| Carbon | line | here |
|
|
406
|
+
|---|---|---|
|
|
407
|
+
| `ITr2InteriorCullable` | :27 | **nothing at all** |
|
|
408
|
+
| `ITr2Interior` | :33 | **nothing at all** |
|
|
409
|
+
| `ITr2InteriorDynamic` | :44 | **nothing at all** |
|
|
410
|
+
| `ITr2InteriorLight` | :69 | `src/character/trinity/interior/ITr2InteriorLight.js` |
|
|
411
|
+
|
|
412
|
+
The one that exists is a **typedef contract** - a JSDoc `@typedef` with
|
|
413
|
+
`export {}` and no class - and its own comment gives the reason: a
|
|
414
|
+
`BLUE_INTERFACE` is not a constructible Blue model, so it must not be registered
|
|
415
|
+
with `type.define`. That treatment looks right and is the precedent the other
|
|
416
|
+
three should follow if they are represented the same way.
|
|
417
|
+
|
|
418
|
+
**Why they were invisible.** Every check we have looks for a declared class.
|
|
419
|
+
`ITr2InteriorLight` declares none, so it does not appear in a class catalog, a
|
|
420
|
+
parity audit, or the naming lint - and the three that are absent look identical
|
|
421
|
+
to the one that is present. They surfaced only from a donor-side sweep: reading
|
|
422
|
+
what Carbon's headers declare and subtracting what we declare, which is the
|
|
423
|
+
opposite direction from every existing checker.
|
|
424
|
+
|
|
425
|
+
**These belong to the character library**, being the interior scene's
|
|
426
|
+
cullable/dynamic/light contracts rather than anything in Trinity proper.
|
|
427
|
+
|
|
428
|
+
Interior work that touches culling, dynamic interiors or interior lighting should
|
|
429
|
+
decide their disposition first. The adjacent `Tr2InteriorPerLightPSData` and
|
|
430
|
+
`Tr2InteriorPerObjectPSData` DO exist here, so the data structures arrived
|
|
431
|
+
without the contracts that describe who produces them.
|
|
@@ -35,11 +35,10 @@ Resource acquisition, decoded image bytes, GPU handles, render targets, cache
|
|
|
35
35
|
leases, and live scene objects remain outside the plan. The plan may identify
|
|
36
36
|
those inputs but must remain GPU-free and serializable.
|
|
37
37
|
|
|
38
|
-
`CjsCharacterAppearancePlan`
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
There is no alternate wire format or retained document copy.
|
|
38
|
+
`CjsCharacterAppearancePlan` uses inherited model hydration and serialization
|
|
39
|
+
with the same `carbonenginejs.characterAppearancePlan` schema-v4 shape, not an
|
|
40
|
+
alternate wire format or retained document copy. See
|
|
41
|
+
[graph serialization](../guides/runtime-usage.md#serialize-a-model-graph).
|
|
43
42
|
|
|
44
43
|
The complete resolver pipeline is responsible for selection, dependency, LOD,
|
|
45
44
|
material, texture-role, placement, and bake-order decisions. Hydration applies
|
|
@@ -228,26 +227,11 @@ through extra static methods on the model.
|
|
|
228
227
|
|
|
229
228
|
## Offset and transform normalization
|
|
230
229
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
treats as bounds rather than the PNG offset; and
|
|
237
|
-
- projected-decal placement, whose spherical parameters and atlas placement
|
|
238
|
-
belong to the projection contract.
|
|
239
|
-
|
|
240
|
-
An adapter may combine them into a final sampling transform, but the source
|
|
241
|
-
records must not overwrite one with another. Cropped placement is applied once.
|
|
242
|
-
The known double-application cause is closed at the policy and structural-test
|
|
243
|
-
level and must remain a regression case; the complete visual fixture matrix is
|
|
244
|
-
still open.
|
|
245
|
-
|
|
246
|
-
Diffuse, normal, and specular inputs retain independent sample bounds. A
|
|
247
|
-
material-global UV transform is insufficient because the three assets can have
|
|
248
|
-
different placement metadata.
|
|
249
|
-
|
|
250
|
-
The reviewed evidence establishes only renderer-neutral rules:
|
|
230
|
+
Keep decoded PNG placement (size, offset, extent, target size and metadata
|
|
231
|
+
presence), authored sampler bounds, and projected decals' spherical parameters
|
|
232
|
+
and atlas placement distinct. An adapter may combine them for sampling without
|
|
233
|
+
overwriting source values. The double-placement cause is structurally closed and must remain a
|
|
234
|
+
regression case; the full visual matrix remains open.
|
|
251
235
|
|
|
252
236
|
| Transform rule | Status |
|
|
253
237
|
| --- | --- |
|
|
@@ -258,16 +242,14 @@ The reviewed evidence establishes only renderer-neutral rules:
|
|
|
258
242
|
| Diffuse, normal, specular, and cut inputs retain independent placement and sampling bounds. | Proven contract requirement; complete consumer qualification remains open. |
|
|
259
243
|
| Rebinding reconstructed textures requires an explicit consumer contract and atomic readiness. | Renderer-owned adoption gate. |
|
|
260
244
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
covers every object and mask.
|
|
245
|
+
Choose transforms from the resource actually bound at that stage: never force
|
|
246
|
+
identity globally, copy PNG placement into `TransformUV0`, or treat a cropped
|
|
247
|
+
channel as a full atlas. One transform cannot cover every object and mask.
|
|
265
248
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
bindings. This rule does not claim complete renderer or visual parity.
|
|
249
|
+
Several materially distinct surfaces may share an atlas region; bounds prove
|
|
250
|
+
placement, not ownership. Rebinding requires a typed consumer relationship;
|
|
251
|
+
unqualified consumers retain authored bindings.
|
|
252
|
+
These rules do not establish complete renderer or visual parity.
|
|
271
253
|
|
|
272
254
|
## Dependency ownership and garment coverage
|
|
273
255
|
|
|
@@ -316,35 +298,17 @@ by this data contract. Missing evidence produces diagnostics or an explicit
|
|
|
316
298
|
|
|
317
299
|
## Current contract tests
|
|
318
300
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
-
|
|
329
|
-
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
-
|
|
333
|
-
resolution without filename parsing;
|
|
334
|
-
- refusal to infer baseline candidate or metadata inheritance, or choose among
|
|
335
|
-
duplicate exact resource-version inventories;
|
|
336
|
-
- explicit diagnostics for dangling effective version-metadata relationships;
|
|
337
|
-
- exact preservation of raw dependency and occlusion strings beside typed
|
|
338
|
-
references, requester-owned projection of a unique exact dependency source,
|
|
339
|
-
and per-value diagnostics for unresolved references without fabricated
|
|
340
|
-
targets;
|
|
341
|
-
- exact typed modifier-location and clothing-removal suppression without
|
|
342
|
-
deleting the retained selection, including explicit cyclic-conflict
|
|
343
|
-
diagnostics;
|
|
344
|
-
- retention and diagnosis of categories absent from the native modifier order;
|
|
345
|
-
- contribution relationships without inferred pass order;
|
|
346
|
-
- deterministic diagnostics for dangling, ambiguous, and policy-dependent
|
|
347
|
-
inputs; and
|
|
348
|
-
- source-library immutability and standalone plan graph round trips;
|
|
349
|
-
- exact modifier sort keys, stable equal-key order, metadata endpoint swaps,
|
|
350
|
-
and caller-owned atlas-layout values.
|
|
301
|
+
See the [plan fixtures](../../../test/character/runtime-character/character-appearance-plan.test.js),
|
|
302
|
+
[resolver checks](../../../test/character/runtime-character/character-appearance-resolver.test.js)
|
|
303
|
+
and [composition-policy checks](../../../test/character/runtime-character/character-composition-policy.test.js)
|
|
304
|
+
for the contracts above. The fixtures retain:
|
|
305
|
+
|
|
306
|
+
- shared diffuse-alpha-minus-cut-red coverage for normal clear, replacement,
|
|
307
|
+
addition and final consumer alpha;
|
|
308
|
+
- replacement before additive normal detail, with independent diffuse, normal
|
|
309
|
+
and specular sample bounds; and
|
|
310
|
+
- source-library immutability, standalone graph round trips and dangling or
|
|
311
|
+
ambiguous-input diagnostics.
|
|
312
|
+
|
|
313
|
+
These tests import built output. The plan fixture still asserts schema v1;
|
|
314
|
+
its policy-backed order is not fresh schema-v4 or visual qualification.
|
|
@@ -105,14 +105,11 @@ creating an unresolved `_ref` or placeholder object.
|
|
|
105
105
|
|
|
106
106
|
## Hydration and serialization
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
`GetValues({ refs: true })` serializes shared relationships. Tokens may change
|
|
114
|
-
on export; equivalent relationships, not stable token numbers, define the
|
|
115
|
-
round-trip contract. See [runtime usage](../guides/runtime-usage.md) for examples.
|
|
108
|
+
Inherited hydration consumes the same public shape and direct relationships;
|
|
109
|
+
there is no retained JSON document or identity-conversion wrapper.
|
|
110
|
+
See [record lookup](../guides/runtime-usage.md#read-records-and-relationships)
|
|
111
|
+
and [graph serialization](../guides/runtime-usage.md#serialize-a-model-graph)
|
|
112
|
+
for methods and examples. Round trips preserve relationships, not token numbers.
|
|
116
113
|
|
|
117
114
|
## Builder boundary
|
|
118
115
|
|
|
@@ -183,14 +180,10 @@ while interpreting retained `oFFs`/`pHYs` millionths is character policy.
|
|
|
183
180
|
Black/Red object graphs target registered native/historical classes separately;
|
|
184
181
|
they are not replacements for this combined library or the appearance plan.
|
|
185
182
|
|
|
186
|
-
Candidate
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
paired-resource-family derivations; unpaired or ambiguous candidates remain
|
|
191
|
-
unresolved.
|
|
192
|
-
External configuration graphs, geometry data, images, animations, and effects
|
|
193
|
-
remain resource-manager inputs rather than embedded library objects.
|
|
183
|
+
Candidate inventories do not select semantic roles or supply unlabelled model
|
|
184
|
+
families, filename-derived texture roles, compiled recipe links or material
|
|
185
|
+
fallbacks. The table above defines qualified bundles and labelled derivations;
|
|
186
|
+
unpaired or ambiguous candidates remain unresolved.
|
|
194
187
|
|
|
195
188
|
One published character resource can use the same definition identity for
|
|
196
189
|
more than one sex. The appearance resolver selects an exact source from
|
|
@@ -205,20 +198,11 @@ published definition files are producer inputs; their decoded values survive
|
|
|
205
198
|
inside `characterDefinitions`, so a runtime frontend does not reconstruct the
|
|
206
199
|
catalog from the publication files.
|
|
207
200
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
record destruction.
|
|
214
|
-
|
|
215
|
-
These operations apply the document property's normal flag/update contract.
|
|
216
|
-
Each collection has a lazy private-index invalidation flag, consumed when that
|
|
217
|
-
document is next queried. The library emits `recordadded`, `recordremoved`,
|
|
218
|
-
`recorddeleted`, and `documentcleared` so an editor can react to incremental
|
|
219
|
-
changes. Private indexes and flags are runtime state and are excluded from the
|
|
220
|
-
JSON shape. Direct array mutation remains possible because the arrays are the
|
|
221
|
-
model fields; call `Reindex()` after bypassing the named methods.
|
|
201
|
+
Use the [editor mutation API](../guides/runtime-usage.md#mutate-editor-items)
|
|
202
|
+
for insertion, removal, events and reindexing; `Clear` does not guess record
|
|
203
|
+
destruction. Named methods apply the document property's normal flag/update
|
|
204
|
+
contract. Lazy private-index flags are consumed on the next document query;
|
|
205
|
+
indexes and flags are runtime state, excluded from JSON.
|
|
222
206
|
|
|
223
207
|
`CjsCharacterLibraryManager` can install the combined model directly or obtain
|
|
224
208
|
its decoded object through one injected loader. Plain schema-v10 values contain
|
|
@@ -37,7 +37,8 @@ package remains private until the atomic consumer and registry cutover.
|
|
|
37
37
|
| [`./utils/arrays`](../../../src/global/utils/arrays.js) | Normalizes nullable values and mutates writable array-like targets. | `toArray`, `copyArrayLike`, `fillArrayLike` |
|
|
38
38
|
| [`./utils/bytes`](../../../src/global/utils/bytes.js) | Creates byte views, owned copies, exact buffers, and prefix checks. | `asUint8Array`, `copyBytes`, `toArrayBuffer`, `hasBytePrefix` |
|
|
39
39
|
| [`./utils/compression`](../../../src/global/utils/compression.js) | Detects and decompresses gzip through Web-standard streams. | `isGzip`, `decompressBytes`, `decompressGzip`, `decompressGzipIfNeeded` |
|
|
40
|
-
| [`./contracts`](../../../src/global/contracts/index.js) | Declares dependency-floor nominal obligations whose required base methods throw. | `CjsBackendCandidate`, `CjsConstantPayload`, `CjsFrameLifecycle`, `CjsInstancedMeshManager`, `
|
|
40
|
+
| [`./contracts`](../../../src/global/contracts/index.js) | Declares dependency-floor nominal obligations whose required base methods throw. | `CjsBackendCandidate`, `CjsConstantPayload`, `CjsFrameLifecycle`, `CjsInstancedMeshManager`, `ITr2BoundingBox`, `withITr2BoundingBox`, `ITr2RenderNode`, `withITr2RenderNode` |
|
|
41
|
+
| [`./blue`](../../../src/global/blue/index.js) | Ports of Carbon's blueexposure layer: facilities Blue provides to every subsystem rather than to one. | `CjsScriptCallback` |
|
|
41
42
|
| [`./utils/errors`](../../../src/global/utils/errors/index.js) | Represents coded operational failures and Web-compatible cancellation without logging or transport policy. | `CjsError`, `CjsCancellationError`, `CJS_OPERATION_CANCELLED` |
|
|
42
43
|
| [`./utils/is`](../../../src/global/utils/is.js) | Provides shared literal-boolean value predicates. | `isTypedArray`, `isArrayLike`, `isFunction`, `isNullish`, `isObject`, `isObjectLike`, `isPlainObject`, `isPromiseLike` |
|
|
43
44
|
| [`./utils/json`](../../../src/global/utils/json.js) | Encodes and decodes JSON with explicit UTF-8 behavior. | `encodeJson`, `decodeJson` |
|