@carbonenginejs/runtime 0.1.0-alpha.2 → 0.1.0-alpha.4
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/NOTICE +5 -4
- package/dist/audio/generated/audio/AudEventKey.js +2 -2
- package/dist/audio/generated/audio/AudEventKey.js.map +1 -1
- package/dist/audio/generated/audio/AudSettings.js +2 -2
- package/dist/audio/generated/audio/AudSettings.js.map +1 -1
- package/dist/audio/index.js +1 -1
- package/dist/audio/trinity/audio/AudEmitter.js +4 -5
- package/dist/audio/trinity/audio/AudEmitter.js.map +1 -1
- package/dist/audio/trinity/audio/AudEventCurve.js +14 -14
- package/dist/audio/trinity/audio/AudEventCurve.js.map +1 -1
- package/dist/audio/trinity/audio/AudGameObjResource.js +13 -25
- package/dist/audio/trinity/audio/AudGameObjResource.js.map +1 -1
- package/dist/audio/trinity/audio/AudManager.js +2 -2
- package/dist/audio/trinity/audio/AudManager.js.map +1 -1
- package/dist/audio/trinity/audio/AudParameter.js +7 -11
- package/dist/audio/trinity/audio/AudParameter.js.map +1 -1
- package/dist/audio/trinity/audio/AudUIPlayer.js +2 -2
- package/dist/audio/trinity/audio/AudUIPlayer.js.map +1 -1
- package/dist/audio/trinity/audio/AudioCurveSetDriver.js +2 -2
- package/dist/audio/trinity/audio/AudioCurveSetDriver.js.map +1 -1
- package/dist/audio/trinity/audio/StretchAudio.js +2 -2
- package/dist/audio/trinity/audio/StretchAudio.js.map +1 -1
- package/dist/audio/trinity/index.js +1 -1
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchAuto.js +2 -2
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchAuto.js.map +1 -1
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchBase.js +2 -2
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchBase.js.map +1 -1
- package/dist/audio/trinity/trinityAudioApi/ITr2AudEmitter.js +1 -37
- package/dist/audio/trinity/trinityAudioApi/ITr2AudEmitter.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ColorCurve.js +2 -2
- package/dist/character/incarna/curves/Tr2ColorCurve.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ColorKey.js +2 -2
- package/dist/character/incarna/curves/Tr2ColorKey.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ScalarCurve.js +2 -2
- package/dist/character/incarna/curves/Tr2ScalarCurve.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ScalarKey.js +2 -2
- package/dist/character/incarna/curves/Tr2ScalarKey.js.map +1 -1
- package/dist/character/incarna/interior/Tr2InteriorCell.js +2 -2
- package/dist/character/incarna/interior/Tr2InteriorCell.js.map +1 -1
- package/dist/character/library/CjsCharacterLibrary.js +9 -16
- package/dist/character/library/CjsCharacterLibrary.js.map +1 -1
- package/dist/character/library/CjsCharacterLibraryDocuments.js +20 -4
- package/dist/character/library/CjsCharacterLibraryDocuments.js.map +1 -1
- package/dist/character/model/CjsCharacterRecord.js +2 -2
- package/dist/character/model/CjsCharacterRecord.js.map +1 -1
- package/dist/character/model/activity/CjsCharacterArchetype.js +2 -2
- package/dist/character/model/activity/CjsCharacterArchetype.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterColorLocation.js +2 -2
- package/dist/character/model/appearance/CjsCharacterColorLocation.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterColorName.js +2 -2
- package/dist/character/model/appearance/CjsCharacterColorName.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterColorSelection.js +2 -2
- package/dist/character/model/appearance/CjsCharacterColorSelection.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterSculptSelection.js +2 -2
- package/dist/character/model/appearance/CjsCharacterSculptSelection.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterSculptingLocation.js +2 -2
- package/dist/character/model/appearance/CjsCharacterSculptingLocation.js.map +1 -1
- package/dist/character/model/behavior/CjsCharacterAvatarBehavior.js +2 -2
- package/dist/character/model/behavior/CjsCharacterAvatarBehavior.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterColorValue.js +2 -2
- package/dist/character/model/catalog/CjsCharacterColorValue.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterDefinition.js +2 -2
- package/dist/character/model/catalog/CjsCharacterDefinition.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterMaterialProfile.js +2 -2
- package/dist/character/model/catalog/CjsCharacterMaterialProfile.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterModifierReference.js +2 -2
- package/dist/character/model/catalog/CjsCharacterModifierReference.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartMetadata.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartMetadata.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartModelBundle.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartModelBundle.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartSource.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartSource.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartSourceVersion.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartSourceVersion.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartType.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartType.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterProjectionProfile.js +2 -2
- package/dist/character/model/catalog/CjsCharacterProjectionProfile.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterRecipeEntry.js +2 -2
- package/dist/character/model/catalog/CjsCharacterRecipeEntry.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterRecipeProfile.js +2 -2
- package/dist/character/model/catalog/CjsCharacterRecipeProfile.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterTextureMetadata.js +2 -2
- package/dist/character/model/catalog/CjsCharacterTextureMetadata.js.map +1 -1
- package/dist/character/model/composition/CjsCharacterModifierLocation.js +2 -2
- package/dist/character/model/composition/CjsCharacterModifierLocation.js.map +1 -1
- package/dist/character/model/composition/CjsCharacterModifierSelection.js +2 -2
- package/dist/character/model/composition/CjsCharacterModifierSelection.js.map +1 -1
- package/dist/character/model/creation/CjsCharacterPaperdoll.js +2 -2
- package/dist/character/model/creation/CjsCharacterPaperdoll.js.map +1 -1
- package/dist/character/model/demographics/CjsCharacterAncestry.js +2 -2
- package/dist/character/model/demographics/CjsCharacterAncestry.js.map +1 -1
- package/dist/character/model/demographics/CjsCharacterBloodline.js +2 -2
- package/dist/character/model/demographics/CjsCharacterBloodline.js.map +1 -1
- package/dist/character/model/demographics/CjsCharacterRace.js +2 -2
- package/dist/character/model/demographics/CjsCharacterRace.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceBinding.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceBinding.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceColorSelection.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceColorSelection.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceDiagnostic.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceDiagnostic.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceLayer.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceLayer.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearancePlan.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearancePlan.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceSelection.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceSelection.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterBindingAlpha.js +2 -2
- package/dist/character/model/planning/CjsCharacterBindingAlpha.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCompositionInput.js +2 -2
- package/dist/character/model/planning/CjsCharacterCompositionInput.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCompositionPass.js +2 -2
- package/dist/character/model/planning/CjsCharacterCompositionPass.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCompositionTarget.js +2 -2
- package/dist/character/model/planning/CjsCharacterCompositionTarget.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCoverage.js +2 -2
- package/dist/character/model/planning/CjsCharacterCoverage.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterMorphTargetWeight.js +2 -2
- package/dist/character/model/planning/CjsCharacterMorphTargetWeight.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterOrigin.js +2 -2
- package/dist/character/model/planning/CjsCharacterOrigin.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterResolvedPart.js +2 -2
- package/dist/character/model/planning/CjsCharacterResolvedPart.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterTextureAsset.js +2 -2
- package/dist/character/model/planning/CjsCharacterTextureAsset.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterTextureChannel.js +2 -2
- package/dist/character/model/planning/CjsCharacterTextureChannel.js.map +1 -1
- package/dist/character/model/resources/CjsCharacterPortraitResource.js +2 -2
- package/dist/character/model/resources/CjsCharacterPortraitResource.js.map +1 -1
- package/dist/character/model/resources/CjsCharacterResource.js +2 -2
- package/dist/character/model/resources/CjsCharacterResource.js.map +1 -1
- package/dist/character/trinity/interior/Tr2IntSkinnedObject.js +6 -5
- package/dist/character/trinity/interior/Tr2IntSkinnedObject.js.map +1 -1
- package/dist/character/trinity/interior/Tr2InteriorLightSource.js +2 -2
- package/dist/character/trinity/interior/Tr2InteriorLightSource.js.map +1 -1
- package/dist/character/trinity/interior/Tr2InteriorPlaceable.js +4 -5
- package/dist/character/trinity/interior/Tr2InteriorPlaceable.js.map +1 -1
- package/dist/character/trinity/interior/Tr2InteriorScene.js +2 -2
- package/dist/character/trinity/interior/Tr2InteriorScene.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2GStateAnimation.js +2 -2
- package/dist/character/trinity/trinityCore/Tr2GStateAnimation.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2GStateParameter.js +2 -2
- package/dist/character/trinity/trinityCore/Tr2GStateParameter.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2Model.js +2 -2
- package/dist/character/trinity/trinityCore/Tr2Model.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedModel.js +21 -10
- package/dist/character/trinity/trinityCore/Tr2SkinnedModel.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedObject.js +64 -57
- package/dist/character/trinity/trinityCore/Tr2SkinnedObject.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedObjectLod.js +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedObjectLod.js.map +1 -1
- package/dist/character/trinity/wod/WodBakingScene.js +2 -2
- package/dist/character/trinity/wod/WodBakingScene.js.map +1 -1
- package/dist/core/CjsLibrary.js +32 -685
- package/dist/core/CjsLibrary.js.map +1 -1
- package/dist/core/index.js +1 -2
- package/dist/core/index.js.map +1 -1
- package/dist/global/blue/BeInfo.js +95 -0
- package/dist/global/blue/BeInfo.js.map +1 -0
- package/dist/global/blue/CcpDateTime.js +53 -0
- package/dist/global/blue/CcpDateTime.js.map +1 -0
- package/dist/global/blue/CcpTime.js +148 -0
- package/dist/global/blue/CcpTime.js.map +1 -0
- package/dist/global/blue/CjsBlueOS.js +301 -0
- package/dist/global/blue/CjsBlueOS.js.map +1 -0
- package/dist/global/blue/CjsBluePaths.js +97 -0
- package/dist/global/blue/CjsBluePaths.js.map +1 -0
- package/dist/global/blue/IBlueDynamicResourceConstructor.js +29 -0
- package/dist/global/blue/IBlueDynamicResourceConstructor.js.map +1 -0
- package/dist/global/blue/IBlueEvents.js +34 -0
- package/dist/global/blue/IBlueEvents.js.map +1 -0
- package/dist/global/blue/IBlueOS.js +132 -0
- package/dist/global/blue/IBlueOS.js.map +1 -0
- package/dist/global/blue/IBluePaths.js +72 -0
- package/dist/global/blue/IBluePaths.js.map +1 -0
- package/dist/global/blue/IBlueResMan.js +93 -0
- package/dist/global/blue/IBlueResMan.js.map +1 -0
- package/dist/global/blue/IBlueResManNotifications.js +51 -0
- package/dist/global/blue/IBlueResManNotifications.js.map +1 -0
- package/dist/global/blue/ICatchupTicks.js +25 -0
- package/dist/global/blue/ICatchupTicks.js.map +1 -0
- package/dist/global/blue/IInitialize.js +47 -0
- package/dist/global/blue/IInitialize.js.map +1 -0
- package/dist/global/blue/IListNotify.js +44 -0
- package/dist/global/blue/IListNotify.js.map +1 -0
- package/dist/global/blue/INotify.js +65 -0
- package/dist/global/blue/INotify.js.map +1 -0
- package/dist/global/blue/ISimTimeRebaseNotify.js +28 -0
- package/dist/global/blue/ISimTimeRebaseNotify.js.map +1 -0
- package/dist/global/blue/IVariableTicker.js +24 -0
- package/dist/global/blue/IVariableTicker.js.map +1 -0
- package/dist/global/blue/blue.js +61 -0
- package/dist/global/blue/blue.js.map +1 -0
- package/dist/global/blue/enums/CjsBlueEnumRegistry.js +173 -0
- package/dist/global/blue/enums/CjsBlueEnumRegistry.js.map +1 -0
- package/dist/global/blue/index.js +19 -0
- package/dist/global/blue/index.js.map +1 -1
- package/dist/global/blue/registerTrinityEnums.js +43 -0
- package/dist/global/blue/registerTrinityEnums.js.map +1 -0
- package/dist/global/compose/abstract.js +81 -0
- package/dist/global/compose/abstract.js.map +1 -0
- package/dist/global/compose/interface.js +131 -26
- package/dist/global/compose/interface.js.map +1 -1
- package/dist/global/compose/notify.js +10 -1
- package/dist/global/compose/notify.js.map +1 -1
- package/dist/global/compose/values.js +116 -53
- package/dist/global/compose/values.js.map +1 -1
- package/dist/global/consts/blue.js +73 -0
- package/dist/global/consts/blue.js.map +1 -0
- package/dist/global/consts/graphics/index.js +1 -1
- package/dist/global/consts/graphics/trinityEnums.js +19 -7
- package/dist/global/consts/graphics/trinityEnums.js.map +1 -1
- package/dist/global/consts/index.js +2 -1
- package/dist/global/consts/index.js.map +1 -1
- package/dist/global/consts/trinity.js.map +1 -1
- package/dist/global/contracts/ITr2BoundingBox.js +1 -34
- package/dist/global/contracts/ITr2BoundingBox.js.map +1 -1
- package/dist/global/contracts/ITr2RenderNode.js +1 -27
- package/dist/global/contracts/ITr2RenderNode.js.map +1 -1
- package/dist/global/contracts/index.js +2 -4
- package/dist/global/contracts/index.js.map +1 -1
- package/dist/global/index.js +23 -5
- package/dist/global/index.js.map +1 -1
- package/dist/global/model/CjsModel.js +82 -99
- package/dist/global/model/CjsModel.js.map +1 -1
- package/dist/global/model/CjsModelState.js +0 -15
- package/dist/global/model/CjsModelState.js.map +1 -1
- package/dist/global/model/document/CjsDocumentHydrator.js +5 -1
- package/dist/global/model/document/CjsDocumentHydrator.js.map +1 -1
- package/dist/global/model/index.js +1 -1
- package/dist/global/schema/CjsSchema.js +275 -69
- package/dist/global/schema/CjsSchema.js.map +1 -1
- package/dist/global/schema/hydration.js +10 -8
- package/dist/global/schema/hydration.js.map +1 -1
- package/dist/global/schema/index.js +4 -3
- package/dist/global/schema/index.js.map +1 -1
- package/dist/global/schema/types/carbonTypes.js +1 -1
- package/dist/global/schema/types/carbonTypes.js.map +1 -1
- package/dist/global/utils/bytes.js +2 -0
- package/dist/global/utils/bytes.js.map +1 -1
- package/dist/global/utils/path.js +30 -1
- package/dist/global/utils/path.js.map +1 -1
- package/dist/index.js +59 -24
- package/dist/index.js.map +1 -1
- package/dist/resource/CjsResMan.js +206 -43
- package/dist/resource/CjsResMan.js.map +1 -1
- package/dist/resource/CjsResource.js +4 -1
- package/dist/resource/CjsResource.js.map +1 -1
- package/dist/resource/format/CjsBlueReader.js +8 -2
- package/dist/resource/format/CjsBlueReader.js.map +1 -1
- package/dist/resource/format/CjsResourceProbe.js +15 -16
- package/dist/resource/format/CjsResourceProbe.js.map +1 -1
- package/dist/resource/format/carbonEffect/carbonEffectResourceTransform.js +132 -75
- package/dist/resource/format/carbonEffect/carbonEffectResourceTransform.js.map +1 -1
- package/dist/resource/formats/black/core/CjsBlackPropertyReaders.js +26 -0
- package/dist/resource/formats/black/core/CjsBlackPropertyReaders.js.map +1 -1
- package/dist/resource/formats/black/core/CjsBlackSchemaRegistry.js +2 -1
- package/dist/resource/formats/black/core/CjsBlackSchemaRegistry.js.map +1 -1
- package/dist/resource/formats/black/core/black-schema-v1-2026-09-19.json.js +4 -0
- package/dist/resource/formats/black/core/black-schema-v1-2026-09-19.json.js.map +1 -0
- package/dist/resource/formats/black/core/blackDefinitions.js +1 -1
- package/dist/resource/formats/black/core/blackDefinitions.js.map +1 -1
- package/dist/resource/formats/black/core/blackSchema.js +1 -1
- package/dist/resource/formats/dds/CjsDdsFormat.js +50 -1
- package/dist/resource/formats/dds/CjsDdsFormat.js.map +1 -1
- package/dist/resource/formats/dds/core/helpers.js +51 -5
- package/dist/resource/formats/dds/core/helpers.js.map +1 -1
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierGraphicIds.js +94 -0
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierGraphicIds.js.map +1 -0
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierTypes.js +189 -0
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierTypes.js.map +1 -0
- package/dist/resource/formats/fsd/64/readers/index.js +2 -0
- package/dist/resource/formats/fsd/64/readers/index.js.map +1 -1
- package/dist/resource/formats/hlsl/core/detailMapFamily.js +18 -92
- package/dist/resource/formats/hlsl/core/detailMapFamily.js.map +1 -1
- package/dist/resource/formats/hlsl/core/textureArrayFamilies.js +285 -0
- package/dist/resource/formats/hlsl/core/textureArrayFamilies.js.map +1 -0
- package/dist/resource/formats/pickle/CjsPickleFormat.js +34 -14
- package/dist/resource/formats/pickle/CjsPickleFormat.js.map +1 -1
- package/dist/resource/formats/pickle/core/CjsPickleProtocol0Reader.js +60 -451
- package/dist/resource/formats/pickle/core/CjsPickleProtocol0Reader.js.map +1 -1
- package/dist/resource/formats/pickle/core/CjsPickleProtocol4Reader.js +407 -0
- package/dist/resource/formats/pickle/core/CjsPickleProtocol4Reader.js.map +1 -0
- package/dist/resource/formats/pickle/core/pickleCommon.js +671 -0
- package/dist/resource/formats/pickle/core/pickleCommon.js.map +1 -0
- package/dist/resource/formats/red/core/blackDefinitions.js +1 -1
- package/dist/resource/formats/webgl/core/effectPackage.js +85 -7
- package/dist/resource/formats/webgl/core/effectPackage.js.map +1 -1
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js +666 -565
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js.map +1 -1
- package/dist/resource/formats/webgl/core/glslBackendBodySet.js +4 -4
- package/dist/resource/formats/webgl/core/glslBackendBodySet.js.map +1 -1
- package/dist/resource/formats/webgl/core/helpers.js +2 -2
- package/dist/resource/formats/webgl/core/helpers.js.map +1 -1
- package/dist/resource/geometry/TriGeometryRes.js +61 -7
- package/dist/resource/geometry/TriGeometryRes.js.map +1 -1
- package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js +11 -11
- package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js.map +1 -1
- package/dist/resource/index.js +11 -0
- package/dist/resource/index.js.map +1 -1
- package/dist/resource/shader/Tr2EffectRes.js +2 -3
- package/dist/resource/shader/Tr2EffectRes.js.map +1 -1
- package/dist/resource/shader/Tr2MaterialArea.js +3 -3
- package/dist/resource/shader/Tr2MaterialArea.js.map +1 -1
- package/dist/resource/shader/Tr2MaterialMesh.js +2 -2
- package/dist/resource/shader/Tr2MaterialMesh.js.map +1 -1
- package/dist/resource/shader/Tr2MaterialRes.js +3 -3
- package/dist/resource/shader/Tr2MaterialRes.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectLibrary.js +2 -2
- package/dist/resource/shader/reflection/Tr2EffectLibrary.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectStageInput.js +2 -2
- package/dist/resource/shader/reflection/Tr2EffectStageInput.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2Pass.js +4 -4
- package/dist/resource/shader/reflection/Tr2Pass.js.map +1 -1
- package/dist/resource/texture/CjsTextureArrayRes.js.map +1 -1
- package/dist/resource/texture/SolidColorTextureConstructor.js +46 -0
- package/dist/resource/texture/SolidColorTextureConstructor.js.map +1 -0
- package/dist/resource/texture/Tr2ImageRes.js +3 -4
- package/dist/resource/texture/Tr2ImageRes.js.map +1 -1
- package/dist/resource/texture/Tr2TextureLodManager.js +0 -1
- package/dist/resource/texture/Tr2TextureLodManager.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePackChannel.js +4 -4
- package/dist/resource/texture/Tr2TexturePackChannel.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipeline.js +3 -4
- package/dist/resource/texture/Tr2TexturePipeline.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepCompress.js +5 -5
- package/dist/resource/texture/Tr2TexturePipelineStepCompress.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js +3 -3
- package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepLoad.js +2 -2
- package/dist/resource/texture/Tr2TexturePipelineStepLoad.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepPack.js +6 -6
- package/dist/resource/texture/Tr2TexturePipelineStepPack.js.map +1 -1
- package/dist/resource/texture/TriTextureRes.js +65 -21
- package/dist/resource/texture/TriTextureRes.js.map +1 -1
- package/dist/resource/texture/index.js +2 -0
- package/dist/resource/texture/index.js.map +1 -1
- package/dist/resource/texture/solidColorTexture.js +111 -0
- package/dist/resource/texture/solidColorTexture.js.map +1 -0
- package/dist/resource/video/AudioMetadata.js +41 -0
- package/dist/resource/video/AudioMetadata.js.map +1 -0
- package/dist/resource/video/IAudioSink.js +51 -0
- package/dist/resource/video/IAudioSink.js.map +1 -0
- package/dist/resource/video/IEncodedFrame.js +52 -0
- package/dist/resource/video/IEncodedFrame.js.map +1 -0
- package/dist/resource/video/IVideoContainerParser.js +70 -0
- package/dist/resource/video/IVideoContainerParser.js.map +1 -0
- package/dist/resource/video/IVideoDecoder.js +36 -0
- package/dist/resource/video/IVideoDecoder.js.map +1 -0
- package/dist/resource/video/PcmFrame.js +33 -0
- package/dist/resource/video/PcmFrame.js.map +1 -0
- package/dist/resource/video/VideoFrame.js +45 -0
- package/dist/resource/video/VideoFrame.js.map +1 -0
- package/dist/resource/video/VideoMetadata.js +34 -0
- package/dist/resource/video/VideoMetadata.js.map +1 -0
- package/dist/resource/video/enums.js +30 -0
- package/dist/resource/video/enums.js.map +1 -0
- package/dist/sof/EveSOF.js +176 -176
- package/dist/sof/EveSOF.js.map +1 -1
- package/dist/sof/EveSOFDNA.js +5 -1
- package/dist/sof/EveSOFDNA.js.map +1 -1
- package/dist/sof/EveSOFData.js +2 -2
- package/dist/sof/EveSOFData.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFaction.js +2 -2
- package/dist/sof/faction/EveSOFDataFaction.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionChild.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionChild.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionColorSet.js +189 -3
- package/dist/sof/faction/EveSOFDataFactionColorSet.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionHullArea.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionHullArea.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionPlaneSet.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionPlaneSet.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionSpotlightSet.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionSpotlightSet.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionVisibilityGroupSet.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionVisibilityGroupSet.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGeneric.js +234 -230
- package/dist/sof/generic/EveSOFDataGeneric.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericDamage.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericDamage.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericDecalShader.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericDecalShader.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericHullCategory.js +27 -23
- package/dist/sof/generic/EveSOFDataGenericHullCategory.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericHullDamage.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericHullDamage.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericShader.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericShader.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericString.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericString.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericSwarm.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericSwarm.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericVariant.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericVariant.js.map +1 -1
- package/dist/sof/generic/EveSOFDataVisibilityGroup.js +2 -2
- package/dist/sof/generic/EveSOFDataVisibilityGroup.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHull.js +56 -3
- package/dist/sof/hull/EveSOFDataHull.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullAnimation.js +2 -2
- package/dist/sof/hull/EveSOFDataHullAnimation.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullArea.js +58 -54
- package/dist/sof/hull/EveSOFDataHullArea.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBanner.js +109 -3
- package/dist/sof/hull/EveSOFDataHullBanner.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBannerLight.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBannerLight.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBannerSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBannerSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBannerSetItem.js +109 -3
- package/dist/sof/hull/EveSOFDataHullBannerSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBooster.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBooster.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBoosterItem.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBoosterItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullChild.js +55 -50
- package/dist/sof/hull/EveSOFDataHullChild.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullChildSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullChildSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullChildSetItem.js +51 -46
- package/dist/sof/hull/EveSOFDataHullChildSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullController.js +2 -2
- package/dist/sof/hull/EveSOFDataHullController.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullDecalSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullDecalSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullDecalSetItem.js +45 -3
- package/dist/sof/hull/EveSOFDataHullDecalSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullHazeSet.js +21 -3
- package/dist/sof/hull/EveSOFDataHullHazeSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullHazeSetItem.js +47 -43
- package/dist/sof/hull/EveSOFDataHullHazeSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLightSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSetItem.js +4 -2
- package/dist/sof/hull/EveSOFDataHullLightSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSetSpotLight.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLightSetSpotLight.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSetTexturedPointLight.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLightSetTexturedPointLight.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLocator.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLocator.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLocatorSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLocatorSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLocatorSetGroup.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLocatorSetGroup.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullPlaneSet.js +29 -3
- package/dist/sof/hull/EveSOFDataHullPlaneSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullPlaneSetItem.js +81 -75
- package/dist/sof/hull/EveSOFDataHullPlaneSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSoundEmitter.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSoundEmitter.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpotlightSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSpotlightSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpotlightSetItem.js +45 -41
- package/dist/sof/hull/EveSOFDataHullSpotlightSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteLineSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSpriteLineSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteLineSetItem.js +70 -66
- package/dist/sof/hull/EveSOFDataHullSpriteLineSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSpriteSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteSetItem.js +45 -41
- package/dist/sof/hull/EveSOFDataHullSpriteSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataMultiHullDecalIndexBuffers.js +2 -2
- package/dist/sof/hull/EveSOFDataMultiHullDecalIndexBuffers.js.map +1 -1
- package/dist/sof/layout/EveSOFDataDistributionDepletionCounter.js +2 -2
- package/dist/sof/layout/EveSOFDataDistributionDepletionCounter.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionBucket.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionBucket.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacement.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacement.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionDepletionCounter.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionDepletionCounter.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionMapGraphicSettings.js +35 -3
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionMapGraphicSettings.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionParentMatch.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionParentMatch.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionPlacement.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionPlacement.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionRandomChance.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionRandomChance.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementGroup.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementGroup.js.map +1 -1
- package/dist/sof/layout/EveSOFDataLayout.js +2 -2
- package/dist/sof/layout/EveSOFDataLayout.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPattern.js +2 -2
- package/dist/sof/pattern/EveSOFDataPattern.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternApplicationGroup.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternApplicationGroup.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternLayer.js +60 -3
- package/dist/sof/pattern/EveSOFDataPatternLayer.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternLayerProperties.js +23 -3
- package/dist/sof/pattern/EveSOFDataPatternLayerProperties.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternMaterialOverride.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternMaterialOverride.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternPerHull.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternPerHull.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternTransform.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternTransform.js.map +1 -1
- package/dist/sof/race/EveSOFDataRace.js +46 -42
- package/dist/sof/race/EveSOFDataRace.js.map +1 -1
- package/dist/sof/race/EveSOFDataRaceDamage.js +2 -2
- package/dist/sof/race/EveSOFDataRaceDamage.js.map +1 -1
- package/dist/sof/shared/CjsExternalRef.js +2 -2
- package/dist/sof/shared/CjsExternalRef.js.map +1 -1
- package/dist/sof/shared/EveSOFDNADescriptor.js +2 -2
- package/dist/sof/shared/EveSOFDNADescriptor.js.map +1 -1
- package/dist/sof/shared/EveSOFDataArea.js +61 -3
- package/dist/sof/shared/EveSOFDataArea.js.map +1 -1
- package/dist/sof/shared/EveSOFDataAreaMaterial.js +4 -2
- package/dist/sof/shared/EveSOFDataAreaMaterial.js.map +1 -1
- package/dist/sof/shared/EveSOFDataBlinkType.js +48 -8
- package/dist/sof/shared/EveSOFDataBlinkType.js.map +1 -1
- package/dist/sof/shared/EveSOFDataBooster.js +2 -2
- package/dist/sof/shared/EveSOFDataBooster.js.map +1 -1
- package/dist/sof/shared/EveSOFDataBoosterShape.js +2 -2
- package/dist/sof/shared/EveSOFDataBoosterShape.js.map +1 -1
- package/dist/sof/shared/EveSOFDataDecalIndexBuffer.js +2 -2
- package/dist/sof/shared/EveSOFDataDecalIndexBuffer.js.map +1 -1
- package/dist/sof/shared/EveSOFDataInstancedMesh.js +40 -3
- package/dist/sof/shared/EveSOFDataInstancedMesh.js.map +1 -1
- package/dist/sof/shared/EveSOFDataLogo.js +2 -2
- package/dist/sof/shared/EveSOFDataLogo.js.map +1 -1
- package/dist/sof/shared/EveSOFDataLogoSet.js +33 -3
- package/dist/sof/shared/EveSOFDataLogoSet.js.map +1 -1
- package/dist/sof/shared/EveSOFDataMaterial.js +2 -2
- package/dist/sof/shared/EveSOFDataMaterial.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameter.js +2 -2
- package/dist/sof/shared/EveSOFDataParameter.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterBool.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterBool.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterColor.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterColor.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterFloat.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterFloat.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterInt.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterInt.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterVector2.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterVector2.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterVector3.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterVector3.js.map +1 -1
- package/dist/sof/shared/EveSOFDataPointLightAttachment.js +2 -2
- package/dist/sof/shared/EveSOFDataPointLightAttachment.js.map +1 -1
- package/dist/sof/shared/EveSOFDataSpotLightAttachment.js +2 -2
- package/dist/sof/shared/EveSOFDataSpotLightAttachment.js.map +1 -1
- package/dist/sof/shared/EveSOFDataTexture.js +2 -2
- package/dist/sof/shared/EveSOFDataTexture.js.map +1 -1
- package/dist/sof/shared/EveSOFDataTransform.js +2 -2
- package/dist/sof/shared/EveSOFDataTransform.js.map +1 -1
- package/dist/sof/shared/EveSofDataMeshInstance.js +2 -2
- package/dist/sof/shared/EveSofDataMeshInstance.js.map +1 -1
- package/dist/sof/sofDocumentValues.js +9 -0
- package/dist/sof/sofDocumentValues.js.map +1 -1
- package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js +2 -25
- package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js.map +1 -1
- package/dist/trinity/controllers/ITr2Controller/ITr2Controller.js +2 -72
- package/dist/trinity/controllers/ITr2Controller/ITr2Controller.js.map +1 -1
- package/dist/trinity/controllers/ITr2ControllerOwner.js +1 -36
- package/dist/trinity/controllers/ITr2ControllerOwner.js.map +1 -1
- package/dist/trinity/controllers/Tr2Controller.js +4 -5
- package/dist/trinity/controllers/Tr2Controller.js.map +1 -1
- package/dist/trinity/controllers/Tr2ControllerEventHandler.js +2 -2
- package/dist/trinity/controllers/Tr2ControllerEventHandler.js.map +1 -1
- package/dist/trinity/controllers/Tr2ControllerReference.js +9 -17
- package/dist/trinity/controllers/Tr2ControllerReference.js.map +1 -1
- package/dist/trinity/controllers/Tr2SyncToAnimation.js +4 -5
- package/dist/trinity/controllers/Tr2SyncToAnimation.js.map +1 -1
- package/dist/trinity/controllers/action/ITr2ControllerAction.js +1 -28
- package/dist/trinity/controllers/action/ITr2ControllerAction.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionAnimateCurveSet.js +9 -7
- package/dist/trinity/controllers/action/Tr2ActionAnimateCurveSet.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionAnimateValue.js +11 -9
- package/dist/trinity/controllers/action/Tr2ActionAnimateValue.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionBindRTPC.js +9 -7
- package/dist/trinity/controllers/action/Tr2ActionBindRTPC.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionCallback.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionCallback.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionChildEffect.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionChildEffect.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionOverlay.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionOverlay.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPlayCurveSet.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionPlayCurveSet.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPlayMeshAnimation.js +13 -9
- package/dist/trinity/controllers/action/Tr2ActionPlayMeshAnimation.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPlaySound.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionPlaySound.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPython.js +6 -6
- package/dist/trinity/controllers/action/Tr2ActionPython.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionResetClipSphereCenter.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionResetClipSphereCenter.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetAttenuationScaling.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetAttenuationScaling.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetAudioEmitterPrefix.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetAudioEmitterPrefix.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetAudioSwitch.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetAudioSwitch.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetExternalControllerVariable.js +8 -17
- package/dist/trinity/controllers/action/Tr2ActionSetExternalControllerVariable.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetShaderOption.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetShaderOption.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetValue.js +11 -9
- package/dist/trinity/controllers/action/Tr2ActionSetValue.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js.map +1 -1
- package/dist/trinity/controllers/contracts.js +27 -19
- package/dist/trinity/controllers/contracts.js.map +1 -1
- package/dist/trinity/controllers/expression/Tr2BindingPoint.js +6 -15
- package/dist/trinity/controllers/expression/Tr2BindingPoint.js.map +1 -1
- package/dist/trinity/controllers/expression/Tr2ControllerFloatVariable.js +2 -2
- package/dist/trinity/controllers/expression/Tr2ControllerFloatVariable.js.map +1 -1
- package/dist/trinity/controllers/expression/expressionRuntime.js +136 -0
- package/dist/trinity/controllers/expression/expressionRuntime.js.map +1 -1
- package/dist/trinity/controllers/index.js +6 -6
- package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js +1 -24
- package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js.map +1 -1
- package/dist/trinity/controllers/state/Tr2StateMachine.js +4 -6
- package/dist/trinity/controllers/state/Tr2StateMachine.js.map +1 -1
- package/dist/trinity/controllers/state/Tr2StateMachineState.js +6 -6
- package/dist/trinity/controllers/state/Tr2StateMachineState.js.map +1 -1
- package/dist/trinity/controllers/state/Tr2StateMachineTransition.js +12 -9
- package/dist/trinity/controllers/state/Tr2StateMachineTransition.js.map +1 -1
- package/dist/trinity/controllers/timeline/Tr2TimelineController.js +5 -6
- package/dist/trinity/controllers/timeline/Tr2TimelineController.js.map +1 -1
- package/dist/trinity/core/ITr2Renderable.js +1 -49
- package/dist/trinity/core/ITr2Renderable.js.map +1 -1
- package/dist/trinity/core/ITr2Updateable.js +1 -22
- package/dist/trinity/core/ITr2Updateable.js.map +1 -1
- package/dist/trinity/core/ITriReroutable.js +56 -0
- package/dist/trinity/core/ITriReroutable.js.map +1 -0
- package/dist/trinity/core/Tr2Denoiser.js +2 -2
- package/dist/trinity/core/Tr2Denoiser.js.map +1 -1
- package/dist/trinity/core/Tr2MaterialParameterStore.js +2 -2
- package/dist/trinity/core/Tr2MaterialParameterStore.js.map +1 -1
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js +2 -2
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js.map +1 -1
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js +1 -1
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js.map +1 -1
- package/dist/trinity/core/Tr2Renderer.js +161 -4
- package/dist/trinity/core/Tr2Renderer.js.map +1 -1
- package/dist/trinity/core/Tr2ShadowMap.js +3 -3
- package/dist/trinity/core/Tr2ShadowMap.js.map +1 -1
- package/dist/trinity/core/Tr2StreamingBitmapSaver.js +2 -2
- package/dist/trinity/core/Tr2StreamingBitmapSaver.js.map +1 -1
- package/dist/trinity/core/Tr2Transform.js +4 -5
- package/dist/trinity/core/Tr2Transform.js.map +1 -1
- package/dist/trinity/core/animation/Tr2GrannyAnimation.js +2 -2
- package/dist/trinity/core/animation/Tr2GrannyAnimation.js.map +1 -1
- package/dist/trinity/core/animation/Tr2TextureAnimation.js +2 -2
- package/dist/trinity/core/animation/Tr2TextureAnimation.js.map +1 -1
- package/dist/trinity/core/animation/TriRigidOrientation.js +2 -2
- package/dist/trinity/core/animation/TriRigidOrientation.js.map +1 -1
- package/dist/trinity/core/animation/TriTorque.js +2 -2
- package/dist/trinity/core/animation/TriTorque.js.map +1 -1
- package/dist/trinity/core/batch/CjsBatchManager.js +15 -50
- package/dist/trinity/core/batch/CjsBatchManager.js.map +1 -1
- package/dist/trinity/core/batch/TriRenderBatch/ITriRenderBatchAccumulator.js.map +1 -1
- package/dist/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js +12 -14
- package/dist/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js.map +1 -1
- package/dist/trinity/core/binding/Tr2BindingVector3.js +2 -2
- package/dist/trinity/core/binding/Tr2BindingVector3.js.map +1 -1
- package/dist/trinity/core/binding/Tr2DynamicBinding.js +6 -20
- package/dist/trinity/core/binding/Tr2DynamicBinding.js.map +1 -1
- package/dist/trinity/core/binding/Tr2ExternalParameter.js +3 -6
- package/dist/trinity/core/binding/Tr2ExternalParameter.js.map +1 -1
- package/dist/trinity/core/binding/Tr2PyValueBinding.js +2 -2
- package/dist/trinity/core/binding/Tr2PyValueBinding.js.map +1 -1
- package/dist/trinity/core/binding/TriValueBinding.js +50 -24
- package/dist/trinity/core/binding/TriValueBinding.js.map +1 -1
- package/dist/trinity/core/context/CjsDirectTrinityStepExecutor.js +0 -6
- package/dist/trinity/core/context/CjsDirectTrinityStepExecutor.js.map +1 -1
- package/dist/trinity/core/context/CjsTrinityStepExecutor.js +7 -10
- package/dist/trinity/core/context/CjsTrinityStepExecutor.js.map +1 -1
- package/dist/trinity/core/context/Tr2RenderContext.js +74 -116
- package/dist/trinity/core/context/Tr2RenderContext.js.map +1 -1
- package/dist/trinity/core/device/Tr2DepthStencil.js +2 -2
- package/dist/trinity/core/device/Tr2DepthStencil.js.map +1 -1
- package/dist/trinity/core/device/Tr2GpuBuffer.js +2 -2
- package/dist/trinity/core/device/Tr2GpuBuffer.js.map +1 -1
- package/dist/trinity/core/device/Tr2RenderTarget.js +2 -2
- package/dist/trinity/core/device/Tr2RenderTarget.js.map +1 -1
- package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js +2 -2
- package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js.map +1 -1
- package/dist/trinity/core/device/Tr2SwapChain.js +2 -2
- package/dist/trinity/core/device/Tr2SwapChain.js.map +1 -1
- package/dist/trinity/core/device/TriDevice.js +576 -37
- package/dist/trinity/core/device/TriDevice.js.map +1 -1
- package/dist/trinity/core/device/gTriDev.js +49 -0
- package/dist/trinity/core/device/gTriDev.js.map +1 -0
- package/dist/trinity/core/index.js +9 -5
- package/dist/trinity/core/index.js.map +1 -1
- package/dist/trinity/core/lighting/Tr2KelvinColor.js +2 -2
- package/dist/trinity/core/lighting/Tr2KelvinColor.js.map +1 -1
- package/dist/trinity/core/lighting/Tr2LightManager.js +7 -17
- package/dist/trinity/core/lighting/Tr2LightManager.js.map +1 -1
- package/dist/trinity/core/lighting/Tr2ShLightingManager.js +2 -2
- package/dist/trinity/core/lighting/Tr2ShLightingManager.js.map +1 -1
- package/dist/trinity/core/line/Tr2BoundingLineSet.js +2 -2
- package/dist/trinity/core/line/Tr2BoundingLineSet.js.map +1 -1
- package/dist/trinity/core/line/Tr2CurveLineSet.js +10 -7
- package/dist/trinity/core/line/Tr2CurveLineSet.js.map +1 -1
- package/dist/trinity/core/line/Tr2LineGraph.js +2 -2
- package/dist/trinity/core/line/Tr2LineGraph.js.map +1 -1
- package/dist/trinity/core/line/Tr2PrimitiveSet.js +4 -5
- package/dist/trinity/core/line/Tr2PrimitiveSet.js.map +1 -1
- package/dist/trinity/core/line/TriLineSet.js +2 -2
- package/dist/trinity/core/line/TriLineSet.js.map +1 -1
- package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js +1 -37
- package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js.map +1 -1
- package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js +1 -34
- package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2DirectInstanceData.js +5 -6
- package/dist/trinity/core/mesh/Tr2DirectInstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2InstancedMesh.js +2 -2
- package/dist/trinity/core/mesh/Tr2InstancedMesh.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2Mesh.js +288 -183
- package/dist/trinity/core/mesh/Tr2Mesh.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2MeshArea.js +32 -3
- package/dist/trinity/core/mesh/Tr2MeshArea.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2MeshBase.js +58 -8
- package/dist/trinity/core/mesh/Tr2MeshBase.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js +141 -142
- package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2SerializedMorphAnimation.js +2 -2
- package/dist/trinity/core/mesh/Tr2SerializedMorphAnimation.js.map +1 -1
- package/dist/trinity/core/procedural/GradientTextureConstructor.js +62 -0
- package/dist/trinity/core/procedural/GradientTextureConstructor.js.map +1 -0
- package/dist/trinity/core/procedural/gradientTexture.js +196 -0
- package/dist/trinity/core/procedural/gradientTexture.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectData.js.map +1 -1
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js +5 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js.map +1 -1
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js +2 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js.map +1 -1
- package/dist/trinity/core/tool/Tr2ManipulationTool.js +2 -2
- package/dist/trinity/core/tool/Tr2ManipulationTool.js.map +1 -1
- package/dist/trinity/core/tool/Tr2RotationTool.js +2 -2
- package/dist/trinity/core/tool/Tr2RotationTool.js.map +1 -1
- package/dist/trinity/core/tool/Tr2ScalingTool.js +2 -2
- package/dist/trinity/core/tool/Tr2ScalingTool.js.map +1 -1
- package/dist/trinity/core/tool/Tr2TranslationTool.js +2 -2
- package/dist/trinity/core/tool/Tr2TranslationTool.js.map +1 -1
- package/dist/trinity/core/variable/Tr2ExpressionTermInfo.js +2 -2
- package/dist/trinity/core/variable/Tr2ExpressionTermInfo.js.map +1 -1
- package/dist/trinity/core/variable/TriFloat.js +2 -2
- package/dist/trinity/core/variable/TriFloat.js.map +1 -1
- package/dist/trinity/core/variable/TriObserverLocal.js +2 -2
- package/dist/trinity/core/variable/TriObserverLocal.js.map +1 -1
- package/dist/trinity/core/variable/TriVariable.js +2 -2
- package/dist/trinity/core/variable/TriVariable.js.map +1 -1
- package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js +2 -0
- package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js.map +1 -1
- package/dist/trinity/core/view/TriProjection.js +2 -2
- package/dist/trinity/core/view/TriProjection.js.map +1 -1
- package/dist/trinity/core/view/TriRect.js +2 -2
- package/dist/trinity/core/view/TriRect.js.map +1 -1
- package/dist/trinity/core/view/TriView.js +2 -2
- package/dist/trinity/core/view/TriView.js.map +1 -1
- package/dist/trinity/core/view/TriViewport.js +2 -2
- package/dist/trinity/core/view/TriViewport.js.map +1 -1
- package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js +3 -3
- package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js.map +1 -1
- package/dist/trinity/curves/Tr2CurveSetRange.js +2 -2
- package/dist/trinity/curves/Tr2CurveSetRange.js.map +1 -1
- package/dist/trinity/curves/TriCurveSet.js +2 -2
- package/dist/trinity/curves/TriCurveSet.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2BoneMatrixCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2BoneMatrixCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveColor.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveColor.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveColorMixer.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveColorMixer.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveCombiner.js +3 -3
- package/dist/trinity/curves/curve/Tr2CurveCombiner.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveConstant.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveConstant.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveEulerRotation.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveEulerRotation.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveEulerRotationExpression.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveEulerRotationExpression.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveQuaternion.js +3 -3
- package/dist/trinity/curves/curve/Tr2CurveQuaternion.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveScalar.js +3 -3
- package/dist/trinity/curves/curve/Tr2CurveScalar.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveScalarExpression.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveScalarExpression.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector2.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector2.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector3.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector3.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector3Expression.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector3Expression.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector3Lerp.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector3Lerp.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2DistanceTracker.js +5 -5
- package/dist/trinity/curves/curve/Tr2DistanceTracker.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2FollowCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2FollowCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2QuaternionLerpCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2QuaternionLerpCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2RotationAdapter.js +2 -2
- package/dist/trinity/curves/curve/Tr2RotationAdapter.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2ScalarExprKeyCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2ScalarExprKeyCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2ScalarFader.js +2 -2
- package/dist/trinity/curves/curve/Tr2ScalarFader.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2TranslationAdapter.js +2 -2
- package/dist/trinity/curves/curve/Tr2TranslationAdapter.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2VectorFunctionModifier.js +2 -2
- package/dist/trinity/curves/curve/Tr2VectorFunctionModifier.js.map +1 -1
- package/dist/trinity/curves/curve/TriColorSequencer.js +18 -18
- package/dist/trinity/curves/curve/TriColorSequencer.js.map +1 -1
- package/dist/trinity/curves/curve/TriEventCurve.js +51 -51
- package/dist/trinity/curves/curve/TriEventCurve.js.map +1 -1
- package/dist/trinity/curves/curve/TriPerlinCurve.js +2 -2
- package/dist/trinity/curves/curve/TriPerlinCurve.js.map +1 -1
- package/dist/trinity/curves/curve/TriVectorSequencer.js +36 -36
- package/dist/trinity/curves/curve/TriVectorSequencer.js.map +1 -1
- package/dist/trinity/curves/key/Tr2CameraFollowCurveKey.js +2 -2
- package/dist/trinity/curves/key/Tr2CameraFollowCurveKey.js.map +1 -1
- package/dist/trinity/curves/key/Tr2MatrixKey.js +2 -2
- package/dist/trinity/curves/key/Tr2MatrixKey.js.map +1 -1
- package/dist/trinity/curves/key/Tr2ObjectFollowCurveKey.js +2 -2
- package/dist/trinity/curves/key/Tr2ObjectFollowCurveKey.js.map +1 -1
- package/dist/trinity/curves/key/Tr2ScalarExprKey.js +28 -24
- package/dist/trinity/curves/key/Tr2ScalarExprKey.js.map +1 -1
- package/dist/trinity/curves/key/TriEventKey.js +2 -2
- package/dist/trinity/curves/key/TriEventKey.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyEventTrack.js +2 -2
- package/dist/trinity/curves/track/Tr2GrannyEventTrack.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyTrack.js +9 -4
- package/dist/trinity/curves/track/Tr2GrannyTrack.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyTransformTrack.js +2 -2
- package/dist/trinity/curves/track/Tr2GrannyTransformTrack.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyVectorTrack.js +2 -2
- package/dist/trinity/curves/track/Tr2GrannyVectorTrack.js.map +1 -1
- package/dist/trinity/eve/AudioGameObject.js +6 -8
- package/dist/trinity/eve/AudioGameObject.js.map +1 -1
- package/dist/trinity/eve/EveCustomMask.js +2 -2
- package/dist/trinity/eve/EveCustomMask.js.map +1 -1
- package/dist/trinity/eve/EveDistanceField.js +6 -4
- package/dist/trinity/eve/EveDistanceField.js.map +1 -1
- package/dist/trinity/eve/EveImpactOverlay.js +2 -2
- package/dist/trinity/eve/EveImpactOverlay.js.map +1 -1
- package/dist/trinity/eve/EveThrottleable.js +2 -2
- package/dist/trinity/eve/EveThrottleable.js.map +1 -1
- package/dist/trinity/eve/EveTriggerVolume.js +4 -5
- package/dist/trinity/eve/EveTriggerVolume.js.map +1 -1
- package/dist/trinity/eve/IEveInheritPropertiesOwner.js +1 -23
- package/dist/trinity/eve/IEveInheritPropertiesOwner.js.map +1 -1
- package/dist/trinity/eve/IEveSpaceObject2.js +1 -24
- package/dist/trinity/eve/IEveSpaceObject2.js.map +1 -1
- package/dist/trinity/eve/IEveTransform.js +1 -22
- package/dist/trinity/eve/IEveTransform.js.map +1 -1
- package/dist/trinity/eve/attachment/banner/EveBannerItem.js +2 -2
- package/dist/trinity/eve/attachment/banner/EveBannerItem.js.map +1 -1
- package/dist/trinity/eve/attachment/banner/EveBannerLight.js +2 -2
- package/dist/trinity/eve/attachment/banner/EveBannerLight.js.map +1 -1
- package/dist/trinity/eve/attachment/banner/EveBannerSet.js +20 -3
- package/dist/trinity/eve/attachment/banner/EveBannerSet.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js +127 -122
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js +5 -5
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js +4 -5
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveTrailsSet.js +4 -2
- package/dist/trinity/eve/attachment/booster/EveTrailsSet.js.map +1 -1
- package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js +169 -155
- package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js.map +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSet.js +3 -3
- package/dist/trinity/eve/attachment/haze/EveHazeSet.js.map +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSetItem.js +2 -2
- package/dist/trinity/eve/attachment/haze/EveHazeSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSetLight.js +2 -2
- package/dist/trinity/eve/attachment/haze/EveHazeSetLight.js.map +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneLight.js +2 -2
- package/dist/trinity/eve/attachment/plane/EvePlaneLight.js.map +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneSet.js +10 -4
- package/dist/trinity/eve/attachment/plane/EvePlaneSet.js.map +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneSetItem.js +3 -2
- package/dist/trinity/eve/attachment/plane/EvePlaneSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightLight.js +2 -2
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightLight.js.map +1 -1
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js +3 -3
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js.map +1 -1
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSetItem.js +2 -2
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLight.js +2 -2
- package/dist/trinity/eve/attachment/sprite/EveSpriteLight.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js +4 -4
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSetItem.js +2 -2
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js +5 -5
- package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteSetItem.js +2 -2
- package/dist/trinity/eve/attachment/sprite/EveSpriteSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/turrets/EveTurretFiringFX.js +7 -4
- package/dist/trinity/eve/attachment/turrets/EveTurretFiringFX.js.map +1 -1
- package/dist/trinity/eve/attachment/turrets/EveTurretSet.js +177 -144
- package/dist/trinity/eve/attachment/turrets/EveTurretSet.js.map +1 -1
- package/dist/trinity/eve/attachment/turrets/EveTurretTarget.js +2 -2
- package/dist/trinity/eve/attachment/turrets/EveTurretTarget.js.map +1 -1
- package/dist/trinity/eve/camera/EveCamera.js +5 -11
- package/dist/trinity/eve/camera/EveCamera.js.map +1 -1
- package/dist/trinity/eve/child/EveChildAudio.js +4 -5
- package/dist/trinity/eve/child/EveChildAudio.js.map +1 -1
- package/dist/trinity/eve/child/EveChildBehaviorSystem.js +5 -6
- package/dist/trinity/eve/child/EveChildBehaviorSystem.js.map +1 -1
- package/dist/trinity/eve/child/EveChildBoosterSet.js +6 -6
- package/dist/trinity/eve/child/EveChildBoosterSet.js.map +1 -1
- package/dist/trinity/eve/child/EveChildBulletStorm.js +4 -5
- package/dist/trinity/eve/child/EveChildBulletStorm.js.map +1 -1
- package/dist/trinity/eve/child/EveChildCloud.js +5 -6
- package/dist/trinity/eve/child/EveChildCloud.js.map +1 -1
- package/dist/trinity/eve/child/EveChildCloud2.js +166 -166
- package/dist/trinity/eve/child/EveChildCloud2.js.map +1 -1
- package/dist/trinity/eve/child/EveChildContainer.js +235 -169
- package/dist/trinity/eve/child/EveChildContainer.js.map +1 -1
- package/dist/trinity/eve/child/EveChildEffectPropagator.js +9 -9
- package/dist/trinity/eve/child/EveChildEffectPropagator.js.map +1 -1
- package/dist/trinity/eve/child/EveChildExplosion.js +11 -7
- package/dist/trinity/eve/child/EveChildExplosion.js.map +1 -1
- package/dist/trinity/eve/child/EveChildFogVolume.js +2 -2
- package/dist/trinity/eve/child/EveChildFogVolume.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInheritProperties.js +2 -2
- package/dist/trinity/eve/child/EveChildInheritProperties.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstanceContainer.js +2 -2
- package/dist/trinity/eve/child/EveChildInstanceContainer.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstanceMeshRenderer.js +11 -7
- package/dist/trinity/eve/child/EveChildInstanceMeshRenderer.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js +2 -2
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js +2 -2
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js +2 -2
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js +4 -5
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js.map +1 -1
- package/dist/trinity/eve/child/EveChildLightingOverride.js +4 -5
- package/dist/trinity/eve/child/EveChildLightingOverride.js.map +1 -1
- package/dist/trinity/eve/child/EveChildLineSet.js +4 -5
- package/dist/trinity/eve/child/EveChildLineSet.js.map +1 -1
- package/dist/trinity/eve/child/EveChildLink.js +2 -2
- package/dist/trinity/eve/child/EveChildLink.js.map +1 -1
- package/dist/trinity/eve/child/EveChildMesh.js +315 -229
- package/dist/trinity/eve/child/EveChildMesh.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js +2 -2
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartDataPartData.js +2 -2
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartDataPartData.js.map +1 -1
- package/dist/trinity/eve/child/EveChildParticleSphere.js +4 -5
- package/dist/trinity/eve/child/EveChildParticleSphere.js.map +1 -1
- package/dist/trinity/eve/child/EveChildParticleSystem.js +36 -36
- package/dist/trinity/eve/child/EveChildParticleSystem.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPlug.js +60 -14
- package/dist/trinity/eve/child/EveChildPlug.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPostProcessVolume.js +2 -2
- package/dist/trinity/eve/child/EveChildPostProcessVolume.js.map +1 -1
- package/dist/trinity/eve/child/EveChildQuad.js +4 -5
- package/dist/trinity/eve/child/EveChildQuad.js.map +1 -1
- package/dist/trinity/eve/child/EveChildRef.js +2 -2
- package/dist/trinity/eve/child/EveChildRef.js.map +1 -1
- package/dist/trinity/eve/child/EveChildSocket.js +2 -2
- package/dist/trinity/eve/child/EveChildSocket.js.map +1 -1
- package/dist/trinity/eve/child/EveChildSpherePin.js +4 -4
- package/dist/trinity/eve/child/EveChildSpherePin.js.map +1 -1
- package/dist/trinity/eve/child/EveChildTurret.js +4 -4
- package/dist/trinity/eve/child/EveChildTurret.js.map +1 -1
- package/dist/trinity/eve/child/EveCloudVolumeBall.js +2 -2
- package/dist/trinity/eve/child/EveCloudVolumeBall.js.map +1 -1
- package/dist/trinity/eve/child/EveCloudVolumeTextureParameter.js +6 -6
- package/dist/trinity/eve/child/EveCloudVolumeTextureParameter.js.map +1 -1
- package/dist/trinity/eve/child/EveSpaceObjectChild.js +2 -2
- package/dist/trinity/eve/child/EveSpaceObjectChild.js.map +1 -1
- package/dist/trinity/eve/child/IEveLightingOverride.js +1 -23
- package/dist/trinity/eve/child/IEveLightingOverride.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Allign.js +2 -2
- package/dist/trinity/eve/child/behaviors/Allign.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/ApproachGroup.js +2 -2
- package/dist/trinity/eve/child/behaviors/ApproachGroup.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/BackAndForth.js +2 -2
- package/dist/trinity/eve/child/behaviors/BackAndForth.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/BehaviorGroup.js +4 -4
- package/dist/trinity/eve/child/behaviors/BehaviorGroup.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/BehaviorGroupBooster.js +2 -2
- package/dist/trinity/eve/child/behaviors/BehaviorGroupBooster.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/CollisionAvoidance.js +2 -2
- package/dist/trinity/eve/child/behaviors/CollisionAvoidance.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/DroneAvoidance.js +2 -2
- package/dist/trinity/eve/child/behaviors/DroneAvoidance.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/FollowASpline.js +2 -2
- package/dist/trinity/eve/child/behaviors/FollowASpline.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Formation.js +2 -2
- package/dist/trinity/eve/child/behaviors/Formation.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/InclusionVolume.js +2 -2
- package/dist/trinity/eve/child/behaviors/InclusionVolume.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Inertia.js +2 -2
- package/dist/trinity/eve/child/behaviors/Inertia.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/PlayFX.js +2 -2
- package/dist/trinity/eve/child/behaviors/PlayFX.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/SeekTarget.js +2 -2
- package/dist/trinity/eve/child/behaviors/SeekTarget.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/SpawnDrones.js +2 -2
- package/dist/trinity/eve/child/behaviors/SpawnDrones.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Wander.js +2 -2
- package/dist/trinity/eve/child/behaviors/Wander.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/lifecycle/ProcessLifetime.js +2 -2
- package/dist/trinity/eve/child/behaviors/lifecycle/ProcessLifetime.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/tunnels/SplineTunnelGroup.js +2 -2
- package/dist/trinity/eve/child/behaviors/tunnels/SplineTunnelGroup.js.map +1 -1
- package/dist/trinity/eve/child/lineSetPaths/EveBezierCurve.js +8 -8
- package/dist/trinity/eve/child/lineSetPaths/EveBezierCurve.js.map +1 -1
- package/dist/trinity/eve/child/lineSetPaths/EveCircle.js +8 -8
- package/dist/trinity/eve/child/lineSetPaths/EveCircle.js.map +1 -1
- package/dist/trinity/eve/child/lineSetPaths/EveLineChildContainer.js +2 -2
- package/dist/trinity/eve/child/lineSetPaths/EveLineChildContainer.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierAttachToBone.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierAttachToBone.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierBillboard3D.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierBillboard3D.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierSRT.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierSRT.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierStretch.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierStretch.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierTranslateWithCamera.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierTranslateWithCamera.js.map +1 -1
- package/dist/trinity/eve/child/procedural/EveChildProceduralContainer.js +5 -6
- package/dist/trinity/eve/child/procedural/EveChildProceduralContainer.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMap.js +3 -3
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMap.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMapParameter.js +3 -3
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMapParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCycling.js +2 -2
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCycling.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCyclingParameter.js +3 -3
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCyclingParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandom.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandom.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandomParameter.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandomParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholdParameter.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholdParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholds.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholds.js.map +1 -1
- package/dist/trinity/eve/distribution/EveBaseDistributionMethod.js +2 -2
- package/dist/trinity/eve/distribution/EveBaseDistributionMethod.js.map +1 -1
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierProcessLifetime.js +2 -2
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierProcessLifetime.js.map +1 -1
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierScaleBySpaceObjectParent.js +2 -2
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierScaleBySpaceObjectParent.js.map +1 -1
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierTransformOffset.js +2 -2
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierTransformOffset.js.map +1 -1
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorLocators.js +2 -2
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorLocators.js.map +1 -1
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorParentLocators.js +4 -4
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorParentLocators.js.map +1 -1
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorVolume.js +2 -2
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorVolume.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierLifeTimeOffset.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierLifeTimeOffset.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomOffset.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomOffset.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomRotation.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomRotation.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomScale.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomScale.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerBurst.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerBurst.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerControllerTrigger.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerControllerTrigger.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerInterval.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerInterval.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerPlane.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerPlane.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSnake.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSnake.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSphere.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSphere.js.map +1 -1
- package/dist/trinity/eve/effect/lensflare/EveLensflare.js +4 -5
- package/dist/trinity/eve/effect/lensflare/EveLensflare.js.map +1 -1
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffect.js +4 -5
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffect.js.map +1 -1
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffectParameter.js +4 -4
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffectParameter.js.map +1 -1
- package/dist/trinity/eve/index.js +4 -4
- package/dist/trinity/eve/lights/Tr2FactionLight.js +5 -6
- package/dist/trinity/eve/lights/Tr2FactionLight.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2Light.js +37 -9
- package/dist/trinity/eve/lights/Tr2Light.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2PointLight.js +2 -2
- package/dist/trinity/eve/lights/Tr2PointLight.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2SpotLight.js +2 -2
- package/dist/trinity/eve/lights/Tr2SpotLight.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2TexturedPointLight.js +29 -31
- package/dist/trinity/eve/lights/Tr2TexturedPointLight.js.map +1 -1
- package/dist/trinity/eve/locator/EveLocator2.js +2 -2
- package/dist/trinity/eve/locator/EveLocator2.js.map +1 -1
- package/dist/trinity/eve/locator/EveLocatorSets.js +13 -4
- package/dist/trinity/eve/locator/EveLocatorSets.js.map +1 -1
- package/dist/trinity/eve/locator/Locator.js +2 -2
- package/dist/trinity/eve/locator/Locator.js.map +1 -1
- package/dist/trinity/eve/overlays/EveDamageOverlay.js +2 -2
- package/dist/trinity/eve/overlays/EveDamageOverlay.js.map +1 -1
- package/dist/trinity/eve/overlays/EveMeshOverlayEffect.js +2 -2
- package/dist/trinity/eve/overlays/EveMeshOverlayEffect.js.map +1 -1
- package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js +5 -6
- package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveFiringEffectElementContainer.js +4 -5
- package/dist/trinity/eve/renderable/stretch/EveFiringEffectElementContainer.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveLocalPositionCurve.js +2 -2
- package/dist/trinity/eve/renderable/stretch/EveLocalPositionCurve.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveRemotePositionCurve.js +2 -2
- package/dist/trinity/eve/renderable/stretch/EveRemotePositionCurve.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch.js +6 -6
- package/dist/trinity/eve/renderable/stretch/EveStretch.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch2.js +10 -8
- package/dist/trinity/eve/renderable/stretch/EveStretch2.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch3.js +4 -5
- package/dist/trinity/eve/renderable/stretch/EveStretch3.js.map +1 -1
- package/dist/trinity/eve/scene/EveSpaceScene.js +2 -2
- package/dist/trinity/eve/scene/EveSpaceScene.js.map +1 -1
- package/dist/trinity/eve/scene/EveSpaceSceneRenderDriver.js +2 -2
- package/dist/trinity/eve/scene/EveSpaceSceneRenderDriver.js.map +1 -1
- package/dist/trinity/eve/scene/components/EveComponentRegistry.js +3 -3
- package/dist/trinity/eve/scene/components/EveComponentRegistry.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveChildSmartLightSet.js +6 -7
- package/dist/trinity/eve/smartLights/EveChildSmartLightSet.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightBaseGroup.js +2 -2
- package/dist/trinity/eve/smartLights/EveSmartLightBaseGroup.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightColorShareGroup.js +4 -8
- package/dist/trinity/eve/smartLights/EveSmartLightColorShareGroup.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightMesh.js +7 -4
- package/dist/trinity/eve/smartLights/EveSmartLightMesh.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightPointLight.js +25 -15
- package/dist/trinity/eve/smartLights/EveSmartLightPointLight.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightQuad.js +4 -9
- package/dist/trinity/eve/smartLights/EveSmartLightQuad.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightSpotLight.js +2 -2
- package/dist/trinity/eve/smartLights/EveSmartLightSpotLight.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierBucket.js +2 -3
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierBucket.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierCameraDependency.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierCameraDependency.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierColor.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierColor.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierControllerVariableListener.js +10 -18
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierControllerVariableListener.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierExpressionBucket.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierExpressionBucket.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierNoise.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierNoise.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightBaseAttributeModifier.js +4 -9
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightBaseAttributeModifier.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterBool.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterBool.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterColor.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterColor.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterFloat.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterFloat.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterInt.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterInt.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterString.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterString.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterVector2.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterVector2.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterVector3.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterVector3.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterVector4.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterVector4.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveEffectRoot2.js +20 -17
- package/dist/trinity/eve/spaceObject/EveEffectRoot2.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveMissile.js +2 -2
- package/dist/trinity/eve/spaceObject/EveMissile.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveMissileWarhead.js +2 -2
- package/dist/trinity/eve/spaceObject/EveMissileWarhead.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveMobile.js +2 -2
- package/dist/trinity/eve/spaceObject/EveMobile.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveRootTransform.js +2 -2
- package/dist/trinity/eve/spaceObject/EveRootTransform.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveShip2.js +2 -2
- package/dist/trinity/eve/spaceObject/EveShip2.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveSpaceObject2.js +539 -432
- package/dist/trinity/eve/spaceObject/EveSpaceObject2.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveTransform.js +7 -7
- package/dist/trinity/eve/spaceObject/EveTransform.js.map +1 -1
- package/dist/trinity/eve/spaceObject/IEveSpaceObject2ParentData.js +44 -52
- package/dist/trinity/eve/spaceObject/IEveSpaceObject2ParentData.js.map +1 -1
- package/dist/trinity/eve/spaceObject/fxAttributes/EveCameraFxAttributes.js +2 -2
- package/dist/trinity/eve/spaceObject/fxAttributes/EveCameraFxAttributes.js.map +1 -1
- package/dist/trinity/eve/spaceObject/fxAttributes/EveSpaceObjectFxAttributes.js +2 -2
- package/dist/trinity/eve/spaceObject/fxAttributes/EveSpaceObjectFxAttributes.js.map +1 -1
- package/dist/trinity/eve/spaceObject/planet/EvePlanet.js +2 -2
- package/dist/trinity/eve/spaceObject/planet/EvePlanet.js.map +1 -1
- package/dist/trinity/eve/spaceObject/swarm/EveSwarm.js +2 -2
- package/dist/trinity/eve/spaceObject/swarm/EveSwarm.js.map +1 -1
- package/dist/trinity/eve/spaceObject/swarm/EveSwarmRenderable.js +7 -8
- package/dist/trinity/eve/spaceObject/swarm/EveSwarmRenderable.js.map +1 -1
- package/dist/trinity/eve/ui/EveConnector.js +2 -2
- package/dist/trinity/eve/ui/EveConnector.js.map +1 -1
- package/dist/trinity/eve/ui/EveEllipseDefinition.js +2 -2
- package/dist/trinity/eve/ui/EveEllipseDefinition.js.map +1 -1
- package/dist/trinity/eve/ui/EveEllipseSet.js +36 -6
- package/dist/trinity/eve/ui/EveEllipseSet.js.map +1 -1
- package/dist/trinity/eve/ui/EveLineContainer.js +4 -5
- package/dist/trinity/eve/ui/EveLineContainer.js.map +1 -1
- package/dist/trinity/eve/ui/EveProjectBracket.js +11 -3
- package/dist/trinity/eve/ui/EveProjectBracket.js.map +1 -1
- package/dist/trinity/eve/ui/EveSpherePin.js +6 -7
- package/dist/trinity/eve/ui/EveSpherePin.js.map +1 -1
- package/dist/trinity/eve/ui/EveSprite2dBracket.js +2 -2
- package/dist/trinity/eve/ui/EveSprite2dBracket.js.map +1 -1
- package/dist/trinity/eve/ui/EveSprite2dBracketRenderer.js +2 -2
- package/dist/trinity/eve/ui/EveSprite2dBracketRenderer.js.map +1 -1
- package/dist/trinity/eve/ui/EveTacticalOverlay.js +6 -24
- package/dist/trinity/eve/ui/EveTacticalOverlay.js.map +1 -1
- package/dist/trinity/eve/ui/EveUiObject.js +2 -2
- package/dist/trinity/eve/ui/EveUiObject.js.map +1 -1
- package/dist/trinity/eve/ui/lines/EveCurveLineSet.js +4 -5
- package/dist/trinity/eve/ui/lines/EveCurveLineSet.js.map +1 -1
- package/dist/trinity/eve/ui/lines/EveLineSet.js +6 -7
- package/dist/trinity/eve/ui/lines/EveLineSet.js.map +1 -1
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalOverlayTrackObject.js +2 -2
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalOverlayTrackObject.js.map +1 -1
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js +8 -9
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/EveVirtualCamera.js +2 -2
- package/dist/trinity/eve/virtualCamera/EveVirtualCamera.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/EveVirtualCameraSystem.js +2 -2
- package/dist/trinity/eve/virtualCamera/EveVirtualCameraSystem.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatAdd.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatAdd.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatBase.js +4 -4
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatBase.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatDamping.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatDamping.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatNoise.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatNoise.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatSet.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatSet.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Base.js +4 -4
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Base.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Damping.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Damping.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Inertia.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Inertia.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveBetween.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveBetween.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveForward.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveForward.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Offset.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Offset.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Orbit.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Orbit.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Shake.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Shake.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/transition/EveVirtualCameraTransitionLerp.js +2 -2
- package/dist/trinity/eve/virtualCamera/transition/EveVirtualCameraTransitionLerp.js.map +1 -1
- package/dist/trinity/eve/volume/EveBoxVolume.js +44 -44
- package/dist/trinity/eve/volume/EveBoxVolume.js.map +1 -1
- package/dist/trinity/eve/volume/EveEllipsoidVolume.js +2 -2
- package/dist/trinity/eve/volume/EveEllipsoidVolume.js.map +1 -1
- package/dist/trinity/eve/volume/EveSphereVolume.js +5 -6
- package/dist/trinity/eve/volume/EveSphereVolume.js.map +1 -1
- package/dist/trinity/generated/eve/child/EveCloudEditableVolume.js +2 -2
- package/dist/trinity/generated/eve/child/EveCloudEditableVolume.js.map +1 -1
- package/dist/trinity/generated/eve/effect/EveOccluder.js +2 -2
- package/dist/trinity/generated/eve/effect/EveOccluder.js.map +1 -1
- package/dist/trinity/generated/eve/effect/EveStarfield.js +2 -2
- package/dist/trinity/generated/eve/effect/EveStarfield.js.map +1 -1
- package/dist/trinity/generated/font/Tr2FontManager.js +2 -2
- package/dist/trinity/generated/font/Tr2FontManager.js.map +1 -1
- package/dist/trinity/generated/font/Tr2FontMeasurer.js +2 -2
- package/dist/trinity/generated/font/Tr2FontMeasurer.js.map +1 -1
- package/dist/trinity/generated/font/Tr2SBitWrapper.js +2 -2
- package/dist/trinity/generated/font/Tr2SBitWrapper.js.map +1 -1
- package/dist/trinity/generated/particle/Tr2GpuParticleSystem.js +2 -2
- package/dist/trinity/generated/particle/Tr2GpuParticleSystem.js.map +1 -1
- package/dist/trinity/generated/raytracing/Tr2RaytracingManager.js +2 -2
- package/dist/trinity/generated/raytracing/Tr2RaytracingManager.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2d.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2d.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dArc.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dArc.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dContainer.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dContainer.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dFrame.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dFrame.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLayer.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLayer.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLine.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLine.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretch.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretch.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretchVertical.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretchVertical.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTextObject.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTextObject.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTexture.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTexture.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2SpriteObject.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2SpriteObject.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2AtlasTexture.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2AtlasTexture.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2GpuStructuredBuffer.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2GpuStructuredBuffer.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2GrannyPrimitiveSet.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2GrannyPrimitiveSet.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2HostBitmap.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2HostBitmap.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2ImpostorManager.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2ImpostorManager.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveScene.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveScene.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveText.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveText.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2ReflectionProbe.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2ReflectionProbe.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2SSSSS.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2SSSSS.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlas.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlas.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlasMan.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlasMan.js.map +1 -1
- package/dist/trinity/index.js +23 -16
- package/dist/trinity/index.js.map +1 -1
- package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitter.js +1 -31
- package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitter.js.map +1 -1
- package/dist/trinity/particle/Tr2ParticleSystem.js +51 -52
- package/dist/trinity/particle/Tr2ParticleSystem.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2CapsuleShapeAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2CapsuleShapeAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2ConsecutiveIntegerAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2ConsecutiveIntegerAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2RandomDirectionAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2RandomDirectionAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2RandomIntegerAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2RandomIntegerAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2RandomUniformAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2RandomUniformAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2SphereShapeAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2SphereShapeAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/constraint/Tr2ElementBlendConstraint.js +2 -2
- package/dist/trinity/particle/constraint/Tr2ElementBlendConstraint.js.map +1 -1
- package/dist/trinity/particle/constraint/Tr2PlaneConstraint.js +13 -3
- package/dist/trinity/particle/constraint/Tr2PlaneConstraint.js.map +1 -1
- package/dist/trinity/particle/constraint/Tr2SphereConstraint.js +2 -2
- package/dist/trinity/particle/constraint/Tr2SphereConstraint.js.map +1 -1
- package/dist/trinity/particle/element/Tr2ParticleElementData.js +22 -8
- package/dist/trinity/particle/element/Tr2ParticleElementData.js.map +1 -1
- package/dist/trinity/particle/element/Tr2ParticleElementDeclaration.js +13 -25
- package/dist/trinity/particle/element/Tr2ParticleElementDeclaration.js.map +1 -1
- package/dist/trinity/particle/element/Tr2ParticleElementDeclarationName.js +38 -3
- package/dist/trinity/particle/element/Tr2ParticleElementDeclarationName.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js +26 -27
- package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js +4 -5
- package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2GpuUniqueEmitter.js +2 -2
- package/dist/trinity/particle/emitter/Tr2GpuUniqueEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2StaticEmitter.js +17 -18
- package/dist/trinity/particle/emitter/Tr2StaticEmitter.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ForceSphereVolume.js +2 -2
- package/dist/trinity/particle/force/Tr2ForceSphereVolume.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleAttractorForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleAttractorForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleDirectForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleDirectForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleDragForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleDragForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleFluidDragForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleFluidDragForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleSpring.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleSpring.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleTurbulenceForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleTurbulenceForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleVortexForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleVortexForce.js.map +1 -1
- package/dist/trinity/particle/index.js +1 -1
- package/dist/trinity/postProcess/Tr2PostProcess.js +2 -2
- package/dist/trinity/postProcess/Tr2PostProcess.js.map +1 -1
- package/dist/trinity/postProcess/Tr2PostProcess2.js +2 -2
- package/dist/trinity/postProcess/Tr2PostProcess2.js.map +1 -1
- package/dist/trinity/postProcess/Tr2PostProcessAttributes.js +2 -2
- package/dist/trinity/postProcess/Tr2PostProcessAttributes.js.map +1 -1
- package/dist/trinity/postProcess/Tr2PostProcessRenderer.js +4 -4
- package/dist/trinity/postProcess/Tr2PostProcessRenderer.js.map +1 -1
- package/dist/trinity/postProcess/Tr2SSAO.js +4 -4
- package/dist/trinity/postProcess/Tr2SSAO.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPBloomEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPBloomEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPColorCorrectionEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPColorCorrectionEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPDepthOfFieldEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPDepthOfFieldEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPDesaturateEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPDesaturateEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPDynamicExposureEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPDynamicExposureEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPFadeEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPFadeEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPFilmGrainEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPFilmGrainEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPFogEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPFogEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPGenericEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPGenericEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPGodRaysEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPGodRaysEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPLutEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPLutEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPSignalLossEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPSignalLossEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPTaaEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPTaaEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPTonemappingEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPTonemappingEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPVignetteEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPVignetteEffect.js.map +1 -1
- package/dist/trinity/renderJob/Tr2RenderJobs.js +5 -5
- package/dist/trinity/renderJob/Tr2RenderJobs.js.map +1 -1
- package/dist/trinity/renderJob/TriRenderJob.js +4 -4
- package/dist/trinity/renderJob/TriRenderJob.js.map +1 -1
- package/dist/trinity/renderJob/node/Tr2RenderNodeEffect.js +4 -5
- package/dist/trinity/renderJob/node/Tr2RenderNodeEffect.js.map +1 -1
- package/dist/trinity/renderJob/node/Tr2RenderNodeSprite2dScene.js +4 -5
- package/dist/trinity/renderJob/node/Tr2RenderNodeSprite2dScene.js.map +1 -1
- package/dist/trinity/renderJob/step/Tr2StepExecuteRenderNode.js +2 -2
- package/dist/trinity/renderJob/step/Tr2StepExecuteRenderNode.js.map +1 -1
- package/dist/trinity/renderJob/step/TriRenderStep.js +2 -2
- package/dist/trinity/renderJob/step/TriRenderStep.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepClear.js +2 -2
- package/dist/trinity/renderJob/step/TriStepClear.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepClearUav.js +2 -2
- package/dist/trinity/renderJob/step/TriStepClearUav.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepCopyRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepCopyRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepEnableWireframeMode.js +2 -2
- package/dist/trinity/renderJob/step/TriStepEnableWireframeMode.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepFilterVisibilityResults.js +2 -2
- package/dist/trinity/renderJob/step/TriStepFilterVisibilityResults.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepGenerateMipMaps.js +2 -2
- package/dist/trinity/renderJob/step/TriStepGenerateMipMaps.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPopRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPopRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPresentSwapChain.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPresentSwapChain.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPushDepthStencil.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPushDepthStencil.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderAtlas.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderAtlas.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderDebug.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderDebug.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderEffect.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderEffect.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderFps.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderFps.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderLineGraph.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderLineGraph.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderObject.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderObject.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderPass.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderPass.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderScene.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderScene.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderSceneDebug.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderSceneDebug.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderTexture.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderTexture.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepResolve.js +2 -2
- package/dist/trinity/renderJob/step/TriStepResolve.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRunComputeShader.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRunComputeShader.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRunJob.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRunJob.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetDebugRenderer.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetDebugRenderer.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetDepthStencil.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetDepthStencil.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetProjection.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetProjection.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetRenderState.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetRenderState.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetStdRndStates.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetStdRndStates.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetUpscalingContextID.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetUpscalingContextID.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetVariableStore.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetVariableStore.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetView.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetView.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetViewport.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetViewport.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetVisualizationMode.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetVisualizationMode.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepTestBlocking.js +2 -2
- package/dist/trinity/renderJob/step/TriStepTestBlocking.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepToggleCubemap.js +2 -2
- package/dist/trinity/renderJob/step/TriStepToggleCubemap.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepUpdate.js +2 -2
- package/dist/trinity/renderJob/step/TriStepUpdate.js.map +1 -1
- package/dist/trinity/shader/Tr2DataTextureManager.js +9 -9
- package/dist/trinity/shader/Tr2DataTextureManager.js.map +1 -1
- package/dist/trinity/shader/Tr2Effect.js +370 -347
- package/dist/trinity/shader/Tr2Effect.js.map +1 -1
- package/dist/trinity/shader/Tr2Material.js +5 -5
- package/dist/trinity/shader/Tr2Material.js.map +1 -1
- package/dist/trinity/shader/Tr2ShaderBuffer.js +3 -4
- package/dist/trinity/shader/Tr2ShaderBuffer.js.map +1 -1
- package/dist/trinity/shader/index.js +3 -0
- package/dist/trinity/shader/index.js.map +1 -1
- package/dist/trinity/shader/parameter/CjsParameter.js +202 -185
- package/dist/trinity/shader/parameter/CjsParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/CjsVectorParameter.js +2 -2
- package/dist/trinity/shader/parameter/CjsVectorParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/ITriEffectParameter.js +56 -0
- package/dist/trinity/shader/parameter/ITriEffectParameter.js.map +1 -0
- package/dist/trinity/shader/parameter/ITriEffectResourceParameter.js +31 -0
- package/dist/trinity/shader/parameter/ITriEffectResourceParameter.js.map +1 -0
- package/dist/trinity/shader/parameter/ITriEffectTextureParameter.js +43 -0
- package/dist/trinity/shader/parameter/ITriEffectTextureParameter.js.map +1 -0
- package/dist/trinity/shader/parameter/Tr2ConstantEffectParameter.js +17 -5
- package/dist/trinity/shader/parameter/Tr2ConstantEffectParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2FloatParameter.js +46 -45
- package/dist/trinity/shader/parameter/Tr2FloatParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js +14 -12
- package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Matrix4Parameter.js +33 -32
- package/dist/trinity/shader/parameter/Tr2Matrix4Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2RuntimeTextureParameter.js +11 -10
- package/dist/trinity/shader/parameter/Tr2RuntimeTextureParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2TextureAnimationParameter.js +55 -53
- package/dist/trinity/shader/parameter/Tr2TextureAnimationParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Vector2Parameter.js +49 -48
- package/dist/trinity/shader/parameter/Tr2Vector2Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Vector3Parameter.js +52 -51
- package/dist/trinity/shader/parameter/Tr2Vector3Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Vector4Parameter.js +56 -55
- package/dist/trinity/shader/parameter/Tr2Vector4Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriFloatArrayParameter.js +8 -8
- package/dist/trinity/shader/parameter/TriFloatArrayParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriTextureParameter.js +27 -22
- package/dist/trinity/shader/parameter/TriTextureParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriTransformParameter.js +27 -27
- package/dist/trinity/shader/parameter/TriTransformParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriVariableParameter.js +53 -54
- package/dist/trinity/shader/parameter/TriVariableParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriVector4.js +2 -2
- package/dist/trinity/shader/parameter/TriVector4.js.map +1 -1
- package/dist/trinity/shader/reflection/Tr2ShaderOption.js +4 -2
- package/dist/trinity/shader/reflection/Tr2ShaderOption.js.map +1 -1
- package/dist/trinity/shader/sampler/Tr2SamplerOverride.js +11 -2
- package/dist/trinity/shader/sampler/Tr2SamplerOverride.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dContainerBase.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dContainerBase.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTrace.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTrace.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTraceVertex.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTraceVertex.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dPickingMask.js +8 -9
- package/dist/trinity/sprite2d/Tr2Sprite2dPickingMask.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dPolygon.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dPolygon.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dRenderJob.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dRenderJob.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dScene.js +4 -4
- package/dist/trinity/sprite2d/Tr2Sprite2dScene.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dTransform.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dTransform.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dTriangle.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dTriangle.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2SpriteObjectBase.js +2 -2
- package/dist/trinity/sprite2d/Tr2SpriteObjectBase.js.map +1 -1
- package/dist/trinity/ui/Tr2PresentParameters.js +2 -2
- package/dist/trinity/ui/Tr2PresentParameters.js.map +1 -1
- package/dist/trinity/ui/Tr2ProjectBoundingBoxBracket.js +3 -3
- package/dist/trinity/ui/Tr2ProjectBoundingBoxBracket.js.map +1 -1
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2RenderContextALStub.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuResourceSetAL.js.map +1 -1
- package/docs/core/README.md +38 -38
- package/docs/core/architecture.md +6 -5
- package/docs/core/reference/api.md +0 -10
- package/docs/core/reference/classes/README.md +57 -67
- package/docs/global/architecture.md +1 -3
- package/docs/global/blue-enums.md +115 -0
- package/docs/global/concepts/model-lifecycle.md +177 -182
- package/docs/global/core-types/README.md +394 -317
- package/docs/global/reference/api.md +2 -2
- package/docs/global/reference/classes/README.md +355 -205
- package/docs/global/reference/classes/dropped.md +40 -0
- package/docs/resource/architecture.md +152 -112
- package/docs/resource/concepts/resource-lifecycle.md +21 -15
- package/docs/resource/formats/geometry-interchange.md +50 -0
- package/docs/resource/formats/pickle.md +126 -100
- package/docs/resource/formats/provenance.md +15 -9
- package/docs/resource/formats/webgl/carbon-constant-layouts.md +98 -232
- package/docs/resource/formats/webgl/decl-io.md +241 -397
- package/docs/resource/formats/webgl/memory-structured.md +91 -128
- package/docs/resource/formats/webgl/texture-sample.md +306 -469
- package/docs/resource/formats/webgpu/reference/wgsl-compatibility.md +278 -530
- package/docs/resource/reference/classes/README.md +3 -1
- package/docs/resource/reference/classes/dropped.md +21 -1
- package/docs/resource/reference/classes/formats.md +33 -0
- package/docs/resource/reference/classes/texture.md +11 -1
- package/docs/resource/reference/classes/video.md +92 -0
- package/docs/resource/reference/events.md +10 -9
- package/docs/resource/reference/motherlode-cache.md +24 -11
- package/docs/resource/reference/queues.md +30 -1
- package/docs/trinity/README.md +5 -5
- package/docs/trinity/architecture.md +355 -344
- package/docs/trinity/concepts/eve-runtime-behavior.md +1 -1
- package/docs/trinity/reference/api.md +19 -7
- package/docs/trinity/reference/classes/dropped.md +2 -11
- package/docs/trinity/reference/classes/eve-runtime.md +1 -1
- package/docs/trinity/reference/classes/trinity-core.md +1672 -1622
- package/docs/trinity/reference/implementation-status.md +92 -92
- package/package.json +2 -1
- package/dist/core/CjsFrameDriver.js +0 -109
- package/dist/core/CjsFrameDriver.js.map +0 -1
- package/dist/global/contracts/CjsFrameLifecycle.js +0 -49
- package/dist/global/contracts/CjsFrameLifecycle.js.map +0 -1
- package/dist/global/contracts/CjsInstancedMeshManager.js +0 -58
- package/dist/global/contracts/CjsInstancedMeshManager.js.map +0 -1
- package/dist/resource/formats/black/core/black-schema-v1-2026-07-23.json.js +0 -4
- package/dist/resource/formats/black/core/black-schema-v1-2026-07-23.json.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { identity as _identity, applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import {
|
|
2
|
+
import { edit, type, carbon, impl, CjsSchema } from '#schema';
|
|
3
3
|
import { Tr2ResourceSetDescriptionAL, Tr2RegisterMapAL } from '#trinityal';
|
|
4
4
|
import { Tr2Material as _Tr2Material } from './Tr2Material.js';
|
|
5
5
|
import { vec4 } from '#math/vec4';
|
|
@@ -11,11 +11,15 @@ import { ShaderStageType, Tr2EffectRes, Tr2Shader, Tr2EffectConstant } from '#re
|
|
|
11
11
|
import { Tr2EffectParam as _Tr2EffectParam } from './material/Tr2EffectParam.js';
|
|
12
12
|
import { Tr2EffectPassParameters as _Tr2EffectPassParamet } from './material/Tr2EffectPassParameters.js';
|
|
13
13
|
import { Tr2EffectTechniqueInputs as _Tr2EffectTechniqueIn } from './material/Tr2EffectTechniqueInputs.js';
|
|
14
|
-
import {
|
|
14
|
+
import { ResourceRequirement } from '#resource';
|
|
15
|
+
import { blue } from '#blue';
|
|
16
|
+
import { BLUELISTEVENT } from '#consts/blue';
|
|
15
17
|
import { GetEffectPathDefaults, NormalizeResourcePath, ResolveEffectPath } from '#utils/effectPath';
|
|
16
18
|
import { Tr2EffectStateManager as _Tr2EffectStateManage } from './Tr2EffectStateManager.js';
|
|
17
19
|
import { Tr2ShaderOption as _Tr2ShaderOption } from './reflection/Tr2ShaderOption.js';
|
|
18
20
|
import { Tr2SamplerOverride as _Tr2SamplerOverride } from './sampler/Tr2SamplerOverride.js';
|
|
21
|
+
import { ITriEffectResourceParameter } from './parameter/ITriEffectResourceParameter.js';
|
|
22
|
+
import { ITriReroutable } from '../core/ITriReroutable.js';
|
|
19
23
|
import { Tr2RuntimeTextureParameter as _Tr2RuntimeTexturePar } from './parameter/Tr2RuntimeTextureParameter.js';
|
|
20
24
|
import { Tr2Vector2Parameter as _Tr2Vector2Parameter } from './parameter/Tr2Vector2Parameter.js';
|
|
21
25
|
import { Tr2Vector3Parameter as _Tr2Vector3Parameter } from './parameter/Tr2Vector3Parameter.js';
|
|
@@ -24,7 +28,7 @@ import { TriFloatArrayParameter as _TriFloatArrayParamet } from './parameter/Tri
|
|
|
24
28
|
import { TriTextureParameter as _TriTextureParameter } from './parameter/TriTextureParameter.js';
|
|
25
29
|
import { TriVariableParameter as _TriVariableParameter } from './parameter/TriVariableParameter.js';
|
|
26
30
|
import { TriVector4 as _TriVector } from './parameter/TriVector4.js';
|
|
27
|
-
import { CjsParameter } from './parameter/CjsParameter.js';
|
|
31
|
+
import { CjsParameter as _CjsParameter } from './parameter/CjsParameter.js';
|
|
28
32
|
import { ResourceFlags } from './parameter/ITr2EffectValue.js';
|
|
29
33
|
import { Tr2VariableStore as _Tr2VariableStore } from '../core/variable/Tr2VariableStore.js';
|
|
30
34
|
|
|
@@ -41,10 +45,10 @@ function IsTextureLike(value) {
|
|
|
41
45
|
return typeof value === "object" && value !== null && typeof value.length !== "number" && (typeof value.IsValid === "function" || typeof value.GetTexture === "function");
|
|
42
46
|
}
|
|
43
47
|
|
|
44
|
-
/**
|
|
45
|
-
* Carbon's overload set, resolved by value (`Tr2Effect.h:93-100`).
|
|
46
|
-
*
|
|
47
|
-
* Each width has its own parameter class, matching Carbon's overload per type.
|
|
48
|
+
/**
|
|
49
|
+
* Carbon's overload set, resolved by value (`Tr2Effect.h:93-100`).
|
|
50
|
+
*
|
|
51
|
+
* Each width has its own parameter class, matching Carbon's overload per type.
|
|
48
52
|
*/
|
|
49
53
|
function ParameterClassFor(value) {
|
|
50
54
|
if (typeof value === "number") return _Tr2FloatParameter;
|
|
@@ -74,7 +78,7 @@ new class extends _identity {
|
|
|
74
78
|
} = _applyDecs2311(this, [type.define({
|
|
75
79
|
className: "Tr2Effect",
|
|
76
80
|
family: "shader"
|
|
77
|
-
})], [[[
|
|
81
|
+
})], [[[edit, edit.notify, edit, edit.persist, type, type.string], 16, "effectFilePath"], [[edit, edit.persist, void 0, type.list("Tr2ShaderOption")], 16, "options"], [[edit, edit.persist, type, type.string], 16, "name"], [[edit, edit.persist, void 0, type.list("Tr2ConstantEffectParameter")], 16, "constParameters"], [[edit, edit.persist, void 0, type.list("ITriEffectParameter")], 16, "parameters"], [[edit, edit.persist, void 0, type.list("ITriEffectResourceParameter")], 16, "resources"], [[edit, edit.read, void 0, type.objectRef("Tr2EffectRes")], 16, "effectResource"], [[edit, edit.read, type, type.string], 16, "actualEffectFilePath"], [[edit, edit.persist, void 0, type.list("Tr2SamplerOverride")], 16, "samplerOverrides"], [[carbon, carbon.method, impl, impl.adapted], 18, "RebuildCachedData"], [[carbon, carbon.method, impl, impl.implemented], 18, "RebuildCachedDataAsync"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetVariableStore"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetVariableStore"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetConstParameters"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetHashValue"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetParameterAnnotations"], [[carbon, carbon.method, impl, impl.adapted], 18, "PopulateParameters"], [[carbon, carbon.method, impl, impl.implemented], 18, "EndUpdate"], [[carbon, carbon.method, impl, impl.adapted], 18, "PruneParameters"], [[carbon, carbon.method, impl, impl.implemented], 18, "IsParameterUsedByTechnique"], [[carbon, carbon.method, impl, impl.implemented], 18, "StartUpdate"], [[impl, impl.adapted, void 0, impl.reason("Device-free JS reflection supplies stage signatures in authored order; pass descriptions allocate their map here and sampler states are seeded by the applying context.")], 18, "BuildParametersForPasses", function () {
|
|
78
82
|
// Carbon's `m_parametersForPasses.clear()` (Tr2Effect.cpp:693) tears down
|
|
79
83
|
// value members: each stage's constant buffer and each pass's resource
|
|
80
84
|
// set die with it. Ours are device objects behind handles, so they are
|
|
@@ -133,25 +137,29 @@ new class extends _identity {
|
|
|
133
137
|
}
|
|
134
138
|
this.parametersForPasses.push(inputs);
|
|
135
139
|
}
|
|
136
|
-
}], [[carbon, carbon.method, impl, impl.adapted], 18, "SetResourceTexture2D"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("JS explicitly rebuilds the cached CPU effect data after Carbon's Vector4 parameter reuse-or-append policy because plain array mutation has no Blue list notification.")], 18, "SetParameter"]], 0, _ => #BuildParametersForPasses in _, _Tr2Material));
|
|
140
|
+
}], [[carbon, carbon.method, impl, impl.implemented], 18, "OnListModified"], [[carbon, carbon.method, impl, impl.adapted], 18, "SetResourceTexture2D"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("JS explicitly rebuilds the cached CPU effect data after Carbon's Vector4 parameter reuse-or-append policy because plain array mutation has no Blue list notification.")], 18, "SetParameter"]], 0, _ => #BuildParametersForPasses in _, _Tr2Material));
|
|
137
141
|
}
|
|
138
142
|
#BuildParametersForPasses = _call_BuildParametersForPasses;
|
|
139
143
|
/** m_effectFilePath (std::string) [READWRITE, PERSIST, NOTIFY] */
|
|
140
144
|
effectFilePath = (_initProto(this), _init_effectFilePath(this, ""));
|
|
141
145
|
|
|
142
146
|
/** m_options (PTr2ShaderOptionStructureList) [READ, PERSIST] */
|
|
147
|
+
|
|
143
148
|
options = (_init_extra_effectFilePath(this), _init_options(this, []));
|
|
144
149
|
|
|
145
150
|
/** m_name (std::string) [READWRITE, PERSIST] */
|
|
146
151
|
name = (_init_extra_options(this), _init_name(this, ""));
|
|
147
152
|
|
|
148
153
|
/** m_constParameters (PTr2ConstantEffectParameterStructureList) [READ, PERSIST] */
|
|
154
|
+
|
|
149
155
|
constParameters = (_init_extra_name(this), _init_constParameters(this, []));
|
|
150
156
|
|
|
151
157
|
/** m_parameters (PITriEffectParameterVector) [READ, PERSIST] */
|
|
158
|
+
|
|
152
159
|
parameters = (_init_extra_constParameters(this), _init_parameters(this, []));
|
|
153
160
|
|
|
154
161
|
/** m_resources (PITriEffectResourceParameterVector) [READ, PERSIST] */
|
|
162
|
+
|
|
155
163
|
resources = (_init_extra_parameters(this), _init_resources(this, []));
|
|
156
164
|
|
|
157
165
|
/** m_effectResource (Tr2EffectResPtr) [READ] */
|
|
@@ -161,14 +169,15 @@ new class extends _identity {
|
|
|
161
169
|
actualEffectFilePath = (_init_extra_effectResource(this), _init_actualEffectFilePath(this, ""));
|
|
162
170
|
|
|
163
171
|
/** m_samplerOverrides (PTr2SamplerOverrideStructureList) [READ, PERSIST] */
|
|
172
|
+
|
|
164
173
|
samplerOverrides = (_init_extra_actualEffectFilePath(this), _init_samplerOverrides(this, []));
|
|
165
174
|
parameterHash = (_init_extra_samplerOverrides(this), 0xffffffff);
|
|
166
175
|
display = true;
|
|
167
176
|
|
|
168
|
-
/**
|
|
169
|
-
* Carbon keeps m_variableStore null and falls back to the GLOBAL store at
|
|
170
|
-
* call time, so a later global-store swap is seen by existing effects.
|
|
171
|
-
* Read through GetVariableStore(); never capture the global eagerly.
|
|
177
|
+
/**
|
|
178
|
+
* Carbon keeps m_variableStore null and falls back to the GLOBAL store at
|
|
179
|
+
* call time, so a later global-store swap is seen by existing effects.
|
|
180
|
+
* Read through GetVariableStore(); never capture the global eagerly.
|
|
172
181
|
*/
|
|
173
182
|
variableStore = null;
|
|
174
183
|
insideStartUpdate = false;
|
|
@@ -178,10 +187,10 @@ new class extends _identity {
|
|
|
178
187
|
this.RebuildCachedDataInternal();
|
|
179
188
|
}
|
|
180
189
|
|
|
181
|
-
/**
|
|
182
|
-
* The resource-arrival overload: Carbon temporarily clears
|
|
183
|
-
* insideStartUpdate so a shader arriving during a batched Start/EndUpdate
|
|
184
|
-
* still rebuilds immediately.
|
|
190
|
+
/**
|
|
191
|
+
* The resource-arrival overload: Carbon temporarily clears
|
|
192
|
+
* insideStartUpdate so a shader arriving during a batched Start/EndUpdate
|
|
193
|
+
* still rebuilds immediately.
|
|
185
194
|
*/
|
|
186
195
|
RebuildCachedDataAsync() {
|
|
187
196
|
const wasInsideStartUpdate = this.insideStartUpdate;
|
|
@@ -190,25 +199,25 @@ new class extends _identity {
|
|
|
190
199
|
this.insideStartUpdate = wasInsideStartUpdate;
|
|
191
200
|
}
|
|
192
201
|
|
|
193
|
-
/**
|
|
194
|
-
* Overrides the store this effect's TriVariableParameter values resolve
|
|
195
|
-
* against; passing null restores the fallback to the global store.
|
|
202
|
+
/**
|
|
203
|
+
* Overrides the store this effect's TriVariableParameter values resolve
|
|
204
|
+
* against; passing null restores the fallback to the global store.
|
|
196
205
|
*/
|
|
197
206
|
SetVariableStore(store) {
|
|
198
207
|
this.variableStore = store ?? null;
|
|
199
208
|
}
|
|
200
209
|
|
|
201
|
-
/**
|
|
202
|
-
* An autoregistered name from whichever global store holds it.
|
|
203
|
-
*
|
|
204
|
-
* Carbon's autoregistration IS Tr2VariableStore::GetVariable: a miss
|
|
205
|
-
* RESERVES the name with the INVALID type, and that reserved variable is the
|
|
206
|
-
* shared slot the scene fills later - which is how EveSpaceSceneShadowMap
|
|
207
|
-
* reaches an effect at all. Tr2ShadowMap registers into this same global
|
|
208
|
-
* store, so a registration and a lookup now meet.
|
|
209
|
-
*
|
|
210
|
-
* @param {string} name Variable name.
|
|
211
|
-
* @returns {object|null} The variable, reserved if it did not exist.
|
|
210
|
+
/**
|
|
211
|
+
* An autoregistered name from whichever global store holds it.
|
|
212
|
+
*
|
|
213
|
+
* Carbon's autoregistration IS Tr2VariableStore::GetVariable: a miss
|
|
214
|
+
* RESERVES the name with the INVALID type, and that reserved variable is the
|
|
215
|
+
* shared slot the scene fills later - which is how EveSpaceSceneShadowMap
|
|
216
|
+
* reaches an effect at all. Tr2ShadowMap registers into this same global
|
|
217
|
+
* store, so a registration and a lookup now meet.
|
|
218
|
+
*
|
|
219
|
+
* @param {string} name Variable name.
|
|
220
|
+
* @returns {object|null} The variable, reserved if it did not exist.
|
|
212
221
|
*/
|
|
213
222
|
|
|
214
223
|
/** The effect's store, falling back to the global store at call time. */
|
|
@@ -216,33 +225,33 @@ new class extends _identity {
|
|
|
216
225
|
return this.variableStore ?? _Tr2VariableStore.GlobalStore();
|
|
217
226
|
}
|
|
218
227
|
|
|
219
|
-
/**
|
|
220
|
-
* The authored constant-parameter list itself, not a copy - callers that
|
|
221
|
-
* mutate it mutate the effect.
|
|
228
|
+
/**
|
|
229
|
+
* The authored constant-parameter list itself, not a copy - callers that
|
|
230
|
+
* mutate it mutate the effect.
|
|
222
231
|
*/
|
|
223
232
|
GetConstParameters() {
|
|
224
233
|
return this.constParameters;
|
|
225
234
|
}
|
|
226
235
|
|
|
227
|
-
/**
|
|
228
|
-
* Content hash over the shader path, options, constant parameters, and
|
|
229
|
-
* every parameter/resource - Carbon's effect dedup/batching key. Only
|
|
230
|
-
* hashes authored content; values coming from a variable store are not
|
|
231
|
-
* included. Not lightweight - do not call every frame.
|
|
236
|
+
/**
|
|
237
|
+
* Content hash over the shader path, options, constant parameters, and
|
|
238
|
+
* every parameter/resource - Carbon's effect dedup/batching key. Only
|
|
239
|
+
* hashes authored content; values coming from a variable store are not
|
|
240
|
+
* included. Not lightweight - do not call every frame.
|
|
232
241
|
*/
|
|
233
242
|
GetHashValue() {
|
|
234
243
|
let hash = 0;
|
|
235
244
|
const path = this.actualEffectFilePath || this.effectFilePath;
|
|
236
245
|
if (path) {
|
|
237
|
-
hash =
|
|
246
|
+
hash = _CjsParameter.hashFnv1String(path);
|
|
238
247
|
}
|
|
239
248
|
for (const option of this.options) {
|
|
240
|
-
hash =
|
|
241
|
-
hash =
|
|
249
|
+
hash = _CjsParameter.hashFnv1String(option?.name ?? "", hash);
|
|
250
|
+
hash = _CjsParameter.hashFnv1String(option?.value ?? "", hash);
|
|
242
251
|
}
|
|
243
252
|
for (const parameter of this.constParameters) {
|
|
244
|
-
hash =
|
|
245
|
-
hash =
|
|
253
|
+
hash = _CjsParameter.hashFnv1String(parameter?.name ?? "", hash);
|
|
254
|
+
hash = _CjsParameter.hashFnv1Floats(parameter?.value ?? [0, 0, 0, 0], hash);
|
|
246
255
|
}
|
|
247
256
|
for (const parameter of this.parameters) {
|
|
248
257
|
hash = parameter?.GetHashValue?.(hash) ?? hash;
|
|
@@ -255,7 +264,7 @@ new class extends _identity {
|
|
|
255
264
|
|
|
256
265
|
/** Carbon method GetParameterAnnotations -> PyGetParameterAnnotations (MAP_METHOD). */
|
|
257
266
|
GetParameterAnnotations(parameterName) {
|
|
258
|
-
return
|
|
267
|
+
return _CjsParameter.getEffectAnnotations(this.shader, parameterName);
|
|
259
268
|
}
|
|
260
269
|
|
|
261
270
|
/** Carbon method PopulateParameters (MAP_METHOD_AND_WRAP). */
|
|
@@ -303,9 +312,9 @@ new class extends _identity {
|
|
|
303
312
|
if (!this.shader) {
|
|
304
313
|
return false;
|
|
305
314
|
}
|
|
306
|
-
this.parameters = this.parameters.filter(parameter => this.#isShaderParameterVisible(
|
|
315
|
+
this.parameters = this.parameters.filter(parameter => this.#isShaderParameterVisible(_CjsParameter.getNamedValue(parameter)));
|
|
307
316
|
this.constParameters = this.constParameters.filter(parameter => this.#isShaderParameterVisible(parameter?.name));
|
|
308
|
-
this.resources = this.resources.filter(parameter => this.#isShaderParameterVisible(
|
|
317
|
+
this.resources = this.resources.filter(parameter => this.#isShaderParameterVisible(_CjsParameter.getNamedValue(parameter)));
|
|
309
318
|
return true;
|
|
310
319
|
}
|
|
311
320
|
|
|
@@ -319,13 +328,16 @@ new class extends _identity {
|
|
|
319
328
|
this.insideStartUpdate = true;
|
|
320
329
|
}
|
|
321
330
|
|
|
322
|
-
/**
|
|
323
|
-
* Attaches every resource to this material, derives actualEffectFilePath from
|
|
324
|
-
* the authored path, and rebuilds cached shader data.
|
|
331
|
+
/**
|
|
332
|
+
* Attaches every resource to this material, derives actualEffectFilePath from
|
|
333
|
+
* the authored path, and rebuilds cached shader data.
|
|
325
334
|
*/
|
|
326
335
|
Initialize() {
|
|
327
336
|
for (const resource of this.resources) {
|
|
328
|
-
|
|
337
|
+
// Tr2Effect.cpp:378-381 calls straight through the typed list. A cast
|
|
338
|
+
// here would have no else branch, which makes it a hedge: an entry
|
|
339
|
+
// lacking the hook would silently do nothing instead of saying so.
|
|
340
|
+
resource.OnAddedToMaterial(this);
|
|
329
341
|
}
|
|
330
342
|
this.actualEffectFilePath = this.effectFilePath ? _Tr2Effect.convertEffectPath(this.effectFilePath) : "";
|
|
331
343
|
this.#AcquireEffectResource();
|
|
@@ -333,43 +345,42 @@ new class extends _identity {
|
|
|
333
345
|
return true;
|
|
334
346
|
}
|
|
335
347
|
|
|
336
|
-
/**
|
|
337
|
-
* Builds the per-technique, per-pass parameter mapping from the resolved
|
|
338
|
-
* shader (Carbon `Tr2Effect::RebuildCachedDataInternal`, Tr2Effect.cpp:693-795).
|
|
339
|
-
*
|
|
340
|
-
* The outer list is per TECHNIQUE, each holding `passes` and `libraries`.
|
|
341
|
-
* That is the shape `Tr2Material`'s readers already expect, so this
|
|
342
|
-
* assembles the existing material models rather than inventing a structure.
|
|
343
|
-
*
|
|
344
|
-
* Device work is
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
* `
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* @returns {void}
|
|
348
|
+
/**
|
|
349
|
+
* Builds the per-technique, per-pass parameter mapping from the resolved
|
|
350
|
+
* shader (Carbon `Tr2Effect::RebuildCachedDataInternal`, Tr2Effect.cpp:693-795).
|
|
351
|
+
*
|
|
352
|
+
* The outer list is per TECHNIQUE, each holding `passes` and `libraries`.
|
|
353
|
+
* That is the shape `Tr2Material`'s readers already expect, so this
|
|
354
|
+
* assembles the existing material models rather than inventing a structure.
|
|
355
|
+
*
|
|
356
|
+
* Device work is NOT PORTED. Carbon creates a constant buffer, a resource set
|
|
357
|
+
* and sampler-state objects in this same loop; here only the CPU mirror is
|
|
358
|
+
* allocated, through `Tr2MaterialStageInput`'s own `AllocateConstants` /
|
|
359
|
+
* `GetSharedConstantBuffer`. The rest is unported.
|
|
360
|
+
*
|
|
361
|
+
* @returns {void}
|
|
351
362
|
*/
|
|
352
363
|
|
|
353
|
-
/**
|
|
354
|
-
* Maps one stage's authored constants onto byte offsets in its CPU mirror
|
|
355
|
-
* (Carbon `MapPassParameters`, Tr2Effect.cpp:1722-2025).
|
|
356
|
-
*
|
|
357
|
-
* `registerIndex` and `registerCount` on a stored parameter are BYTE OFFSET
|
|
358
|
-
* and BYTE SIZE, not a register index and count. Carbon's field names are
|
|
359
|
-
* historical and mean something different here than they do for resources.
|
|
360
|
-
*
|
|
361
|
-
* Every constant contributes to the buffer size whether or not anything
|
|
362
|
-
* binds it, because the shader may sample an unbound constant and expect a
|
|
363
|
-
* default. `GetConstantBufferSize` already carries that rule.
|
|
364
|
-
*
|
|
365
|
-
* A stage whose values are entirely static takes a shared, deduplicated
|
|
366
|
-
* mirror; one with variable parameters gets its own. That split is Carbon's
|
|
367
|
-
* and it is why `Tr2MaterialStageInput` has both methods.
|
|
368
|
-
*
|
|
369
|
-
* @param {object} stage Reflected stage input.
|
|
370
|
-
* @param {object} stageInput Material stage input to populate.
|
|
371
|
-
* @param {object} passParameters Owning pass parameters.
|
|
372
|
-
* @returns {void}
|
|
364
|
+
/**
|
|
365
|
+
* Maps one stage's authored constants onto byte offsets in its CPU mirror
|
|
366
|
+
* (Carbon `MapPassParameters`, Tr2Effect.cpp:1722-2025).
|
|
367
|
+
*
|
|
368
|
+
* `registerIndex` and `registerCount` on a stored parameter are BYTE OFFSET
|
|
369
|
+
* and BYTE SIZE, not a register index and count. Carbon's field names are
|
|
370
|
+
* historical and mean something different here than they do for resources.
|
|
371
|
+
*
|
|
372
|
+
* Every constant contributes to the buffer size whether or not anything
|
|
373
|
+
* binds it, because the shader may sample an unbound constant and expect a
|
|
374
|
+
* default. `GetConstantBufferSize` already carries that rule.
|
|
375
|
+
*
|
|
376
|
+
* A stage whose values are entirely static takes a shared, deduplicated
|
|
377
|
+
* mirror; one with variable parameters gets its own. That split is Carbon's
|
|
378
|
+
* and it is why `Tr2MaterialStageInput` has both methods.
|
|
379
|
+
*
|
|
380
|
+
* @param {object} stage Reflected stage input.
|
|
381
|
+
* @param {object} stageInput Material stage input to populate.
|
|
382
|
+
* @param {object} passParameters Owning pass parameters.
|
|
383
|
+
* @returns {void}
|
|
373
384
|
*/
|
|
374
385
|
#MapPassParameters(stage, stageInput, passParameters) {
|
|
375
386
|
const constantSize = stage.GetConstantBufferSize?.() ?? 0;
|
|
@@ -418,21 +429,21 @@ new class extends _identity {
|
|
|
418
429
|
}
|
|
419
430
|
}
|
|
420
431
|
|
|
421
|
-
/**
|
|
422
|
-
* Maps a stage's texture or UAV registers onto authored values
|
|
423
|
-
* (Carbon `MapPassResources`, Tr2Effect.cpp:1436-1489).
|
|
424
|
-
*
|
|
425
|
-
* Here `registerIndex` really is the register, and `registerCount` is
|
|
426
|
-
* overloaded as a flag word carrying only the sRGB bit. Unresolved names
|
|
427
|
-
* produce no entry, so this vector is sparse where the constant one is not.
|
|
428
|
-
*
|
|
429
|
-
* Binding from the effect's own resources or from an effect parameter clears
|
|
430
|
-
* GDR compatibility, because a general draw cannot know those values.
|
|
431
|
-
*
|
|
432
|
-
* @param {Map} resources Register-keyed reflected resources.
|
|
433
|
-
* @param {Array} into Parameter vector to fill.
|
|
434
|
-
* @param {object} passParameters Owning pass parameters.
|
|
435
|
-
* @returns {void}
|
|
432
|
+
/**
|
|
433
|
+
* Maps a stage's texture or UAV registers onto authored values
|
|
434
|
+
* (Carbon `MapPassResources`, Tr2Effect.cpp:1436-1489).
|
|
435
|
+
*
|
|
436
|
+
* Here `registerIndex` really is the register, and `registerCount` is
|
|
437
|
+
* overloaded as a flag word carrying only the sRGB bit. Unresolved names
|
|
438
|
+
* produce no entry, so this vector is sparse where the constant one is not.
|
|
439
|
+
*
|
|
440
|
+
* Binding from the effect's own resources or from an effect parameter clears
|
|
441
|
+
* GDR compatibility, because a general draw cannot know those values.
|
|
442
|
+
*
|
|
443
|
+
* @param {Map} resources Register-keyed reflected resources.
|
|
444
|
+
* @param {Array} into Parameter vector to fill.
|
|
445
|
+
* @param {object} passParameters Owning pass parameters.
|
|
446
|
+
* @returns {void}
|
|
436
447
|
*/
|
|
437
448
|
#MapPassResources(resources, into, passParameters) {
|
|
438
449
|
if (!resources || typeof resources.entries !== "function") return;
|
|
@@ -465,12 +476,12 @@ new class extends _identity {
|
|
|
465
476
|
}
|
|
466
477
|
}
|
|
467
478
|
|
|
468
|
-
/**
|
|
469
|
-
* Resolves a named effect resource and records the pass's use of it.
|
|
470
|
-
*
|
|
471
|
-
* @param {string} name Constant name.
|
|
472
|
-
* @param {object} passParameters Owning pass parameters.
|
|
473
|
-
* @returns {object|null} Resolved value.
|
|
479
|
+
/**
|
|
480
|
+
* Resolves a named effect resource and records the pass's use of it.
|
|
481
|
+
*
|
|
482
|
+
* @param {string} name Constant name.
|
|
483
|
+
* @param {object} passParameters Owning pass parameters.
|
|
484
|
+
* @returns {object|null} Resolved value.
|
|
474
485
|
*/
|
|
475
486
|
#ResolveResourceValue(name, passParameters) {
|
|
476
487
|
const resource = this.GetResourceByName(name);
|
|
@@ -480,45 +491,44 @@ new class extends _identity {
|
|
|
480
491
|
return resource;
|
|
481
492
|
}
|
|
482
493
|
|
|
483
|
-
/**
|
|
484
|
-
* Bakes authored constant-parameter values into a stage mirror.
|
|
485
|
-
*
|
|
486
|
-
* @param {Uint8Array} mirror Stage constant mirror.
|
|
487
|
-
* @param {Array} constants Reflected constants.
|
|
488
|
-
* @param {Array} constParameters Authored constant parameters.
|
|
489
|
-
* @returns {void}
|
|
494
|
+
/**
|
|
495
|
+
* Bakes authored constant-parameter values into a stage mirror.
|
|
496
|
+
*
|
|
497
|
+
* @param {Uint8Array} mirror Stage constant mirror.
|
|
498
|
+
* @param {Array} constants Reflected constants.
|
|
499
|
+
* @param {Array} constParameters Authored constant parameters.
|
|
500
|
+
* @returns {void}
|
|
490
501
|
*/
|
|
491
502
|
|
|
492
|
-
/**
|
|
493
|
-
* Acquires the effect resource for the resolved path, if a manager is
|
|
494
|
-
* installed and this effect has not been handed one already.
|
|
495
|
-
*
|
|
496
|
-
* Carbon fetches through the process-wide manager and registers a notify
|
|
497
|
-
* target (`BeResMan->GetResource(...)` then `AddNotifyTarget(this)`,
|
|
498
|
-
* Tr2Effect.cpp:397-402). That mechanism is not ported: this runtime replaced
|
|
499
|
-
* notify targets with events, `CjsResource` is a `CjsEventEmitter`, and
|
|
500
|
-
* nothing in `src` has an `AddNotifyTarget`. The equivalent is subscribing to
|
|
501
|
-
* the resource's `completed` event through `OnCompleted`, which replays for a
|
|
502
|
-
* late subscriber - so a resource that is already prepared rebuilds
|
|
503
|
-
* immediately rather than waiting for a state change that has been and gone.
|
|
504
|
-
*
|
|
505
|
-
* The resource owns the subscription, which is what keeps Trinity out of the
|
|
506
|
-
* lifecycle; `shader.test.js` asserts exactly that by throwing from an
|
|
507
|
-
* `AddNotifyTarget` on a test resource.
|
|
508
|
-
*
|
|
509
|
-
* Does nothing when no manager is installed or the path did not resolve.
|
|
510
|
-
* Both are real states - a caller composing by hand assigns `effectResource`
|
|
511
|
-
* itself, and an unresolved path means no backend is committed - and neither
|
|
512
|
-
* is an error worth throwing during hydration.
|
|
513
|
-
*
|
|
514
|
-
* @returns {void}
|
|
503
|
+
/**
|
|
504
|
+
* Acquires the effect resource for the resolved path, if a manager is
|
|
505
|
+
* installed and this effect has not been handed one already.
|
|
506
|
+
*
|
|
507
|
+
* Carbon fetches through the process-wide manager and registers a notify
|
|
508
|
+
* target (`BeResMan->GetResource(...)` then `AddNotifyTarget(this)`,
|
|
509
|
+
* Tr2Effect.cpp:397-402). That mechanism is not ported: this runtime replaced
|
|
510
|
+
* notify targets with events, `CjsResource` is a `CjsEventEmitter`, and
|
|
511
|
+
* nothing in `src` has an `AddNotifyTarget`. The equivalent is subscribing to
|
|
512
|
+
* the resource's `completed` event through `OnCompleted`, which replays for a
|
|
513
|
+
* late subscriber - so a resource that is already prepared rebuilds
|
|
514
|
+
* immediately rather than waiting for a state change that has been and gone.
|
|
515
|
+
*
|
|
516
|
+
* The resource owns the subscription, which is what keeps Trinity out of the
|
|
517
|
+
* lifecycle; `shader.test.js` asserts exactly that by throwing from an
|
|
518
|
+
* `AddNotifyTarget` on a test resource.
|
|
519
|
+
*
|
|
520
|
+
* Does nothing when no manager is installed or the path did not resolve.
|
|
521
|
+
* Both are real states - a caller composing by hand assigns `effectResource`
|
|
522
|
+
* itself, and an unresolved path means no backend is committed - and neither
|
|
523
|
+
* is an error worth throwing during hydration.
|
|
524
|
+
*
|
|
525
|
+
* @returns {void}
|
|
515
526
|
*/
|
|
516
527
|
#AcquireEffectResource() {
|
|
517
|
-
|
|
518
|
-
if (!resourceManager || !this.actualEffectFilePath) return;
|
|
528
|
+
if (!this.actualEffectFilePath) return;
|
|
519
529
|
// A caller that assigned a resource by hand owns it; do not replace it.
|
|
520
530
|
if (this.effectResource !== null) return;
|
|
521
|
-
const resource =
|
|
531
|
+
const resource = blue.resMan.GetResource(this.actualEffectFilePath, {
|
|
522
532
|
requirement: ResourceRequirement.SHADER
|
|
523
533
|
});
|
|
524
534
|
this.effectResource = resource;
|
|
@@ -534,29 +544,36 @@ new class extends _identity {
|
|
|
534
544
|
return true;
|
|
535
545
|
}
|
|
536
546
|
|
|
537
|
-
/**
|
|
538
|
-
* Keeps list membership consistent: a removed entry has its reroute
|
|
539
|
-
* destination cleared and is detached from the material, an inserted one is
|
|
540
|
-
* attached, and cached data is rebuilt either way.
|
|
547
|
+
/**
|
|
548
|
+
* Keeps list membership consistent: a removed entry has its reroute
|
|
549
|
+
* destination cleared and is detached from the material, an inserted one is
|
|
550
|
+
* attached, and cached data is rebuilt either way.
|
|
541
551
|
*/
|
|
542
552
|
OnListModified(event, _key, _key2, value) {
|
|
543
|
-
if (
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
if (
|
|
550
|
-
|
|
553
|
+
if (event & BLUELISTEVENT.BELIST_LOADING) return;
|
|
554
|
+
const kind = event & BLUELISTEVENT.BELIST_EVENTMASK;
|
|
555
|
+
// Tr2Effect.cpp:905-928 asks the value what it is rather than what it
|
|
556
|
+
// answers to: ITriReroutable for the destination clear, then
|
|
557
|
+
// ITriEffectResourceParameter for the material hooks.
|
|
558
|
+
const resource = CjsSchema.cast(value, ITriEffectResourceParameter);
|
|
559
|
+
if (kind === BLUELISTEVENT.BELIST_REMOVED) {
|
|
560
|
+
const reroutable = CjsSchema.cast(value, ITriReroutable);
|
|
561
|
+
if (reroutable) reroutable.SetDestination(null, 0);
|
|
562
|
+
if (resource) resource.OnRemovedFromMaterial(this);
|
|
563
|
+
}
|
|
564
|
+
if (resource && kind === BLUELISTEVENT.BELIST_INSERTED) {
|
|
565
|
+
resource.OnAddedToMaterial(this);
|
|
566
|
+
}
|
|
567
|
+
if (kind === BLUELISTEVENT.BELIST_REMOVED || kind === BLUELISTEVENT.BELIST_INSERTED || kind === BLUELISTEVENT.BELIST_SWAPPED || kind === BLUELISTEVENT.BELIST_MOVED) {
|
|
568
|
+
this.RebuildCachedDataInternal();
|
|
551
569
|
}
|
|
552
|
-
this.RebuildCachedDataInternal();
|
|
553
570
|
}
|
|
554
571
|
|
|
555
|
-
/**
|
|
556
|
-
* Re-resolves the shader for the current option set and re-binds every
|
|
557
|
-
* parameter and resource to it, rebuilding the screen-size LOD texture list on
|
|
558
|
-
* the way; a no-op while a StartUpdate batch is open. Resolves shader metadata
|
|
559
|
-
* only - no GPU program is created.
|
|
572
|
+
/**
|
|
573
|
+
* Re-resolves the shader for the current option set and re-binds every
|
|
574
|
+
* parameter and resource to it, rebuilding the screen-size LOD texture list on
|
|
575
|
+
* the way; a no-op while a StartUpdate batch is open. Resolves shader metadata
|
|
576
|
+
* only - no GPU program is created.
|
|
560
577
|
*/
|
|
561
578
|
RebuildCachedDataInternal() {
|
|
562
579
|
if (this.insideStartUpdate) {
|
|
@@ -598,9 +615,9 @@ new class extends _identity {
|
|
|
598
615
|
}
|
|
599
616
|
}
|
|
600
617
|
|
|
601
|
-
/**
|
|
602
|
-
* Drops the resolved shader and clears every parameter's and resource's effect
|
|
603
|
-
* handles by rebuilding them against null.
|
|
618
|
+
/**
|
|
619
|
+
* Drops the resolved shader and clears every parameter's and resource's effect
|
|
620
|
+
* handles by rebuilding them against null.
|
|
604
621
|
*/
|
|
605
622
|
ReleaseCachedData() {
|
|
606
623
|
this.shader = null;
|
|
@@ -613,9 +630,9 @@ new class extends _identity {
|
|
|
613
630
|
this.lodTextureParameters = [];
|
|
614
631
|
}
|
|
615
632
|
|
|
616
|
-
/**
|
|
617
|
-
* Sets the authored effect path through
|
|
618
|
-
*
|
|
633
|
+
/**
|
|
634
|
+
* Sets the authored effect path through values transport. Equal writes still
|
|
635
|
+
* initialize; the return value reports whether the path changed.
|
|
619
636
|
*/
|
|
620
637
|
SetEffectPathName(path) {
|
|
621
638
|
return this.SetValues({
|
|
@@ -626,17 +643,17 @@ new class extends _identity {
|
|
|
626
643
|
});
|
|
627
644
|
}
|
|
628
645
|
|
|
629
|
-
/**
|
|
630
|
-
* The authored path, not the slash-normalized actualEffectFilePath that
|
|
631
|
-
* Initialize derives from it.
|
|
646
|
+
/**
|
|
647
|
+
* The authored path, not the slash-normalized actualEffectFilePath that
|
|
648
|
+
* Initialize derives from it.
|
|
632
649
|
*/
|
|
633
650
|
GetEffectPathName() {
|
|
634
651
|
return this.effectFilePath;
|
|
635
652
|
}
|
|
636
653
|
|
|
637
|
-
/**
|
|
638
|
-
* The effect resource the shader is resolved from, or null before one has been
|
|
639
|
-
* assigned.
|
|
654
|
+
/**
|
|
655
|
+
* The effect resource the shader is resolved from, or null before one has been
|
|
656
|
+
* assigned.
|
|
640
657
|
*/
|
|
641
658
|
GetEffectRes() {
|
|
642
659
|
return this.effectResource;
|
|
@@ -647,34 +664,45 @@ new class extends _identity {
|
|
|
647
664
|
return this.name;
|
|
648
665
|
}
|
|
649
666
|
|
|
650
|
-
/**
|
|
651
|
-
* Appends a resource parameter, attaches it to this material and rebuilds
|
|
652
|
-
* cached data; does not check for a duplicate name and always returns true.
|
|
667
|
+
/**
|
|
668
|
+
* Appends a resource parameter, attaches it to this material and rebuilds
|
|
669
|
+
* cached data; does not check for a duplicate name and always returns true.
|
|
653
670
|
*/
|
|
654
671
|
AddResource(parameter) {
|
|
672
|
+
// Carbon's signature takes ITriEffectParameter* (h:84) but appends to a
|
|
673
|
+
// list typed to resource parameters, so a non-resource parameter cannot
|
|
674
|
+
// reach the list at all. Refuse it at the door rather than pushing first
|
|
675
|
+
// and attaching after: a failed attach used to leave the parameter in the
|
|
676
|
+
// list permanently unhooked, which is a half-state, not a failure.
|
|
677
|
+
const resource = CjsSchema.cast(parameter, ITriEffectResourceParameter);
|
|
678
|
+
if (!resource) {
|
|
679
|
+
throw new TypeError("Tr2Effect.AddResource requires an ITriEffectResourceParameter.");
|
|
680
|
+
}
|
|
655
681
|
this.resources.push(parameter);
|
|
656
|
-
|
|
682
|
+
// The push fires no list event, so this stands in for the INSERTED arm
|
|
683
|
+
// that would have run (Tr2Effect.cpp:922-925).
|
|
684
|
+
resource.OnAddedToMaterial(this);
|
|
657
685
|
this.RebuildCachedDataInternal();
|
|
658
686
|
return true;
|
|
659
687
|
}
|
|
660
688
|
|
|
661
|
-
/**
|
|
662
|
-
* Creates and attaches a TriTextureParameter for the name, returning false
|
|
663
|
-
* when a resource already uses that name.
|
|
689
|
+
/**
|
|
690
|
+
* Creates and attaches a TriTextureParameter for the name, returning false
|
|
691
|
+
* when a resource already uses that name.
|
|
664
692
|
*/
|
|
665
693
|
AddResourceTexture2D(name, resourcePath = "") {
|
|
666
694
|
if (this.GetResourceByName(name)) {
|
|
667
695
|
return false;
|
|
668
696
|
}
|
|
669
697
|
const parameter = new _TriTextureParameter();
|
|
670
|
-
parameter.SetParameterName
|
|
671
|
-
parameter.SetResourcePath
|
|
698
|
+
parameter.SetParameterName(name);
|
|
699
|
+
parameter.SetResourcePath(resourcePath);
|
|
672
700
|
return this.AddResource(parameter);
|
|
673
701
|
}
|
|
674
702
|
|
|
675
|
-
/**
|
|
676
|
-
* Carbon's SetResourceTexture2D - assigns the texture path on the named
|
|
677
|
-
* resource, creating the TriTextureParameter when absent.
|
|
703
|
+
/**
|
|
704
|
+
* Carbon's SetResourceTexture2D - assigns the texture path on the named
|
|
705
|
+
* resource, creating the TriTextureParameter when absent.
|
|
678
706
|
*/
|
|
679
707
|
SetResourceTexture2D(name, resourcePath = "") {
|
|
680
708
|
const updated = this.#setNamedTexture(name, resourcePath);
|
|
@@ -684,10 +712,10 @@ new class extends _identity {
|
|
|
684
712
|
return updated;
|
|
685
713
|
}
|
|
686
714
|
|
|
687
|
-
/**
|
|
688
|
-
* Adds a sampler override for the named resource using Carbon's authoring
|
|
689
|
-
* defaults for the fields not passed in (addressW 1, filter 3, mipFilter 2);
|
|
690
|
-
* returns false when an override of that name already exists.
|
|
715
|
+
/**
|
|
716
|
+
* Adds a sampler override for the named resource using Carbon's authoring
|
|
717
|
+
* defaults for the fields not passed in (addressW 1, filter 3, mipFilter 2);
|
|
718
|
+
* returns false when an override of that name already exists.
|
|
691
719
|
*/
|
|
692
720
|
AddSamplerOverride(name, addressU = 1, addressV = addressU) {
|
|
693
721
|
if (this.HasSamplerOverride(name)) {
|
|
@@ -705,10 +733,10 @@ new class extends _identity {
|
|
|
705
733
|
return true;
|
|
706
734
|
}
|
|
707
735
|
|
|
708
|
-
/**
|
|
709
|
-
* Adds an authored constant parameter, cloning the value so the caller's
|
|
710
|
-
* vector is not aliased; returns false when a constant of that name already
|
|
711
|
-
* exists.
|
|
736
|
+
/**
|
|
737
|
+
* Adds an authored constant parameter, cloning the value so the caller's
|
|
738
|
+
* vector is not aliased; returns false when a constant of that name already
|
|
739
|
+
* exists.
|
|
712
740
|
*/
|
|
713
741
|
AddParameterVector4(name, value = vec4.create()) {
|
|
714
742
|
if (this.HasParameter(name)) {
|
|
@@ -722,26 +750,26 @@ new class extends _identity {
|
|
|
722
750
|
return true;
|
|
723
751
|
}
|
|
724
752
|
|
|
725
|
-
/**
|
|
726
|
-
* Adds a constant parameter with the scalar splatted across all four
|
|
727
|
-
* components, matching Carbon's float authoring.
|
|
753
|
+
/**
|
|
754
|
+
* Adds a constant parameter with the scalar splatted across all four
|
|
755
|
+
* components, matching Carbon's float authoring.
|
|
728
756
|
*/
|
|
729
757
|
AddParameterFloat(name, value = 0) {
|
|
730
758
|
return this.AddParameterVector4(name, vec4.fromValues(value, value, value, value));
|
|
731
759
|
}
|
|
732
760
|
|
|
733
|
-
/**
|
|
734
|
-
* Adds a constant parameter from a colour vector; behaviourally identical to
|
|
735
|
-
* AddParameterVector4.
|
|
761
|
+
/**
|
|
762
|
+
* Adds a constant parameter from a colour vector; behaviourally identical to
|
|
763
|
+
* AddParameterVector4.
|
|
736
764
|
*/
|
|
737
765
|
AddParameterColor(name, value) {
|
|
738
766
|
return this.AddParameterVector4(name, value);
|
|
739
767
|
}
|
|
740
768
|
|
|
741
|
-
/**
|
|
742
|
-
* JS convenience over the Carbon lists: the effect collections also accept
|
|
743
|
-
* unique-name plain-object maps. Canonical arrays keep the inherited
|
|
744
|
-
* CjsModel path untouched; `textures` is an input alias for `resources`.
|
|
769
|
+
/**
|
|
770
|
+
* JS convenience over the Carbon lists: the effect collections also accept
|
|
771
|
+
* unique-name plain-object maps. Canonical arrays keep the inherited
|
|
772
|
+
* CjsModel path untouched; `textures` is an input alias for `resources`.
|
|
745
773
|
*/
|
|
746
774
|
SetValues(values = {}, options = {}) {
|
|
747
775
|
const source = values && typeof values === "object" ? values : {};
|
|
@@ -772,10 +800,10 @@ new class extends _identity {
|
|
|
772
800
|
return options?.returnBoolean === true ? changed.size > 0 : changed;
|
|
773
801
|
}
|
|
774
802
|
|
|
775
|
-
/**
|
|
776
|
-
* Merges dynamic parameters by unique name. Values may be raw
|
|
777
|
-
* (number/vector/matrix/res path string) or explicit `{ type, ... }`
|
|
778
|
-
* descriptors; `null` removes. Texture values route to `resources`.
|
|
803
|
+
/**
|
|
804
|
+
* Merges dynamic parameters by unique name. Values may be raw
|
|
805
|
+
* (number/vector/matrix/res path string) or explicit `{ type, ... }`
|
|
806
|
+
* descriptors; `null` removes. Texture values route to `resources`.
|
|
779
807
|
*/
|
|
780
808
|
SetParameters(values = {}) {
|
|
781
809
|
let updated = false;
|
|
@@ -796,9 +824,9 @@ new class extends _identity {
|
|
|
796
824
|
return updated;
|
|
797
825
|
}
|
|
798
826
|
|
|
799
|
-
/**
|
|
800
|
-
* Sets one named dynamic parameter. Carbon exposes this singular facade and
|
|
801
|
-
* smart-light meshes use it while stamping their resolved group color.
|
|
827
|
+
/**
|
|
828
|
+
* Sets one named dynamic parameter. Carbon exposes this singular facade and
|
|
829
|
+
* smart-light meshes use it while stamping their resolved group color.
|
|
802
830
|
*/
|
|
803
831
|
SetParameter(name, value, uavMipLevel = 0) {
|
|
804
832
|
const parameterName = String(name ?? "");
|
|
@@ -813,7 +841,7 @@ new class extends _identity {
|
|
|
813
841
|
if (!Parameter) {
|
|
814
842
|
throw new TypeError(`Tr2Effect.SetParameter: no Carbon overload takes ${describe(value)} for "${parameterName}"`);
|
|
815
843
|
}
|
|
816
|
-
const existing =
|
|
844
|
+
const existing = _CjsParameter.findByName(this.parameters, parameterName);
|
|
817
845
|
let parameter = existing instanceof Parameter ? existing : null;
|
|
818
846
|
if (!parameter) {
|
|
819
847
|
// A same-name parameter of the WRONG TYPE is left in place and a new one
|
|
@@ -867,9 +895,9 @@ new class extends _identity {
|
|
|
867
895
|
return updated;
|
|
868
896
|
}
|
|
869
897
|
|
|
870
|
-
/**
|
|
871
|
-
* Merges authored constant parameters by unique name. Numbers splat to a
|
|
872
|
-
* vec4, matching Carbon's AddParameterFloat authoring behavior.
|
|
898
|
+
/**
|
|
899
|
+
* Merges authored constant parameters by unique name. Numbers splat to a
|
|
900
|
+
* vec4, matching Carbon's AddParameterFloat authoring behavior.
|
|
873
901
|
*/
|
|
874
902
|
SetConstParameters(values = {}) {
|
|
875
903
|
let updated = false;
|
|
@@ -884,7 +912,7 @@ new class extends _identity {
|
|
|
884
912
|
if (!vector) {
|
|
885
913
|
throw new TypeError(`Tr2Effect.SetConstParameters cannot read a vec4 value for "${name}".`);
|
|
886
914
|
}
|
|
887
|
-
const existing =
|
|
915
|
+
const existing = _CjsParameter.findByName(this.constParameters, name);
|
|
888
916
|
if (existing) {
|
|
889
917
|
vec4.copy(existing.value, vector);
|
|
890
918
|
} else {
|
|
@@ -911,7 +939,7 @@ new class extends _identity {
|
|
|
911
939
|
updated = this.#removeNamed(this.samplerOverrides, name) || updated;
|
|
912
940
|
continue;
|
|
913
941
|
}
|
|
914
|
-
const existing =
|
|
942
|
+
const existing = _CjsParameter.findByName(this.samplerOverrides, name);
|
|
915
943
|
if (value instanceof _Tr2SamplerOverride) {
|
|
916
944
|
if (!value.name) {
|
|
917
945
|
value.name = String(name);
|
|
@@ -946,10 +974,10 @@ new class extends _identity {
|
|
|
946
974
|
return updated;
|
|
947
975
|
}
|
|
948
976
|
|
|
949
|
-
/**
|
|
950
|
-
* Creates a parameter model from a raw value using the class-declared
|
|
951
|
-
* isValue claims, or from an explicit `{ type, ... }` descriptor.
|
|
952
|
-
* Returns null when no registered parameter class claims the value.
|
|
977
|
+
/**
|
|
978
|
+
* Creates a parameter model from a raw value using the class-declared
|
|
979
|
+
* isValue claims, or from an explicit `{ type, ... }` descriptor.
|
|
980
|
+
* Returns null when no registered parameter class claims the value.
|
|
953
981
|
*/
|
|
954
982
|
static CreateParameterFromValue(name, value) {
|
|
955
983
|
if (value && typeof value === "object" && !Array.isArray(value) && !ArrayBuffer.isView(value)) {
|
|
@@ -965,7 +993,7 @@ new class extends _identity {
|
|
|
965
993
|
} = value;
|
|
966
994
|
const parameter = new ExplicitClass();
|
|
967
995
|
parameter.SetValues(fields);
|
|
968
|
-
if (name && !
|
|
996
|
+
if (name && !_CjsParameter.getNamedValue(parameter)) {
|
|
969
997
|
parameter.SetValues({
|
|
970
998
|
name: String(name)
|
|
971
999
|
});
|
|
@@ -992,34 +1020,34 @@ new class extends _identity {
|
|
|
992
1020
|
return null;
|
|
993
1021
|
}
|
|
994
1022
|
|
|
995
|
-
/**
|
|
996
|
-
* Removes the named entry from one of the effect's collections, detaching it
|
|
997
|
-
* from the material first when the list is `resources`; returns whether
|
|
998
|
-
* anything was removed.
|
|
1023
|
+
/**
|
|
1024
|
+
* Removes the named entry from one of the effect's collections, detaching it
|
|
1025
|
+
* from the material first when the list is `resources`; returns whether
|
|
1026
|
+
* anything was removed.
|
|
999
1027
|
*/
|
|
1000
1028
|
#removeNamed(list, name) {
|
|
1001
|
-
const existing =
|
|
1029
|
+
const existing = _CjsParameter.findByName(list, name);
|
|
1002
1030
|
if (!existing) {
|
|
1003
1031
|
return false;
|
|
1004
1032
|
}
|
|
1005
1033
|
if (list === this.resources) {
|
|
1006
|
-
existing
|
|
1034
|
+
existing.OnRemovedFromMaterial(this);
|
|
1007
1035
|
}
|
|
1008
1036
|
list.splice(list.indexOf(existing), 1);
|
|
1009
1037
|
return true;
|
|
1010
1038
|
}
|
|
1011
1039
|
|
|
1012
|
-
/**
|
|
1013
|
-
* Assigns a dynamic parameter by name, reusing the existing model when its
|
|
1014
|
-
* class claims the value and otherwise creating one and replacing the old
|
|
1015
|
-
* entry; string values route to the texture resource list instead. Throws
|
|
1016
|
-
* TypeError when no registered parameter class can represent the value.
|
|
1040
|
+
/**
|
|
1041
|
+
* Assigns a dynamic parameter by name, reusing the existing model when its
|
|
1042
|
+
* class claims the value and otherwise creating one and replacing the old
|
|
1043
|
+
* entry; string values route to the texture resource list instead. Throws
|
|
1044
|
+
* TypeError when no registered parameter class can represent the value.
|
|
1017
1045
|
*/
|
|
1018
1046
|
#setNamedParameter(name, value) {
|
|
1019
1047
|
if (typeof value === "string") {
|
|
1020
1048
|
return this.#setNamedTexture(name, value);
|
|
1021
1049
|
}
|
|
1022
|
-
const existing =
|
|
1050
|
+
const existing = _CjsParameter.findByName(this.parameters, name);
|
|
1023
1051
|
if (existing && existing.constructor.isValue?.(value)) {
|
|
1024
1052
|
existing.SetValue(value);
|
|
1025
1053
|
return true;
|
|
@@ -1028,15 +1056,15 @@ new class extends _identity {
|
|
|
1028
1056
|
if (!created) {
|
|
1029
1057
|
throw new TypeError(`Tr2Effect.SetParameters cannot infer a parameter type for "${name}".`);
|
|
1030
1058
|
}
|
|
1031
|
-
if (created
|
|
1032
|
-
const existingResource =
|
|
1059
|
+
if (CjsSchema.cast(created, _TriTextureParameter)) {
|
|
1060
|
+
const existingResource = _CjsParameter.findByName(this.resources, name);
|
|
1033
1061
|
if (existingResource) {
|
|
1034
|
-
existingResource
|
|
1062
|
+
existingResource.OnRemovedFromMaterial(this);
|
|
1035
1063
|
this.resources[this.resources.indexOf(existingResource)] = created;
|
|
1036
1064
|
} else {
|
|
1037
1065
|
this.resources.push(created);
|
|
1038
1066
|
}
|
|
1039
|
-
created
|
|
1067
|
+
created.OnAddedToMaterial(this);
|
|
1040
1068
|
return true;
|
|
1041
1069
|
}
|
|
1042
1070
|
if (existing) {
|
|
@@ -1047,50 +1075,44 @@ new class extends _identity {
|
|
|
1047
1075
|
return true;
|
|
1048
1076
|
}
|
|
1049
1077
|
|
|
1050
|
-
/**
|
|
1051
|
-
* Points the named texture resource at a res path, creating and attaching a
|
|
1052
|
-
* TriTextureParameter when absent; returns false when the path is already that
|
|
1053
|
-
* value, and throws TypeError for non-string values.
|
|
1078
|
+
/**
|
|
1079
|
+
* Points the named texture resource at a res path, creating and attaching a
|
|
1080
|
+
* TriTextureParameter when absent; returns false when the path is already that
|
|
1081
|
+
* value, and throws TypeError for non-string values.
|
|
1054
1082
|
*/
|
|
1055
1083
|
#setNamedTexture(name, value) {
|
|
1056
1084
|
if (typeof value !== "string") {
|
|
1057
1085
|
throw new TypeError(`Tr2Effect.SetTextures requires res path strings for "${name}".`);
|
|
1058
1086
|
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1087
|
+
// Tr2Effect.cpp:2257-2268 casts, and a resource that is not a texture
|
|
1088
|
+
// parameter falls through to AddResourceTexture2D, which refuses a name
|
|
1089
|
+
// already taken - so a non-texture resource of that name is a no-op.
|
|
1090
|
+
const texture = CjsSchema.cast(this.GetResourceByName(name), _TriTextureParameter);
|
|
1091
|
+
if (texture) {
|
|
1092
|
+
if (texture.resourcePath === value) {
|
|
1062
1093
|
return false;
|
|
1063
1094
|
}
|
|
1064
|
-
|
|
1065
|
-
existing.SetResourcePath(value);
|
|
1066
|
-
} else {
|
|
1067
|
-
existing.resourcePath = value;
|
|
1068
|
-
}
|
|
1095
|
+
texture.SetResourcePath(value);
|
|
1069
1096
|
return true;
|
|
1070
1097
|
}
|
|
1071
|
-
|
|
1072
|
-
parameter.SetParameterName?.(name);
|
|
1073
|
-
parameter.SetResourcePath?.(value);
|
|
1074
|
-
this.resources.push(parameter);
|
|
1075
|
-
parameter?.OnAddedToMaterial?.(this);
|
|
1076
|
-
return true;
|
|
1098
|
+
return this.AddResourceTexture2D(name, value);
|
|
1077
1099
|
}
|
|
1078
1100
|
|
|
1079
|
-
/**
|
|
1080
|
-
* Resolves a descriptor's `Type`/`type`/`_type` field to a parameter
|
|
1081
|
-
* constructor, directly or through the schema registry; returns null when no
|
|
1082
|
-
* type field is present and throws TypeError for an unregistered class name.
|
|
1101
|
+
/**
|
|
1102
|
+
* Resolves a descriptor's `Type`/`type`/`_type` field to a parameter
|
|
1103
|
+
* constructor, directly or through the schema registry; returns null when no
|
|
1104
|
+
* type field is present and throws TypeError for an unregistered class name.
|
|
1083
1105
|
*/
|
|
1084
1106
|
|
|
1085
|
-
/**
|
|
1086
|
-
* Coerces a number (splatted to all four components), a four-number array, or
|
|
1087
|
-
* a `{ value }` wrapper into a new vec4; returns null when no vec4 can be
|
|
1088
|
-
* read.
|
|
1107
|
+
/**
|
|
1108
|
+
* Coerces a number (splatted to all four components), a four-number array, or
|
|
1109
|
+
* a `{ value }` wrapper into a new vec4; returns null when no vec4 can be
|
|
1110
|
+
* read.
|
|
1089
1111
|
*/
|
|
1090
1112
|
|
|
1091
|
-
/**
|
|
1092
|
-
* Empties both the constant and dynamic parameter lists inside one
|
|
1093
|
-
* StartUpdate/EndUpdate batch, so cached data rebuilds once at the end.
|
|
1113
|
+
/**
|
|
1114
|
+
* Empties both the constant and dynamic parameter lists inside one
|
|
1115
|
+
* StartUpdate/EndUpdate batch, so cached data rebuilds once at the end.
|
|
1094
1116
|
*/
|
|
1095
1117
|
ClearAllParameters() {
|
|
1096
1118
|
this.StartUpdate();
|
|
@@ -1099,25 +1121,26 @@ new class extends _identity {
|
|
|
1099
1121
|
this.EndUpdate();
|
|
1100
1122
|
}
|
|
1101
1123
|
|
|
1102
|
-
/**
|
|
1103
|
-
* Detaches every resource from this material and empties the resource list,
|
|
1104
|
-
* then rebuilds cached data.
|
|
1124
|
+
/**
|
|
1125
|
+
* Detaches every resource from this material and empties the resource list,
|
|
1126
|
+
* then rebuilds cached data.
|
|
1105
1127
|
*/
|
|
1106
1128
|
ClearAllResources() {
|
|
1107
1129
|
for (const resource of this.resources) {
|
|
1108
|
-
|
|
1130
|
+
// Tr2Effect.cpp:270-273 calls through the typed list, as above.
|
|
1131
|
+
resource.OnRemovedFromMaterial(this);
|
|
1109
1132
|
}
|
|
1110
1133
|
this.resources = [];
|
|
1111
1134
|
this.RebuildCachedDataInternal();
|
|
1112
1135
|
}
|
|
1113
1136
|
|
|
1114
|
-
/**
|
|
1115
|
-
* Sets a shader option, adding it when absent; cached data is rebuilt only
|
|
1116
|
-
* when the value actually changes, since options select the shader
|
|
1117
|
-
* permutation.
|
|
1137
|
+
/**
|
|
1138
|
+
* Sets a shader option, adding it when absent; cached data is rebuilt only
|
|
1139
|
+
* when the value actually changes, since options select the shader
|
|
1140
|
+
* permutation.
|
|
1118
1141
|
*/
|
|
1119
1142
|
SetOption(name, value) {
|
|
1120
|
-
const existing =
|
|
1143
|
+
const existing = _CjsParameter.findByName(this.options, name);
|
|
1121
1144
|
if (existing) {
|
|
1122
1145
|
if (existing.value !== value) {
|
|
1123
1146
|
existing.value = String(value);
|
|
@@ -1132,9 +1155,9 @@ new class extends _identity {
|
|
|
1132
1155
|
this.RebuildCachedDataInternal();
|
|
1133
1156
|
}
|
|
1134
1157
|
|
|
1135
|
-
/**
|
|
1136
|
-
* Drops the named option so the shader resolves with its default permutation
|
|
1137
|
-
* again.
|
|
1158
|
+
/**
|
|
1159
|
+
* Drops the named option so the shader resolves with its default permutation
|
|
1160
|
+
* again.
|
|
1138
1161
|
*/
|
|
1139
1162
|
ResetOption(name) {
|
|
1140
1163
|
this.options = this.options.filter(option => option?.name !== name);
|
|
@@ -1143,28 +1166,28 @@ new class extends _identity {
|
|
|
1143
1166
|
|
|
1144
1167
|
/** The option's value, or the empty string when the option is not set. */
|
|
1145
1168
|
GetOption(name) {
|
|
1146
|
-
return
|
|
1169
|
+
return _CjsParameter.findByName(this.options, name)?.value ?? "";
|
|
1147
1170
|
}
|
|
1148
1171
|
|
|
1149
|
-
/**
|
|
1150
|
-
* Looks the name up in the dynamic parameters first, then the resources;
|
|
1151
|
-
* authored constant parameters are not searched.
|
|
1172
|
+
/**
|
|
1173
|
+
* Looks the name up in the dynamic parameters first, then the resources;
|
|
1174
|
+
* authored constant parameters are not searched.
|
|
1152
1175
|
*/
|
|
1153
1176
|
GetParameterByName(name) {
|
|
1154
1177
|
return this.FindParameterByName(name) ?? this.GetResourceByName(name);
|
|
1155
1178
|
}
|
|
1156
1179
|
|
|
1157
|
-
/**
|
|
1158
|
-
* The dynamic parameter with this shader name, or null; resources and constant
|
|
1159
|
-
* parameters are not consulted.
|
|
1180
|
+
/**
|
|
1181
|
+
* The dynamic parameter with this shader name, or null; resources and constant
|
|
1182
|
+
* parameters are not consulted.
|
|
1160
1183
|
*/
|
|
1161
1184
|
FindParameterByName(name) {
|
|
1162
|
-
return this.parameters.find(parameter =>
|
|
1185
|
+
return this.parameters.find(parameter => _CjsParameter.getNamedValue(parameter) === name) ?? null;
|
|
1163
1186
|
}
|
|
1164
1187
|
|
|
1165
1188
|
/** The resource parameter with this shader name, or null. */
|
|
1166
1189
|
GetResourceByName(name) {
|
|
1167
|
-
return this.resources.find(parameter =>
|
|
1190
|
+
return this.resources.find(parameter => _CjsParameter.getNamedValue(parameter) === name) ?? null;
|
|
1168
1191
|
}
|
|
1169
1192
|
|
|
1170
1193
|
/** Whether a sampler override is authored for this resource name. */
|
|
@@ -1172,25 +1195,25 @@ new class extends _identity {
|
|
|
1172
1195
|
return this.samplerOverrides.some(value => value?.name === name);
|
|
1173
1196
|
}
|
|
1174
1197
|
|
|
1175
|
-
/**
|
|
1176
|
-
* Whether an authored constant parameter uses this name; dynamic parameters
|
|
1177
|
-
* and resources do not count.
|
|
1198
|
+
/**
|
|
1199
|
+
* Whether an authored constant parameter uses this name; dynamic parameters
|
|
1200
|
+
* and resources do not count.
|
|
1178
1201
|
*/
|
|
1179
1202
|
HasParameter(name) {
|
|
1180
1203
|
return this.constParameters.some(value => value?.name === name);
|
|
1181
1204
|
}
|
|
1182
1205
|
|
|
1183
|
-
/**
|
|
1184
|
-
* Whether any collection - parameters, resources or constant parameters -
|
|
1185
|
-
* already claims the name; the duplicate guard PopulateParameters uses.
|
|
1206
|
+
/**
|
|
1207
|
+
* Whether any collection - parameters, resources or constant parameters -
|
|
1208
|
+
* already claims the name; the duplicate guard PopulateParameters uses.
|
|
1186
1209
|
*/
|
|
1187
1210
|
#hasParameterLike(name) {
|
|
1188
1211
|
return !!(this.GetParameterByName(name) || this.HasParameter(name));
|
|
1189
1212
|
}
|
|
1190
1213
|
|
|
1191
|
-
/**
|
|
1192
|
-
* Whether the resolved shader both marks the name SasUiVisible and exposes it
|
|
1193
|
-
* as a constant or resource; the predicate PruneParameters filters on.
|
|
1214
|
+
/**
|
|
1215
|
+
* Whether the resolved shader both marks the name SasUiVisible and exposes it
|
|
1216
|
+
* as a constant or resource; the predicate PruneParameters filters on.
|
|
1194
1217
|
*/
|
|
1195
1218
|
#isShaderParameterVisible(name) {
|
|
1196
1219
|
if (!name) {
|
|
@@ -1200,26 +1223,26 @@ new class extends _identity {
|
|
|
1200
1223
|
return _Tr2Effect.getBool(shader, name, "SasUiVisible", false) && !!(shader.GetConstant(name) || shader.GetResource(name));
|
|
1201
1224
|
}
|
|
1202
1225
|
|
|
1203
|
-
/**
|
|
1204
|
-
* Resolves an authored effect path to the compiled path a backend loads.
|
|
1205
|
-
*
|
|
1206
|
-
* Carbon's `ConvertEffectPath` (Tr2Effect.cpp:309-370) does three things:
|
|
1207
|
-
* lowercases, substitutes `/effect/` for `/effect.<platform>/`, and replaces
|
|
1208
|
-
* the extension with the shader-model suffix. This did only the first half of
|
|
1209
|
-
* the first one - a backslash swap - so `actualEffectFilePath` still ended in
|
|
1210
|
-
* `.fx` and no extension route could ever match it.
|
|
1211
|
-
*
|
|
1212
|
-
* Carbon returns false when it cannot substitute, and `Initialize` then
|
|
1213
|
-
* blanks the path rather than fetching. The same happens here: with no
|
|
1214
|
-
* platform name installed there is no committed backend, so an authored
|
|
1215
|
-
* `/effect/*.fx` has no compiled tree to resolve into and yields "". The
|
|
1216
|
-
* resolver itself throws in that case by design, and that loud failure is
|
|
1217
|
-
* right for a caller that named a path deliberately; it is wrong for
|
|
1218
|
-
* hydration, which may build an effect long before a backend exists.
|
|
1219
|
-
*
|
|
1220
|
-
* @param {string} path Authored effect path.
|
|
1221
|
-
* @param {object} [options] Overrides for the installed configuration.
|
|
1222
|
-
* @returns {string} Compiled path, or "" when none can be resolved.
|
|
1226
|
+
/**
|
|
1227
|
+
* Resolves an authored effect path to the compiled path a backend loads.
|
|
1228
|
+
*
|
|
1229
|
+
* Carbon's `ConvertEffectPath` (Tr2Effect.cpp:309-370) does three things:
|
|
1230
|
+
* lowercases, substitutes `/effect/` for `/effect.<platform>/`, and replaces
|
|
1231
|
+
* the extension with the shader-model suffix. This did only the first half of
|
|
1232
|
+
* the first one - a backslash swap - so `actualEffectFilePath` still ended in
|
|
1233
|
+
* `.fx` and no extension route could ever match it.
|
|
1234
|
+
*
|
|
1235
|
+
* Carbon returns false when it cannot substitute, and `Initialize` then
|
|
1236
|
+
* blanks the path rather than fetching. The same happens here: with no
|
|
1237
|
+
* platform name installed there is no committed backend, so an authored
|
|
1238
|
+
* `/effect/*.fx` has no compiled tree to resolve into and yields "". The
|
|
1239
|
+
* resolver itself throws in that case by design, and that loud failure is
|
|
1240
|
+
* right for a caller that named a path deliberately; it is wrong for
|
|
1241
|
+
* hydration, which may build an effect long before a backend exists.
|
|
1242
|
+
*
|
|
1243
|
+
* @param {string} path Authored effect path.
|
|
1244
|
+
* @param {object} [options] Overrides for the installed configuration.
|
|
1245
|
+
* @returns {string} Compiled path, or "" when none can be resolved.
|
|
1223
1246
|
*/
|
|
1224
1247
|
static convertEffectPath(path, options = {}) {
|
|
1225
1248
|
const authored = String(path ?? "");
|
|
@@ -1237,8 +1260,8 @@ new class extends _identity {
|
|
|
1237
1260
|
});
|
|
1238
1261
|
}
|
|
1239
1262
|
|
|
1240
|
-
/**
|
|
1241
|
-
* Flattens a canonical shader's technique/pass tree into stage inputs.
|
|
1263
|
+
/**
|
|
1264
|
+
* Flattens a canonical shader's technique/pass tree into stage inputs.
|
|
1242
1265
|
*/
|
|
1243
1266
|
static iterateShaderStages(shader) {
|
|
1244
1267
|
const stages = [];
|
|
@@ -1251,8 +1274,8 @@ new class extends _identity {
|
|
|
1251
1274
|
return stages;
|
|
1252
1275
|
}
|
|
1253
1276
|
|
|
1254
|
-
/**
|
|
1255
|
-
* Returns a canonical stage resource map's descriptions in iteration order.
|
|
1277
|
+
/**
|
|
1278
|
+
* Returns a canonical stage resource map's descriptions in iteration order.
|
|
1256
1279
|
*/
|
|
1257
1280
|
static iterateResources(values) {
|
|
1258
1281
|
if (!(values instanceof Map)) {
|
|
@@ -1261,9 +1284,9 @@ new class extends _identity {
|
|
|
1261
1284
|
return [...values.values()];
|
|
1262
1285
|
}
|
|
1263
1286
|
|
|
1264
|
-
/**
|
|
1265
|
-
* Reads a boolean shader annotation off a parameter, tolerating Map/array/object annotation containers and the several value field names reflection data uses.
|
|
1266
|
-
* @returns {boolean} defaultValue when the annotation is absent
|
|
1287
|
+
/**
|
|
1288
|
+
* Reads a boolean shader annotation off a parameter, tolerating Map/array/object annotation containers and the several value field names reflection data uses.
|
|
1289
|
+
* @returns {boolean} defaultValue when the annotation is absent
|
|
1267
1290
|
*/
|
|
1268
1291
|
static getBool(shader, parameterName, annotationName, defaultValue = false) {
|
|
1269
1292
|
const annotations = requireShader(shader).GetParameterAnnotations(parameterName);
|
|
@@ -1275,12 +1298,12 @@ new class extends _identity {
|
|
|
1275
1298
|
return Boolean(annotation.boolValue ?? annotation.value ?? annotation.booleanValue ?? defaultValue);
|
|
1276
1299
|
}
|
|
1277
1300
|
|
|
1278
|
-
/**
|
|
1279
|
-
* Builds the parameter model matching a reflected shader constant - float
|
|
1280
|
-
* array, matrix, vector or scalar - seeded with the shader-authored defaults;
|
|
1281
|
-
* a 16-component constant whose name contains `Reflection` becomes an
|
|
1282
|
-
* EnvMapTransform variable parameter instead. Returns null for non-FLOAT
|
|
1283
|
-
* constants, which Carbon does not surface as parameters.
|
|
1301
|
+
/**
|
|
1302
|
+
* Builds the parameter model matching a reflected shader constant - float
|
|
1303
|
+
* array, matrix, vector or scalar - seeded with the shader-authored defaults;
|
|
1304
|
+
* a 16-component constant whose name contains `Reflection` becomes an
|
|
1305
|
+
* EnvMapTransform variable parameter instead. Returns null for non-FLOAT
|
|
1306
|
+
* constants, which Carbon does not surface as parameters.
|
|
1284
1307
|
*/
|
|
1285
1308
|
static convertEffectConstant(constant, constantValues) {
|
|
1286
1309
|
// Carbon only populates parameters for FLOAT constants; INT/UINT/BOOL
|
|
@@ -1341,14 +1364,14 @@ new class extends _identity {
|
|
|
1341
1364
|
return parameter;
|
|
1342
1365
|
}
|
|
1343
1366
|
|
|
1344
|
-
/**
|
|
1345
|
-
* Builds a TriTextureParameter for texture resources and a
|
|
1346
|
-
* Tr2GeometryBufferParameter for everything else.
|
|
1367
|
+
/**
|
|
1368
|
+
* Builds a TriTextureParameter for texture resources and a
|
|
1369
|
+
* Tr2GeometryBufferParameter for everything else.
|
|
1347
1370
|
*/
|
|
1348
1371
|
static convertEffectResource(resource) {
|
|
1349
1372
|
if (_Tr2Effect.isTextureResource(resource)) {
|
|
1350
1373
|
const parameter = new _TriTextureParameter();
|
|
1351
|
-
parameter.SetParameterName
|
|
1374
|
+
parameter.SetParameterName(resource.name ?? "");
|
|
1352
1375
|
return parameter;
|
|
1353
1376
|
}
|
|
1354
1377
|
const parameter = new _Tr2GeometryBufferPar();
|
|
@@ -1356,10 +1379,10 @@ new class extends _identity {
|
|
|
1356
1379
|
return parameter;
|
|
1357
1380
|
}
|
|
1358
1381
|
|
|
1359
|
-
/**
|
|
1360
|
-
* Classifies a reflected resource as a texture: string types containing
|
|
1361
|
-
* TEXTURE but not BUFFER, or numeric types 1..5 (TEXTURE_1D through
|
|
1362
|
-
* TEXTURE_TYPELESS); buffer types start at 6.
|
|
1382
|
+
/**
|
|
1383
|
+
* Classifies a reflected resource as a texture: string types containing
|
|
1384
|
+
* TEXTURE but not BUFFER, or numeric types 1..5 (TEXTURE_1D through
|
|
1385
|
+
* TEXTURE_TYPELESS); buffer types start at 6.
|
|
1363
1386
|
*/
|
|
1364
1387
|
static isTextureResource(resource) {
|
|
1365
1388
|
const type = resource?.type;
|
|
@@ -1371,10 +1394,10 @@ new class extends _identity {
|
|
|
1371
1394
|
return Number(type) >= 1 && Number(type) <= 5;
|
|
1372
1395
|
}
|
|
1373
1396
|
|
|
1374
|
-
/**
|
|
1375
|
-
* Reads a constant's shader-authored default scalar, preferring an inline
|
|
1376
|
-
* value and otherwise a little-endian float32 at the constant's offset into
|
|
1377
|
-
* the stage's constantValues; 0 when neither is available.
|
|
1397
|
+
/**
|
|
1398
|
+
* Reads a constant's shader-authored default scalar, preferring an inline
|
|
1399
|
+
* value and otherwise a little-endian float32 at the constant's offset into
|
|
1400
|
+
* the stage's constantValues; 0 when neither is available.
|
|
1378
1401
|
*/
|
|
1379
1402
|
static readScalar(constant, values) {
|
|
1380
1403
|
if (typeof constant.value === "number") {
|
|
@@ -1389,10 +1412,10 @@ new class extends _identity {
|
|
|
1389
1412
|
return 0;
|
|
1390
1413
|
}
|
|
1391
1414
|
|
|
1392
|
-
/**
|
|
1393
|
-
* Reads the shader-authored default components for a constant into the
|
|
1394
|
-
* parameter's value slot (Carbon reads them straight from constantValues
|
|
1395
|
-
* at the constant's offset). Missing data leaves the class default.
|
|
1415
|
+
/**
|
|
1416
|
+
* Reads the shader-authored default components for a constant into the
|
|
1417
|
+
* parameter's value slot (Carbon reads them straight from constantValues
|
|
1418
|
+
* at the constant's offset). Missing data leaves the class default.
|
|
1396
1419
|
*/
|
|
1397
1420
|
static readComponents(out, constant, values, count) {
|
|
1398
1421
|
if (constant.value && typeof constant.value.length === "number") {
|
|
@@ -1413,10 +1436,10 @@ new class extends _identity {
|
|
|
1413
1436
|
return out;
|
|
1414
1437
|
}
|
|
1415
1438
|
|
|
1416
|
-
/**
|
|
1417
|
-
* Reads the shader-authored default vec4 for one element of a constant out of the stage's constantValues (16 bytes per element), or from the constant's inline value when it has one.
|
|
1418
|
-
* @param element zero-based array element index; ignored when the constant carries an inline value
|
|
1419
|
-
* @returns {vec4} a newly allocated vector; components outside the buffer stay 0
|
|
1439
|
+
/**
|
|
1440
|
+
* Reads the shader-authored default vec4 for one element of a constant out of the stage's constantValues (16 bytes per element), or from the constant's inline value when it has one.
|
|
1441
|
+
* @param element zero-based array element index; ignored when the constant carries an inline value
|
|
1442
|
+
* @returns {vec4} a newly allocated vector; components outside the buffer stay 0
|
|
1420
1443
|
*/
|
|
1421
1444
|
static readVector4(constant, values, element) {
|
|
1422
1445
|
if (constant.value && typeof constant.value.length === "number") {
|
|
@@ -1466,7 +1489,7 @@ new class extends _identity {
|
|
|
1466
1489
|
if (typeof value === "number") {
|
|
1467
1490
|
return vec4.fromValues(value, value, value, value);
|
|
1468
1491
|
}
|
|
1469
|
-
if (
|
|
1492
|
+
if (_CjsParameter.isNumberArrayValue(value, 4)) {
|
|
1470
1493
|
return vec4.clone(value);
|
|
1471
1494
|
}
|
|
1472
1495
|
if (value && typeof value === "object" && !Array.isArray(value) && "value" in value) {
|