@carbonenginejs/runtime 0.1.0-alpha.0 → 0.1.0-alpha.1
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/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 +52 -4
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.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 +104 -260
- 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 +82 -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,88 +1,97 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type } from '#schema';
|
|
1
|
+
import { CjsSchema, type } from '#schema';
|
|
3
2
|
import { CjsModel } from '#model';
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
// Source: trinity/trinity/Resources/TriGeometryRes.h
|
|
5
|
+
// Schema: format-carbon resources/TriGeometryResLodData.json; maintained by the runtime resource layer.
|
|
6
6
|
|
|
7
7
|
/** TriGeometryResLodData (resources) - maintained from schema shapeHash 92d97df7.... */
|
|
8
|
-
let _TriGeometryResLodDat;
|
|
9
8
|
class TriGeometryResLodData extends CjsModel {
|
|
10
|
-
static {
|
|
11
|
-
({
|
|
12
|
-
e: [_init_mesh, _init_extra_mesh, _init_grannyMeshIndex, _init_extra_grannyMeshIndex, _init_name, _init_extra_name, _init_originalLodIndex, _init_extra_originalLodIndex, _init_maxScreenSize, _init_extra_maxScreenSize, _init_vertexCount, _init_extra_vertexCount, _init_primitiveCount, _init_extra_primitiveCount, _init_uvDensities, _init_extra_uvDensities, _init_areas, _init_extra_areas, _init_allocationsValid, _init_extra_allocationsValid, _init_vertexAllocation, _init_extra_vertexAllocation, _init_indexAllocation, _init_extra_indexAllocation, _init_morphTargetAllocation, _init_extra_morphTargetAllocation, _init_morphTargetNames, _init_extra_morphTargetNames, _init_morphTargetDeformationAmounts, _init_extra_morphTargetDeformationAmounts, _init_isBakedMorphTarget, _init_extra_isBakedMorphTarget, _init_morphVertexDeclaration, _init_extra_morphVertexDeclaration, _init_bytesPerMorphTargetVertex, _init_extra_bytesPerMorphTargetVertex, _init_reversedIndicesValid, _init_extra_reversedIndicesValid, _init_reversedIndexAllocation, _init_extra_reversedIndexAllocation],
|
|
13
|
-
c: [_TriGeometryResLodDat, _initClass]
|
|
14
|
-
} = _applyDecs2311(this, [type.define({
|
|
15
|
-
className: "TriGeometryResLodData",
|
|
16
|
-
family: "resources"
|
|
17
|
-
})], [[type.objectRef("TriGeometryResMeshData"), 0, "mesh"], [[type, type.int32], 16, "grannyMeshIndex"], [[type, type.string], 16, "name"], [[type, type.int32], 16, "originalLodIndex"], [[type, type.float32], 16, "maxScreenSize"], [[type, type.uint32], 16, "vertexCount"], [[type, type.uint32], 16, "primitiveCount"], [type.list("float"), 0, "uvDensities"], [[type, type.unknown], 16, "areas"], [[type, type.boolean], 16, "allocationsValid"], [type.rawStruct("Tr2SuballocatedBuffer::Allocation"), 0, "vertexAllocation"], [type.rawStruct("Tr2SuballocatedBuffer::Allocation"), 0, "indexAllocation"], [type.rawStruct("Tr2SuballocatedBuffer::Allocation"), 0, "morphTargetAllocation"], [type.list("std::string"), 0, "morphTargetNames"], [type.list("float"), 0, "morphTargetDeformationAmounts"], [type.list("bool"), 0, "isBakedMorphTarget"], [[type, type.uint32], 16, "morphVertexDeclaration"], [[type, type.uint32], 16, "bytesPerMorphTargetVertex"], [[type, type.boolean], 16, "reversedIndicesValid"], [type.rawStruct("Tr2SuballocatedBuffer::Allocation"), 0, "reversedIndexAllocation"]], 0, void 0, CjsModel));
|
|
18
|
-
}
|
|
19
|
-
constructor(...args) {
|
|
20
|
-
super(...args);
|
|
21
|
-
_init_extra_reversedIndexAllocation(this);
|
|
22
|
-
}
|
|
23
9
|
/** m_mesh (TriGeometryResMeshData*) */
|
|
24
|
-
mesh =
|
|
10
|
+
mesh = null;
|
|
25
11
|
|
|
26
12
|
/** m_grannyMeshIndex (int32_t) */
|
|
27
|
-
grannyMeshIndex =
|
|
13
|
+
grannyMeshIndex = 0;
|
|
28
14
|
|
|
29
15
|
/** m_name (std::string) */
|
|
30
|
-
name =
|
|
16
|
+
name = "";
|
|
31
17
|
|
|
32
18
|
/** m_originalLodIndex (int32_t) */
|
|
33
|
-
originalLodIndex =
|
|
19
|
+
originalLodIndex = 0;
|
|
34
20
|
|
|
35
21
|
/** m_maxScreenSize (float) */
|
|
36
|
-
maxScreenSize =
|
|
22
|
+
maxScreenSize = 0;
|
|
37
23
|
|
|
38
24
|
/** m_vertexCount (unsigned int) */
|
|
39
|
-
vertexCount =
|
|
25
|
+
vertexCount = 0;
|
|
40
26
|
|
|
41
27
|
/** m_primitiveCount (unsigned int) */
|
|
42
|
-
primitiveCount =
|
|
28
|
+
primitiveCount = 0;
|
|
43
29
|
|
|
44
30
|
/** m_uvDensities (std::vector<float>) */
|
|
45
|
-
uvDensities =
|
|
31
|
+
uvDensities = [];
|
|
46
32
|
|
|
47
33
|
/** m_areas (TrackableStdVector<TriGeometryResAreaData>) */
|
|
48
|
-
areas =
|
|
34
|
+
areas = null;
|
|
49
35
|
|
|
50
36
|
/** m_allocationsValid (bool) */
|
|
51
|
-
allocationsValid =
|
|
37
|
+
allocationsValid = false;
|
|
52
38
|
|
|
53
39
|
/** m_vertexAllocation (Tr2SuballocatedBuffer::Allocation) */
|
|
54
|
-
vertexAllocation =
|
|
40
|
+
vertexAllocation = null;
|
|
55
41
|
|
|
56
42
|
/** m_indexAllocation (Tr2SuballocatedBuffer::Allocation) */
|
|
57
|
-
indexAllocation =
|
|
43
|
+
indexAllocation = null;
|
|
58
44
|
|
|
59
45
|
/** m_morphTargetAllocation (Tr2SuballocatedBuffer::Allocation) */
|
|
60
|
-
morphTargetAllocation =
|
|
46
|
+
morphTargetAllocation = null;
|
|
61
47
|
|
|
62
48
|
/** m_morphTargetNames (std::vector<std::string>) */
|
|
63
|
-
morphTargetNames =
|
|
49
|
+
morphTargetNames = [];
|
|
64
50
|
|
|
65
51
|
/** m_morphTargetDeformationAmounts (std::vector<float>) */
|
|
66
|
-
morphTargetDeformationAmounts =
|
|
52
|
+
morphTargetDeformationAmounts = [];
|
|
67
53
|
|
|
68
54
|
/** m_isBakedMorphTarget (std::vector<bool>) */
|
|
69
|
-
isBakedMorphTarget =
|
|
55
|
+
isBakedMorphTarget = [];
|
|
70
56
|
|
|
71
57
|
/** m_morphVertexDeclaration (unsigned int) */
|
|
72
|
-
morphVertexDeclaration =
|
|
58
|
+
morphVertexDeclaration = 0;
|
|
73
59
|
|
|
74
60
|
/** m_bytesPerMorphTargetVertex (unsigned int) */
|
|
75
|
-
bytesPerMorphTargetVertex =
|
|
61
|
+
bytesPerMorphTargetVertex = 0;
|
|
76
62
|
|
|
77
63
|
/** m_reversedIndicesValid (bool) */
|
|
78
|
-
reversedIndicesValid =
|
|
64
|
+
reversedIndicesValid = false;
|
|
79
65
|
|
|
80
66
|
/** m_reversedIndexAllocation (Tr2SuballocatedBuffer::Allocation) */
|
|
81
|
-
reversedIndexAllocation =
|
|
82
|
-
static {
|
|
83
|
-
_initClass();
|
|
84
|
-
}
|
|
67
|
+
reversedIndexAllocation = null;
|
|
85
68
|
}
|
|
69
|
+
CjsSchema.define(TriGeometryResLodData, {
|
|
70
|
+
className: "TriGeometryResLodData",
|
|
71
|
+
family: "resources",
|
|
72
|
+
fields: {
|
|
73
|
+
mesh: type.objectRef("TriGeometryResMeshData"),
|
|
74
|
+
grannyMeshIndex: type.int32,
|
|
75
|
+
name: type.string,
|
|
76
|
+
originalLodIndex: type.int32,
|
|
77
|
+
maxScreenSize: type.float32,
|
|
78
|
+
vertexCount: type.uint32,
|
|
79
|
+
primitiveCount: type.uint32,
|
|
80
|
+
uvDensities: type.list("float"),
|
|
81
|
+
areas: type.unknown,
|
|
82
|
+
allocationsValid: type.boolean,
|
|
83
|
+
vertexAllocation: type.rawStruct("Tr2SuballocatedBuffer::Allocation"),
|
|
84
|
+
indexAllocation: type.rawStruct("Tr2SuballocatedBuffer::Allocation"),
|
|
85
|
+
morphTargetAllocation: type.rawStruct("Tr2SuballocatedBuffer::Allocation"),
|
|
86
|
+
morphTargetNames: type.list("std::string"),
|
|
87
|
+
morphTargetDeformationAmounts: type.list("float"),
|
|
88
|
+
isBakedMorphTarget: type.list("bool"),
|
|
89
|
+
morphVertexDeclaration: type.uint32,
|
|
90
|
+
bytesPerMorphTargetVertex: type.uint32,
|
|
91
|
+
reversedIndicesValid: type.boolean,
|
|
92
|
+
reversedIndexAllocation: type.rawStruct("Tr2SuballocatedBuffer::Allocation")
|
|
93
|
+
}
|
|
94
|
+
});
|
|
86
95
|
|
|
87
|
-
export {
|
|
96
|
+
export { TriGeometryResLodData };
|
|
88
97
|
//# sourceMappingURL=TriGeometryResLodData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriGeometryResLodData.js","sources":["../../../../src/resource/geometry/TriGeometryResLodData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriGeometryResLodData.json; maintained by the runtime resource layer.\nimport { type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\n\r\n/** TriGeometryResLodData (resources) - maintained from schema shapeHash 92d97df7.... */\r\
|
|
1
|
+
{"version":3,"file":"TriGeometryResLodData.js","sources":["../../../../src/resource/geometry/TriGeometryResLodData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriGeometryResLodData.json; maintained by the runtime resource layer.\r\nimport { CjsSchema, type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\n\r\n/** TriGeometryResLodData (resources) - maintained from schema shapeHash 92d97df7.... */\r\nexport class TriGeometryResLodData extends CjsModel\r\n{\r\n\r\n /** m_mesh (TriGeometryResMeshData*) */\r\n mesh = null;\r\n\r\n /** m_grannyMeshIndex (int32_t) */\r\n grannyMeshIndex = 0;\r\n\r\n /** m_name (std::string) */\r\n name = \"\";\r\n\r\n /** m_originalLodIndex (int32_t) */\r\n originalLodIndex = 0;\r\n\r\n /** m_maxScreenSize (float) */\r\n maxScreenSize = 0;\r\n\r\n /** m_vertexCount (unsigned int) */\r\n vertexCount = 0;\r\n\r\n /** m_primitiveCount (unsigned int) */\r\n primitiveCount = 0;\r\n\r\n /** m_uvDensities (std::vector<float>) */\r\n uvDensities = [];\r\n\r\n /** m_areas (TrackableStdVector<TriGeometryResAreaData>) */\r\n areas = null;\r\n\r\n /** m_allocationsValid (bool) */\r\n allocationsValid = false;\r\n\r\n /** m_vertexAllocation (Tr2SuballocatedBuffer::Allocation) */\r\n vertexAllocation = null;\r\n\r\n /** m_indexAllocation (Tr2SuballocatedBuffer::Allocation) */\r\n indexAllocation = null;\r\n\r\n /** m_morphTargetAllocation (Tr2SuballocatedBuffer::Allocation) */\r\n morphTargetAllocation = null;\r\n\r\n /** m_morphTargetNames (std::vector<std::string>) */\r\n morphTargetNames = [];\r\n\r\n /** m_morphTargetDeformationAmounts (std::vector<float>) */\r\n morphTargetDeformationAmounts = [];\r\n\r\n /** m_isBakedMorphTarget (std::vector<bool>) */\r\n isBakedMorphTarget = [];\r\n\r\n /** m_morphVertexDeclaration (unsigned int) */\r\n morphVertexDeclaration = 0;\r\n\r\n /** m_bytesPerMorphTargetVertex (unsigned int) */\r\n bytesPerMorphTargetVertex = 0;\r\n\r\n /** m_reversedIndicesValid (bool) */\r\n reversedIndicesValid = false;\r\n\r\n /** m_reversedIndexAllocation (Tr2SuballocatedBuffer::Allocation) */\r\n reversedIndexAllocation = null;\r\n\r\n}\r\n\r\nCjsSchema.define(TriGeometryResLodData, {\r\n className: \"TriGeometryResLodData\", family: \"resources\",\r\n fields: {\r\n mesh: type.objectRef(\"TriGeometryResMeshData\"),\r\n grannyMeshIndex: type.int32,\r\n name: type.string,\r\n originalLodIndex: type.int32,\r\n maxScreenSize: type.float32,\r\n vertexCount: type.uint32,\r\n primitiveCount: type.uint32,\r\n uvDensities: type.list(\"float\"),\r\n areas: type.unknown,\r\n allocationsValid: type.boolean,\r\n vertexAllocation: type.rawStruct(\"Tr2SuballocatedBuffer::Allocation\"),\r\n indexAllocation: type.rawStruct(\"Tr2SuballocatedBuffer::Allocation\"),\r\n morphTargetAllocation: type.rawStruct(\"Tr2SuballocatedBuffer::Allocation\"),\r\n morphTargetNames: type.list(\"std::string\"),\r\n morphTargetDeformationAmounts: type.list(\"float\"),\r\n isBakedMorphTarget: type.list(\"bool\"),\r\n morphVertexDeclaration: type.uint32,\r\n bytesPerMorphTargetVertex: type.uint32,\r\n reversedIndicesValid: type.boolean,\r\n reversedIndexAllocation: type.rawStruct(\"Tr2SuballocatedBuffer::Allocation\")\r\n }\r\n});\r\n"],"names":["TriGeometryResLodData","CjsModel","mesh","grannyMeshIndex","name","originalLodIndex","maxScreenSize","vertexCount","primitiveCount","uvDensities","areas","allocationsValid","vertexAllocation","indexAllocation","morphTargetAllocation","morphTargetNames","morphTargetDeformationAmounts","isBakedMorphTarget","morphVertexDeclaration","bytesPerMorphTargetVertex","reversedIndicesValid","reversedIndexAllocation","CjsSchema","define","className","family","fields","type","objectRef","int32","string","float32","uint32","list","unknown","boolean","rawStruct"],"mappings":";;;AAAA;AACA;;AAIA;AACO,MAAMA,qBAAqB,SAASC,QAAQ,CACnD;AAEE;AACAC,EAAAA,IAAI,GAAG,IAAI;;AAEX;AACAC,EAAAA,eAAe,GAAG,CAAC;;AAEnB;AACAC,EAAAA,IAAI,GAAG,EAAE;;AAET;AACAC,EAAAA,gBAAgB,GAAG,CAAC;;AAEpB;AACAC,EAAAA,aAAa,GAAG,CAAC;;AAEjB;AACAC,EAAAA,WAAW,GAAG,CAAC;;AAEf;AACAC,EAAAA,cAAc,GAAG,CAAC;;AAElB;AACAC,EAAAA,WAAW,GAAG,EAAE;;AAEhB;AACAC,EAAAA,KAAK,GAAG,IAAI;;AAEZ;AACAC,EAAAA,gBAAgB,GAAG,KAAK;;AAExB;AACAC,EAAAA,gBAAgB,GAAG,IAAI;;AAEvB;AACAC,EAAAA,eAAe,GAAG,IAAI;;AAEtB;AACAC,EAAAA,qBAAqB,GAAG,IAAI;;AAE5B;AACAC,EAAAA,gBAAgB,GAAG,EAAE;;AAErB;AACAC,EAAAA,6BAA6B,GAAG,EAAE;;AAElC;AACAC,EAAAA,kBAAkB,GAAG,EAAE;;AAEvB;AACAC,EAAAA,sBAAsB,GAAG,CAAC;;AAE1B;AACAC,EAAAA,yBAAyB,GAAG,CAAC;;AAE7B;AACAC,EAAAA,oBAAoB,GAAG,KAAK;;AAE5B;AACAC,EAAAA,uBAAuB,GAAG,IAAI;AAEhC;AAEAC,SAAS,CAACC,MAAM,CAACvB,qBAAqB,EAAE;AACtCwB,EAAAA,SAAS,EAAE,uBAAuB;AAAEC,EAAAA,MAAM,EAAE,WAAW;AACvDC,EAAAA,MAAM,EAAE;AACNxB,IAAAA,IAAI,EAAEyB,IAAI,CAACC,SAAS,CAAC,wBAAwB,CAAC;IAC9CzB,eAAe,EAAEwB,IAAI,CAACE,KAAK;IAC3BzB,IAAI,EAAEuB,IAAI,CAACG,MAAM;IACjBzB,gBAAgB,EAAEsB,IAAI,CAACE,KAAK;IAC5BvB,aAAa,EAAEqB,IAAI,CAACI,OAAO;IAC3BxB,WAAW,EAAEoB,IAAI,CAACK,MAAM;IACxBxB,cAAc,EAAEmB,IAAI,CAACK,MAAM;AAC3BvB,IAAAA,WAAW,EAAEkB,IAAI,CAACM,IAAI,CAAC,OAAO,CAAC;IAC/BvB,KAAK,EAAEiB,IAAI,CAACO,OAAO;IACnBvB,gBAAgB,EAAEgB,IAAI,CAACQ,OAAO;AAC9BvB,IAAAA,gBAAgB,EAAEe,IAAI,CAACS,SAAS,CAAC,mCAAmC,CAAC;AACrEvB,IAAAA,eAAe,EAAEc,IAAI,CAACS,SAAS,CAAC,mCAAmC,CAAC;AACpEtB,IAAAA,qBAAqB,EAAEa,IAAI,CAACS,SAAS,CAAC,mCAAmC,CAAC;AAC1ErB,IAAAA,gBAAgB,EAAEY,IAAI,CAACM,IAAI,CAAC,aAAa,CAAC;AAC1CjB,IAAAA,6BAA6B,EAAEW,IAAI,CAACM,IAAI,CAAC,OAAO,CAAC;AACjDhB,IAAAA,kBAAkB,EAAEU,IAAI,CAACM,IAAI,CAAC,MAAM,CAAC;IACrCf,sBAAsB,EAAES,IAAI,CAACK,MAAM;IACnCb,yBAAyB,EAAEQ,IAAI,CAACK,MAAM;IACtCZ,oBAAoB,EAAEO,IAAI,CAACQ,OAAO;AAClCd,IAAAA,uBAAuB,EAAEM,IAAI,CAACS,SAAS,CAAC,mCAAmC;AAC7E;AACF,CAAC,CAAC;;;;"}
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type } from '#schema';
|
|
1
|
+
import { CjsSchema, type } from '#schema';
|
|
3
2
|
import { CjsModel } from '#model';
|
|
4
3
|
import { vec3 } from '#math/vec3';
|
|
5
4
|
import { vec4 } from '#math/vec4';
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
// Source: trinity/trinity/Resources/TriGeometryRes.h
|
|
7
|
+
// Schema: format-carbon resources/TriGeometryResMeshData.json; maintained by the runtime resource layer.
|
|
8
8
|
|
|
9
9
|
/** TriGeometryResMeshData (resources) - maintained from schema shapeHash 3d7f49cc.... */
|
|
10
|
-
let _TriGeometryResMeshDa;
|
|
11
10
|
class TriGeometryResMeshData extends CjsModel {
|
|
12
|
-
static {
|
|
13
|
-
({
|
|
14
|
-
e: [_init_name, _init_extra_name, _init_vertexDeclarationHandle, _init_extra_vertexDeclarationHandle, _init_bytesPerVertex, _init_extra_bytesPerVertex, _init_minBounds, _init_extra_minBounds, _init_maxBounds, _init_extra_maxBounds, _init_boundingSphere, _init_extra_boundingSphere, _init_jointBindings, _init_extra_jointBindings, _init_audioGeometry, _init_extra_audioGeometry, _init_decals, _init_extra_decals, _init_lodMask, _init_extra_lodMask, _init_lods, _init_extra_lods],
|
|
15
|
-
c: [_TriGeometryResMeshDa, _initClass]
|
|
16
|
-
} = _applyDecs2311(this, [type.define({
|
|
17
|
-
className: "TriGeometryResMeshData",
|
|
18
|
-
family: "resources"
|
|
19
|
-
})], [[[type, type.string], 16, "name"], [[type, type.uint32], 16, "vertexDeclarationHandle"], [[type, type.uint32], 16, "bytesPerVertex"], [[type, type.vec3], 16, "minBounds"], [[type, type.vec3], 16, "maxBounds"], [[type, type.vec4], 16, "boundingSphere"], [[type, type.unknown], 16, "jointBindings"], [type.rawStruct("AudioGeometryResData"), 0, "audioGeometry"], [type.list("MeshDecalData"), 0, "decals"], [[type, type.uint32], 16, "lodMask"], [type.rawStruct("TrackableStdVector<std::unique_ptr<TriGeometryResLodData>>"), 0, "lods"]], 0, void 0, CjsModel));
|
|
20
|
-
}
|
|
21
|
-
constructor(...args) {
|
|
22
|
-
super(...args);
|
|
23
|
-
_init_extra_lods(this);
|
|
24
|
-
}
|
|
25
11
|
/** m_name (std::string) */
|
|
26
|
-
name =
|
|
12
|
+
name = "";
|
|
27
13
|
|
|
28
14
|
/** m_vertexDeclarationHandle (unsigned int) */
|
|
29
|
-
vertexDeclarationHandle =
|
|
15
|
+
vertexDeclarationHandle = 0;
|
|
30
16
|
|
|
31
17
|
/** m_bytesPerVertex (unsigned int) */
|
|
32
|
-
bytesPerVertex =
|
|
18
|
+
bytesPerVertex = -1;
|
|
33
19
|
|
|
34
20
|
/** m_minBounds (Vector3) */
|
|
35
|
-
minBounds =
|
|
21
|
+
minBounds = vec3.create();
|
|
36
22
|
|
|
37
23
|
/** m_maxBounds (Vector3) */
|
|
38
|
-
maxBounds =
|
|
24
|
+
maxBounds = vec3.create();
|
|
39
25
|
|
|
40
26
|
/** m_boundingSphere (Vector4) */
|
|
41
|
-
boundingSphere =
|
|
27
|
+
boundingSphere = vec4.create();
|
|
42
28
|
|
|
43
29
|
/** m_jointBindings (TrackableStdVector<TriJointBinding>) */
|
|
44
|
-
jointBindings =
|
|
30
|
+
jointBindings = null;
|
|
45
31
|
|
|
46
32
|
/** m_audioGeometry (std::unique_ptr<AudioGeometryResData>) */
|
|
47
|
-
audioGeometry =
|
|
33
|
+
audioGeometry = null;
|
|
48
34
|
|
|
49
35
|
/** m_decals (std::vector<std::shared_ptr<MeshDecalData>>) */
|
|
50
|
-
decals =
|
|
36
|
+
decals = [];
|
|
51
37
|
|
|
52
38
|
/** m_lodMask (uint32_t) */
|
|
53
|
-
lodMask =
|
|
39
|
+
lodMask = 0;
|
|
54
40
|
|
|
55
41
|
/** m_lods (TrackableStdVector<std::unique_ptr<TriGeometryResLodData>>) */
|
|
56
|
-
lods =
|
|
57
|
-
static {
|
|
58
|
-
_initClass();
|
|
59
|
-
}
|
|
42
|
+
lods = null;
|
|
60
43
|
}
|
|
44
|
+
CjsSchema.define(TriGeometryResMeshData, {
|
|
45
|
+
className: "TriGeometryResMeshData",
|
|
46
|
+
family: "resources",
|
|
47
|
+
fields: {
|
|
48
|
+
name: type.string,
|
|
49
|
+
vertexDeclarationHandle: type.uint32,
|
|
50
|
+
bytesPerVertex: type.uint32,
|
|
51
|
+
minBounds: type.vec3,
|
|
52
|
+
maxBounds: type.vec3,
|
|
53
|
+
boundingSphere: type.vec4,
|
|
54
|
+
jointBindings: type.unknown,
|
|
55
|
+
audioGeometry: type.rawStruct("AudioGeometryResData"),
|
|
56
|
+
decals: type.list("MeshDecalData"),
|
|
57
|
+
lodMask: type.uint32,
|
|
58
|
+
lods: type.rawStruct("TrackableStdVector<std::unique_ptr<TriGeometryResLodData>>")
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
61
|
|
|
62
|
-
export {
|
|
62
|
+
export { TriGeometryResMeshData };
|
|
63
63
|
//# sourceMappingURL=TriGeometryResMeshData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriGeometryResMeshData.js","sources":["../../../../src/resource/geometry/TriGeometryResMeshData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriGeometryResMeshData.json; maintained by the runtime resource layer.\nimport { type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\nimport { vec3 } from \"#math/vec3\";\r\nimport { vec4 } from \"#math/vec4\";\r\n\r\n/** TriGeometryResMeshData (resources) - maintained from schema shapeHash 3d7f49cc.... */\r\
|
|
1
|
+
{"version":3,"file":"TriGeometryResMeshData.js","sources":["../../../../src/resource/geometry/TriGeometryResMeshData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriGeometryResMeshData.json; maintained by the runtime resource layer.\r\nimport { CjsSchema, type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\nimport { vec3 } from \"#math/vec3\";\r\nimport { vec4 } from \"#math/vec4\";\r\n\r\n/** TriGeometryResMeshData (resources) - maintained from schema shapeHash 3d7f49cc.... */\r\nexport class TriGeometryResMeshData extends CjsModel\r\n{\r\n\r\n /** m_name (std::string) */\r\n name = \"\";\r\n\r\n /** m_vertexDeclarationHandle (unsigned int) */\r\n vertexDeclarationHandle = 0;\r\n\r\n /** m_bytesPerVertex (unsigned int) */\r\n bytesPerVertex = -1;\r\n\r\n /** m_minBounds (Vector3) */\r\n minBounds = vec3.create();\r\n\r\n /** m_maxBounds (Vector3) */\r\n maxBounds = vec3.create();\r\n\r\n /** m_boundingSphere (Vector4) */\r\n boundingSphere = vec4.create();\r\n\r\n /** m_jointBindings (TrackableStdVector<TriJointBinding>) */\r\n jointBindings = null;\r\n\r\n /** m_audioGeometry (std::unique_ptr<AudioGeometryResData>) */\r\n audioGeometry = null;\r\n\r\n /** m_decals (std::vector<std::shared_ptr<MeshDecalData>>) */\r\n decals = [];\r\n\r\n /** m_lodMask (uint32_t) */\r\n lodMask = 0;\r\n\r\n /** m_lods (TrackableStdVector<std::unique_ptr<TriGeometryResLodData>>) */\r\n lods = null;\r\n\r\n}\r\n\r\nCjsSchema.define(TriGeometryResMeshData, {\r\n className: \"TriGeometryResMeshData\", family: \"resources\",\r\n fields: {\r\n name: type.string,\r\n vertexDeclarationHandle: type.uint32,\r\n bytesPerVertex: type.uint32,\r\n minBounds: type.vec3,\r\n maxBounds: type.vec3,\r\n boundingSphere: type.vec4,\r\n jointBindings: type.unknown,\r\n audioGeometry: type.rawStruct(\"AudioGeometryResData\"),\r\n decals: type.list(\"MeshDecalData\"),\r\n lodMask: type.uint32,\r\n lods: type.rawStruct(\"TrackableStdVector<std::unique_ptr<TriGeometryResLodData>>\")\r\n }\r\n});\r\n"],"names":["TriGeometryResMeshData","CjsModel","name","vertexDeclarationHandle","bytesPerVertex","minBounds","vec3","create","maxBounds","boundingSphere","vec4","jointBindings","audioGeometry","decals","lodMask","lods","CjsSchema","define","className","family","fields","type","string","uint32","unknown","rawStruct","list"],"mappings":";;;;;AAAA;AACA;;AAMA;AACO,MAAMA,sBAAsB,SAASC,QAAQ,CACpD;AAEE;AACAC,EAAAA,IAAI,GAAG,EAAE;;AAET;AACAC,EAAAA,uBAAuB,GAAG,CAAC;;AAE3B;EACAC,cAAc,GAAG,EAAE;;AAEnB;AACAC,EAAAA,SAAS,GAAGC,IAAI,CAACC,MAAM,EAAE;;AAEzB;AACAC,EAAAA,SAAS,GAAGF,IAAI,CAACC,MAAM,EAAE;;AAEzB;AACAE,EAAAA,cAAc,GAAGC,IAAI,CAACH,MAAM,EAAE;;AAE9B;AACAI,EAAAA,aAAa,GAAG,IAAI;;AAEpB;AACAC,EAAAA,aAAa,GAAG,IAAI;;AAEpB;AACAC,EAAAA,MAAM,GAAG,EAAE;;AAEX;AACAC,EAAAA,OAAO,GAAG,CAAC;;AAEX;AACAC,EAAAA,IAAI,GAAG,IAAI;AAEb;AAEAC,SAAS,CAACC,MAAM,CAACjB,sBAAsB,EAAE;AACvCkB,EAAAA,SAAS,EAAE,wBAAwB;AAAEC,EAAAA,MAAM,EAAE,WAAW;AACxDC,EAAAA,MAAM,EAAE;IACNlB,IAAI,EAAEmB,IAAI,CAACC,MAAM;IACjBnB,uBAAuB,EAAEkB,IAAI,CAACE,MAAM;IACpCnB,cAAc,EAAEiB,IAAI,CAACE,MAAM;IAC3BlB,SAAS,EAAEgB,IAAI,CAACf,IAAI;IACpBE,SAAS,EAAEa,IAAI,CAACf,IAAI;IACpBG,cAAc,EAAEY,IAAI,CAACX,IAAI;IACzBC,aAAa,EAAEU,IAAI,CAACG,OAAO;AAC3BZ,IAAAA,aAAa,EAAES,IAAI,CAACI,SAAS,CAAC,sBAAsB,CAAC;AACrDZ,IAAAA,MAAM,EAAEQ,IAAI,CAACK,IAAI,CAAC,eAAe,CAAC;IAClCZ,OAAO,EAAEO,IAAI,CAACE,MAAM;AACpBR,IAAAA,IAAI,EAAEM,IAAI,CAACI,SAAS,CAAC,4DAA4D;AACnF;AACF,CAAC,CAAC;;;;"}
|
|
@@ -1,34 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type } from '#schema';
|
|
1
|
+
import { CjsSchema, type } from '#schema';
|
|
3
2
|
import { CjsModel } from '#model';
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
// Source: trinity/trinity/Resources/TriGeometryRes.h
|
|
5
|
+
// Schema: format-carbon resources/TriGeometryResSkeletonData.json; maintained by the runtime resource layer.
|
|
6
6
|
|
|
7
7
|
/** TriGeometryResSkeletonData (resources) - maintained from schema shapeHash 9cfcfdf1.... */
|
|
8
|
-
let _TriGeometryResSkelet;
|
|
9
8
|
class TriGeometryResSkeletonData extends CjsModel {
|
|
10
|
-
static {
|
|
11
|
-
({
|
|
12
|
-
e: [_init_name, _init_extra_name, _init_joints, _init_extra_joints],
|
|
13
|
-
c: [_TriGeometryResSkelet, _initClass]
|
|
14
|
-
} = _applyDecs2311(this, [type.define({
|
|
15
|
-
className: "TriGeometryResSkeletonData",
|
|
16
|
-
family: "resources"
|
|
17
|
-
})], [[[type, type.string], 16, "name"], [[type, type.unknown], 16, "joints"]], 0, void 0, CjsModel));
|
|
18
|
-
}
|
|
19
|
-
constructor(...args) {
|
|
20
|
-
super(...args);
|
|
21
|
-
_init_extra_joints(this);
|
|
22
|
-
}
|
|
23
9
|
/** m_name (std::string) */
|
|
24
|
-
name =
|
|
10
|
+
name = "";
|
|
25
11
|
|
|
26
12
|
/** m_joints (TrackableStdVector<TriGeometryResJointData>) */
|
|
27
|
-
joints =
|
|
28
|
-
static {
|
|
29
|
-
_initClass();
|
|
30
|
-
}
|
|
13
|
+
joints = null;
|
|
31
14
|
}
|
|
15
|
+
CjsSchema.define(TriGeometryResSkeletonData, {
|
|
16
|
+
className: "TriGeometryResSkeletonData",
|
|
17
|
+
family: "resources",
|
|
18
|
+
fields: {
|
|
19
|
+
name: type.string,
|
|
20
|
+
joints: type.unknown
|
|
21
|
+
}
|
|
22
|
+
});
|
|
32
23
|
|
|
33
|
-
export {
|
|
24
|
+
export { TriGeometryResSkeletonData };
|
|
34
25
|
//# sourceMappingURL=TriGeometryResSkeletonData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriGeometryResSkeletonData.js","sources":["../../../../src/resource/geometry/TriGeometryResSkeletonData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriGeometryResSkeletonData.json; maintained by the runtime resource layer.\nimport { type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\n\r\n/** TriGeometryResSkeletonData (resources) - maintained from schema shapeHash 9cfcfdf1.... */\r\
|
|
1
|
+
{"version":3,"file":"TriGeometryResSkeletonData.js","sources":["../../../../src/resource/geometry/TriGeometryResSkeletonData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriGeometryResSkeletonData.json; maintained by the runtime resource layer.\r\nimport { CjsSchema, type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\n\r\n/** TriGeometryResSkeletonData (resources) - maintained from schema shapeHash 9cfcfdf1.... */\r\nexport class TriGeometryResSkeletonData extends CjsModel\r\n{\r\n\r\n /** m_name (std::string) */\r\n name = \"\";\r\n\r\n /** m_joints (TrackableStdVector<TriGeometryResJointData>) */\r\n joints = null;\r\n\r\n}\r\n\r\nCjsSchema.define(TriGeometryResSkeletonData, {\r\n className: \"TriGeometryResSkeletonData\", family: \"resources\",\r\n fields: {\r\n name: type.string,\r\n joints: type.unknown\r\n }\r\n});\r\n"],"names":["TriGeometryResSkeletonData","CjsModel","name","joints","CjsSchema","define","className","family","fields","type","string","unknown"],"mappings":";;;AAAA;AACA;;AAIA;AACO,MAAMA,0BAA0B,SAASC,QAAQ,CACxD;AAEE;AACAC,EAAAA,IAAI,GAAG,EAAE;;AAET;AACAC,EAAAA,MAAM,GAAG,IAAI;AAEf;AAEAC,SAAS,CAACC,MAAM,CAACL,0BAA0B,EAAE;AAC3CM,EAAAA,SAAS,EAAE,4BAA4B;AAAEC,EAAAA,MAAM,EAAE,WAAW;AAC5DC,EAAAA,MAAM,EAAE;IACNN,IAAI,EAAEO,IAAI,CAACC,MAAM;IACjBP,MAAM,EAAEM,IAAI,CAACE;AACf;AACF,CAAC,CAAC;;;;"}
|
|
@@ -1,38 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type } from '#schema';
|
|
1
|
+
import { CjsSchema, type } from '#schema';
|
|
3
2
|
import { CjsModel } from '#model';
|
|
4
3
|
import { vec3 } from '#math/vec3';
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
// Source: trinity/trinity/Resources/TriGeometryRes.h
|
|
6
|
+
// Schema: format-carbon resources/TriJointBinding.json; maintained by the runtime resource layer.
|
|
7
7
|
|
|
8
8
|
/** TriJointBinding (resources) - maintained from schema shapeHash 8459bced.... */
|
|
9
|
-
let _TriJointBinding;
|
|
10
9
|
class TriJointBinding extends CjsModel {
|
|
11
|
-
static {
|
|
12
|
-
({
|
|
13
|
-
e: [_init_name, _init_extra_name, _init_obbMin, _init_extra_obbMin, _init_obbMax, _init_extra_obbMax],
|
|
14
|
-
c: [_TriJointBinding, _initClass]
|
|
15
|
-
} = _applyDecs2311(this, [type.define({
|
|
16
|
-
className: "TriJointBinding",
|
|
17
|
-
family: "resources"
|
|
18
|
-
})], [[[type, type.string], 16, "name"], [[type, type.vec3], 16, "obbMin"], [[type, type.vec3], 16, "obbMax"]], 0, void 0, CjsModel));
|
|
19
|
-
}
|
|
20
|
-
constructor(...args) {
|
|
21
|
-
super(...args);
|
|
22
|
-
_init_extra_obbMax(this);
|
|
23
|
-
}
|
|
24
10
|
/** m_name (std::string) */
|
|
25
|
-
name =
|
|
11
|
+
name = "";
|
|
26
12
|
|
|
27
13
|
/** m_obbMin (Vector3) */
|
|
28
|
-
obbMin =
|
|
14
|
+
obbMin = vec3.create();
|
|
29
15
|
|
|
30
16
|
/** m_obbMax (Vector3) */
|
|
31
|
-
obbMax =
|
|
32
|
-
static {
|
|
33
|
-
_initClass();
|
|
34
|
-
}
|
|
17
|
+
obbMax = vec3.create();
|
|
35
18
|
}
|
|
19
|
+
CjsSchema.define(TriJointBinding, {
|
|
20
|
+
className: "TriJointBinding",
|
|
21
|
+
family: "resources",
|
|
22
|
+
fields: {
|
|
23
|
+
name: type.string,
|
|
24
|
+
obbMin: type.vec3,
|
|
25
|
+
obbMax: type.vec3
|
|
26
|
+
}
|
|
27
|
+
});
|
|
36
28
|
|
|
37
|
-
export {
|
|
29
|
+
export { TriJointBinding };
|
|
38
30
|
//# sourceMappingURL=TriJointBinding.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriJointBinding.js","sources":["../../../../src/resource/geometry/TriJointBinding.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriJointBinding.json; maintained by the runtime resource layer.\nimport { type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\nimport { vec3 } from \"#math/vec3\";\r\n\r\n/** TriJointBinding (resources) - maintained from schema shapeHash 8459bced.... */\r\
|
|
1
|
+
{"version":3,"file":"TriJointBinding.js","sources":["../../../../src/resource/geometry/TriJointBinding.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriJointBinding.json; maintained by the runtime resource layer.\r\nimport { CjsSchema, type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\nimport { vec3 } from \"#math/vec3\";\r\n\r\n/** TriJointBinding (resources) - maintained from schema shapeHash 8459bced.... */\r\nexport class TriJointBinding extends CjsModel\r\n{\r\n\r\n /** m_name (std::string) */\r\n name = \"\";\r\n\r\n /** m_obbMin (Vector3) */\r\n obbMin = vec3.create();\r\n\r\n /** m_obbMax (Vector3) */\r\n obbMax = vec3.create();\r\n\r\n}\r\n\r\nCjsSchema.define(TriJointBinding, {\r\n className: \"TriJointBinding\", family: \"resources\",\r\n fields: {\r\n name: type.string,\r\n obbMin: type.vec3,\r\n obbMax: type.vec3\r\n }\r\n});\r\n"],"names":["TriJointBinding","CjsModel","name","obbMin","vec3","create","obbMax","CjsSchema","define","className","family","fields","type","string"],"mappings":";;;;AAAA;AACA;;AAKA;AACO,MAAMA,eAAe,SAASC,QAAQ,CAC7C;AAEE;AACAC,EAAAA,IAAI,GAAG,EAAE;;AAET;AACAC,EAAAA,MAAM,GAAGC,IAAI,CAACC,MAAM,EAAE;;AAEtB;AACAC,EAAAA,MAAM,GAAGF,IAAI,CAACC,MAAM,EAAE;AAExB;AAEAE,SAAS,CAACC,MAAM,CAACR,eAAe,EAAE;AAChCS,EAAAA,SAAS,EAAE,iBAAiB;AAAEC,EAAAA,MAAM,EAAE,WAAW;AACjDC,EAAAA,MAAM,EAAE;IACNT,IAAI,EAAEU,IAAI,CAACC,MAAM;IACjBV,MAAM,EAAES,IAAI,CAACR,IAAI;IACjBE,MAAM,EAAEM,IAAI,CAACR;AACf;AACF,CAAC,CAAC;;;;"}
|
|
@@ -1,46 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type } from '#schema';
|
|
1
|
+
import { CjsSchema, type } from '#schema';
|
|
3
2
|
import { CjsModel } from '#model';
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
// Source: trinity/trinity/Resources/TriGeometryRes.h
|
|
5
|
+
// Schema: format-carbon resources/TriMorphTargetGeometryConstants.json; maintained by the runtime resource layer.
|
|
6
6
|
|
|
7
7
|
/** TriMorphTargetGeometryConstants (resources) - maintained from schema shapeHash d650628c.... */
|
|
8
|
-
let _TriMorphTargetGeomet;
|
|
9
8
|
class TriMorphTargetGeometryConstants extends CjsModel {
|
|
10
|
-
static {
|
|
11
|
-
({
|
|
12
|
-
e: [_init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_vertexCount, _init_extra_vertexCount],
|
|
13
|
-
c: [_TriMorphTargetGeomet, _initClass]
|
|
14
|
-
} = _applyDecs2311(this, [type.define({
|
|
15
|
-
className: "TriMorphTargetGeometryConstants",
|
|
16
|
-
family: "resources"
|
|
17
|
-
})], [[[type, type.uint32], 16, "vertexBufferStride"], [[type, type.uint32], 16, "positionOffset"], [[type, type.uint32], 16, "positionType"], [[type, type.uint32], 16, "tangentOffset"], [[type, type.uint32], 16, "tangentType"], [[type, type.uint32], 16, "vertexCount"]], 0, void 0, CjsModel));
|
|
18
|
-
}
|
|
19
|
-
constructor(...args) {
|
|
20
|
-
super(...args);
|
|
21
|
-
_init_extra_vertexCount(this);
|
|
22
|
-
}
|
|
23
9
|
/** vertexBufferStride (uint32_t) */
|
|
24
|
-
vertexBufferStride =
|
|
10
|
+
vertexBufferStride = 0;
|
|
25
11
|
|
|
26
12
|
/** positionOffset (uint32_t) */
|
|
27
|
-
positionOffset =
|
|
13
|
+
positionOffset = 0;
|
|
28
14
|
|
|
29
15
|
/** positionType (uint32_t) */
|
|
30
|
-
positionType =
|
|
16
|
+
positionType = 0;
|
|
31
17
|
|
|
32
18
|
/** tangentOffset (uint32_t) */
|
|
33
|
-
tangentOffset =
|
|
19
|
+
tangentOffset = 0;
|
|
34
20
|
|
|
35
21
|
/** tangentType (uint32_t) */
|
|
36
|
-
tangentType =
|
|
22
|
+
tangentType = 0;
|
|
37
23
|
|
|
38
24
|
/** vertexCount (uint32_t) */
|
|
39
|
-
vertexCount =
|
|
40
|
-
static {
|
|
41
|
-
_initClass();
|
|
42
|
-
}
|
|
25
|
+
vertexCount = 0;
|
|
43
26
|
}
|
|
27
|
+
CjsSchema.define(TriMorphTargetGeometryConstants, {
|
|
28
|
+
className: "TriMorphTargetGeometryConstants",
|
|
29
|
+
family: "resources",
|
|
30
|
+
fields: {
|
|
31
|
+
vertexBufferStride: type.uint32,
|
|
32
|
+
positionOffset: type.uint32,
|
|
33
|
+
positionType: type.uint32,
|
|
34
|
+
tangentOffset: type.uint32,
|
|
35
|
+
tangentType: type.uint32,
|
|
36
|
+
vertexCount: type.uint32
|
|
37
|
+
}
|
|
38
|
+
});
|
|
44
39
|
|
|
45
|
-
export {
|
|
40
|
+
export { TriMorphTargetGeometryConstants };
|
|
46
41
|
//# sourceMappingURL=TriMorphTargetGeometryConstants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriMorphTargetGeometryConstants.js","sources":["../../../../src/resource/geometry/TriMorphTargetGeometryConstants.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriMorphTargetGeometryConstants.json; maintained by the runtime resource layer.\nimport { type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\n\r\n/** TriMorphTargetGeometryConstants (resources) - maintained from schema shapeHash d650628c.... */\r\
|
|
1
|
+
{"version":3,"file":"TriMorphTargetGeometryConstants.js","sources":["../../../../src/resource/geometry/TriMorphTargetGeometryConstants.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriMorphTargetGeometryConstants.json; maintained by the runtime resource layer.\r\nimport { CjsSchema, type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\n\r\n/** TriMorphTargetGeometryConstants (resources) - maintained from schema shapeHash d650628c.... */\r\nexport class TriMorphTargetGeometryConstants extends CjsModel\r\n{\r\n\r\n /** vertexBufferStride (uint32_t) */\r\n vertexBufferStride = 0;\r\n\r\n /** positionOffset (uint32_t) */\r\n positionOffset = 0;\r\n\r\n /** positionType (uint32_t) */\r\n positionType = 0;\r\n\r\n /** tangentOffset (uint32_t) */\r\n tangentOffset = 0;\r\n\r\n /** tangentType (uint32_t) */\r\n tangentType = 0;\r\n\r\n /** vertexCount (uint32_t) */\r\n vertexCount = 0;\r\n\r\n}\r\n\r\nCjsSchema.define(TriMorphTargetGeometryConstants, {\r\n className: \"TriMorphTargetGeometryConstants\", family: \"resources\",\r\n fields: {\r\n vertexBufferStride: type.uint32,\r\n positionOffset: type.uint32,\r\n positionType: type.uint32,\r\n tangentOffset: type.uint32,\r\n tangentType: type.uint32,\r\n vertexCount: type.uint32\r\n }\r\n});\r\n"],"names":["TriMorphTargetGeometryConstants","CjsModel","vertexBufferStride","positionOffset","positionType","tangentOffset","tangentType","vertexCount","CjsSchema","define","className","family","fields","type","uint32"],"mappings":";;;AAAA;AACA;;AAIA;AACO,MAAMA,+BAA+B,SAASC,QAAQ,CAC7D;AAEE;AACAC,EAAAA,kBAAkB,GAAG,CAAC;;AAEtB;AACAC,EAAAA,cAAc,GAAG,CAAC;;AAElB;AACAC,EAAAA,YAAY,GAAG,CAAC;;AAEhB;AACAC,EAAAA,aAAa,GAAG,CAAC;;AAEjB;AACAC,EAAAA,WAAW,GAAG,CAAC;;AAEf;AACAC,EAAAA,WAAW,GAAG,CAAC;AAEjB;AAEAC,SAAS,CAACC,MAAM,CAACT,+BAA+B,EAAE;AAChDU,EAAAA,SAAS,EAAE,iCAAiC;AAAEC,EAAAA,MAAM,EAAE,WAAW;AACjEC,EAAAA,MAAM,EAAE;IACNV,kBAAkB,EAAEW,IAAI,CAACC,MAAM;IAC/BX,cAAc,EAAEU,IAAI,CAACC,MAAM;IAC3BV,YAAY,EAAES,IAAI,CAACC,MAAM;IACzBT,aAAa,EAAEQ,IAAI,CAACC,MAAM;IAC1BR,WAAW,EAAEO,IAAI,CAACC,MAAM;IACxBP,WAAW,EAAEM,IAAI,CAACC;AACpB;AACF,CAAC,CAAC;;;;"}
|