@carbonenginejs/runtime-resource 0.1.0
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/FORMAT-PROVENANCE.md +135 -0
- package/LICENSE +21 -0
- package/NOTICE +29 -0
- package/README.md +241 -0
- package/dist/CjsMotherLode.js +56 -0
- package/dist/CjsMotherLode.js.map +1 -0
- package/dist/CjsResMan.js +740 -0
- package/dist/CjsResMan.js.map +1 -0
- package/dist/CjsResManQueue.js +214 -0
- package/dist/CjsResManQueue.js.map +1 -0
- package/dist/CjsResource.js +366 -0
- package/dist/CjsResource.js.map +1 -0
- package/dist/CjsResourceSource.js +59 -0
- package/dist/CjsResourceSource.js.map +1 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js +153 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
- package/dist/format/CjsFormat.js +178 -0
- package/dist/format/CjsFormat.js.map +1 -0
- package/dist/format/CjsResourceProbe.js +269 -0
- package/dist/format/CjsResourceProbe.js.map +1 -0
- package/dist/format/payloadContract.js +173 -0
- package/dist/format/payloadContract.js.map +1 -0
- package/dist/formats/black/CjsBlackFormat.js +272 -0
- package/dist/formats/black/CjsBlackFormat.js.map +1 -0
- package/dist/formats/black/core/CjsBlackBinaryReader.js +153 -0
- package/dist/formats/black/core/CjsBlackBinaryReader.js.map +1 -0
- package/dist/formats/black/core/CjsBlackPropertyReaders.js +382 -0
- package/dist/formats/black/core/CjsBlackPropertyReaders.js.map +1 -0
- package/dist/formats/black/core/CjsBlackReader.js +760 -0
- package/dist/formats/black/core/CjsBlackReader.js.map +1 -0
- package/dist/formats/black/core/CjsBlackSchemaRegistry.js +433 -0
- package/dist/formats/black/core/CjsBlackSchemaRegistry.js.map +1 -0
- package/dist/formats/black/core/black-schema-v1-2026-07-11.json.js +4 -0
- package/dist/formats/black/core/black-schema-v1-2026-07-11.json.js.map +1 -0
- package/dist/formats/black/core/blackConstants.js +7 -0
- package/dist/formats/black/core/blackConstants.js.map +1 -0
- package/dist/formats/black/core/blackDefinitions.js +10 -0
- package/dist/formats/black/core/blackDefinitions.js.map +1 -0
- package/dist/formats/black/core/blackEnums.js +6 -0
- package/dist/formats/black/core/blackEnums.js.map +1 -0
- package/dist/formats/black/core/blackSchema.js +3 -0
- package/dist/formats/black/core/blackSchema.js.map +1 -0
- package/dist/formats/black/core/blackVersion.js +22 -0
- package/dist/formats/black/core/blackVersion.js.map +1 -0
- package/dist/formats/black/core/helpers.js +182 -0
- package/dist/formats/black/core/helpers.js.map +1 -0
- package/dist/formats/black/core/schema.js +4 -0
- package/dist/formats/black/core/schema.js.map +1 -0
- package/dist/formats/black/index.js +2 -0
- package/dist/formats/black/index.js.map +1 -0
- package/dist/formats/bnk/CjsBnkFormat.js +245 -0
- package/dist/formats/bnk/CjsBnkFormat.js.map +1 -0
- package/dist/formats/bnk/core/helpers.js +354 -0
- package/dist/formats/bnk/core/helpers.js.map +1 -0
- package/dist/formats/bnk/core/soundbanksInfo.js +246 -0
- package/dist/formats/bnk/core/soundbanksInfo.js.map +1 -0
- package/dist/formats/bnk/index.js +3 -0
- package/dist/formats/bnk/index.js.map +1 -0
- package/dist/formats/cmf/CjsCmfFormat.js +491 -0
- package/dist/formats/cmf/CjsCmfFormat.js.map +1 -0
- package/dist/formats/cmf/core/binary.js +118 -0
- package/dist/formats/cmf/core/binary.js.map +1 -0
- package/dist/formats/cmf/core/buffers.js +233 -0
- package/dist/formats/cmf/core/buffers.js.map +1 -0
- package/dist/formats/cmf/core/constants.js +47 -0
- package/dist/formats/cmf/core/constants.js.map +1 -0
- package/dist/formats/cmf/core/gr2Anim.js +453 -0
- package/dist/formats/cmf/core/gr2Anim.js.map +1 -0
- package/dist/formats/cmf/core/helpers.js +287 -0
- package/dist/formats/cmf/core/helpers.js.map +1 -0
- package/dist/formats/cmf/core/pack.js +276 -0
- package/dist/formats/cmf/core/pack.js.map +1 -0
- package/dist/formats/cmf/core/schema.js +364 -0
- package/dist/formats/cmf/core/schema.js.map +1 -0
- package/dist/formats/cmf/core/shared.js +268 -0
- package/dist/formats/cmf/core/shared.js.map +1 -0
- package/dist/formats/cmf/core/writer.js +517 -0
- package/dist/formats/cmf/core/writer.js.map +1 -0
- package/dist/formats/cmf/index.js +2 -0
- package/dist/formats/cmf/index.js.map +1 -0
- package/dist/formats/dds/CjsDdsFormat.js +187 -0
- package/dist/formats/dds/CjsDdsFormat.js.map +1 -0
- package/dist/formats/dds/core/helpers.js +812 -0
- package/dist/formats/dds/core/helpers.js.map +1 -0
- package/dist/formats/dds/index.js +2 -0
- package/dist/formats/dds/index.js.map +1 -0
- package/dist/formats/fbx/CjsFbxFormat.js +260 -0
- package/dist/formats/fbx/CjsFbxFormat.js.map +1 -0
- package/dist/formats/fbx/core/helpers.js +3901 -0
- package/dist/formats/fbx/core/helpers.js.map +1 -0
- package/dist/formats/fbx/index.js +2 -0
- package/dist/formats/fbx/index.js.map +1 -0
- package/dist/formats/flac/CjsFlacFormat.js +81 -0
- package/dist/formats/flac/CjsFlacFormat.js.map +1 -0
- package/dist/formats/flac/core/helpers.js +295 -0
- package/dist/formats/flac/core/helpers.js.map +1 -0
- package/dist/formats/flac/index.js +2 -0
- package/dist/formats/flac/index.js.map +1 -0
- package/dist/formats/gif/CjsGifFormat.js +81 -0
- package/dist/formats/gif/CjsGifFormat.js.map +1 -0
- package/dist/formats/gif/core/helpers.js +360 -0
- package/dist/formats/gif/core/helpers.js.map +1 -0
- package/dist/formats/gif/index.js +2 -0
- package/dist/formats/gif/index.js.map +1 -0
- package/dist/formats/gltf/CjsGltfFormat.js +284 -0
- package/dist/formats/gltf/CjsGltfFormat.js.map +1 -0
- package/dist/formats/gltf/core/helpers.js +292 -0
- package/dist/formats/gltf/core/helpers.js.map +1 -0
- package/dist/formats/gltf/core/json.js +79 -0
- package/dist/formats/gltf/core/json.js.map +1 -0
- package/dist/formats/gltf/core/parser.js +666 -0
- package/dist/formats/gltf/core/parser.js.map +1 -0
- package/dist/formats/gltf/core/targets.js +163 -0
- package/dist/formats/gltf/core/targets.js.map +1 -0
- package/dist/formats/gltf/index.js +2 -0
- package/dist/formats/gltf/index.js.map +1 -0
- package/dist/formats/index.js +23 -0
- package/dist/formats/index.js.map +1 -0
- package/dist/formats/jpeg/CjsJpegFormat.js +200 -0
- package/dist/formats/jpeg/CjsJpegFormat.js.map +1 -0
- package/dist/formats/jpeg/core/helpers.js +350 -0
- package/dist/formats/jpeg/core/helpers.js.map +1 -0
- package/dist/formats/jpeg/core/jpeg.js +377 -0
- package/dist/formats/jpeg/core/jpeg.js.map +1 -0
- package/dist/formats/jpeg/index.js +2 -0
- package/dist/formats/jpeg/index.js.map +1 -0
- package/dist/formats/mp3/CjsMp3Format.js +186 -0
- package/dist/formats/mp3/CjsMp3Format.js.map +1 -0
- package/dist/formats/mp3/core/helpers.js +338 -0
- package/dist/formats/mp3/core/helpers.js.map +1 -0
- package/dist/formats/mp3/index.js +2 -0
- package/dist/formats/mp3/index.js.map +1 -0
- package/dist/formats/mp4/CjsMp4Format.js +185 -0
- package/dist/formats/mp4/CjsMp4Format.js.map +1 -0
- package/dist/formats/mp4/core/helpers.js +449 -0
- package/dist/formats/mp4/core/helpers.js.map +1 -0
- package/dist/formats/mp4/index.js +2 -0
- package/dist/formats/mp4/index.js.map +1 -0
- package/dist/formats/obj/CjsObjFormat.js +247 -0
- package/dist/formats/obj/CjsObjFormat.js.map +1 -0
- package/dist/formats/obj/core/helpers.js +573 -0
- package/dist/formats/obj/core/helpers.js.map +1 -0
- package/dist/formats/obj/core/json.js +64 -0
- package/dist/formats/obj/core/json.js.map +1 -0
- package/dist/formats/obj/core/parser.js +321 -0
- package/dist/formats/obj/core/parser.js.map +1 -0
- package/dist/formats/obj/index.js +2 -0
- package/dist/formats/obj/index.js.map +1 -0
- package/dist/formats/ogg/CjsOggFormat.js +82 -0
- package/dist/formats/ogg/CjsOggFormat.js.map +1 -0
- package/dist/formats/ogg/core/helpers.js +387 -0
- package/dist/formats/ogg/core/helpers.js.map +1 -0
- package/dist/formats/ogg/core/imdct.js +178 -0
- package/dist/formats/ogg/core/imdct.js.map +1 -0
- package/dist/formats/ogg/core/vorbis.js +999 -0
- package/dist/formats/ogg/core/vorbis.js.map +1 -0
- package/dist/formats/ogg/index.js +2 -0
- package/dist/formats/ogg/index.js.map +1 -0
- package/dist/formats/png/CjsPngFormat.js +189 -0
- package/dist/formats/png/CjsPngFormat.js.map +1 -0
- package/dist/formats/png/core/helpers.js +583 -0
- package/dist/formats/png/core/helpers.js.map +1 -0
- package/dist/formats/png/index.js +2 -0
- package/dist/formats/png/index.js.map +1 -0
- package/dist/formats/red/CjsRedFormat.js +247 -0
- package/dist/formats/red/CjsRedFormat.js.map +1 -0
- package/dist/formats/red/core/CjsRedReader.js +201 -0
- package/dist/formats/red/core/CjsRedReader.js.map +1 -0
- package/dist/formats/red/core/blackDefinitions.js +3 -0
- package/dist/formats/red/core/blackDefinitions.js.map +1 -0
- package/dist/formats/red/core/helpers.js +136 -0
- package/dist/formats/red/core/helpers.js.map +1 -0
- package/dist/formats/red/core/redGraph.js +68 -0
- package/dist/formats/red/core/redGraph.js.map +1 -0
- package/dist/formats/red/core/schema.js +4 -0
- package/dist/formats/red/core/schema.js.map +1 -0
- package/dist/formats/red/index.js +2 -0
- package/dist/formats/red/index.js.map +1 -0
- package/dist/formats/stl/CjsStlFormat.js +304 -0
- package/dist/formats/stl/CjsStlFormat.js.map +1 -0
- package/dist/formats/stl/core/helpers.js +257 -0
- package/dist/formats/stl/core/helpers.js.map +1 -0
- package/dist/formats/stl/core/json.js +51 -0
- package/dist/formats/stl/core/json.js.map +1 -0
- package/dist/formats/stl/core/stl.js +544 -0
- package/dist/formats/stl/core/stl.js.map +1 -0
- package/dist/formats/stl/core/targets.js +163 -0
- package/dist/formats/stl/core/targets.js.map +1 -0
- package/dist/formats/stl/index.js +2 -0
- package/dist/formats/stl/index.js.map +1 -0
- package/dist/formats/tga/CjsTgaFormat.js +186 -0
- package/dist/formats/tga/CjsTgaFormat.js.map +1 -0
- package/dist/formats/tga/core/helpers.js +446 -0
- package/dist/formats/tga/core/helpers.js.map +1 -0
- package/dist/formats/tga/index.js +2 -0
- package/dist/formats/tga/index.js.map +1 -0
- package/dist/formats/wav/CjsWavFormat.js +186 -0
- package/dist/formats/wav/CjsWavFormat.js.map +1 -0
- package/dist/formats/wav/core/helpers.js +328 -0
- package/dist/formats/wav/core/helpers.js.map +1 -0
- package/dist/formats/wav/index.js +2 -0
- package/dist/formats/wav/index.js.map +1 -0
- package/dist/formats/webm/CjsWebmFormat.js +185 -0
- package/dist/formats/webm/CjsWebmFormat.js.map +1 -0
- package/dist/formats/webm/core/helpers.js +537 -0
- package/dist/formats/webm/core/helpers.js.map +1 -0
- package/dist/formats/webm/index.js +2 -0
- package/dist/formats/webm/index.js.map +1 -0
- package/dist/formats/webp/CjsWebpFormat.js +80 -0
- package/dist/formats/webp/CjsWebpFormat.js.map +1 -0
- package/dist/formats/webp/core/helpers.js +214 -0
- package/dist/formats/webp/core/helpers.js.map +1 -0
- package/dist/formats/webp/index.js +2 -0
- package/dist/formats/webp/index.js.map +1 -0
- package/dist/formats/wem/CjsWemFormat.js +197 -0
- package/dist/formats/wem/CjsWemFormat.js.map +1 -0
- package/dist/formats/wem/core/bitStream.js +259 -0
- package/dist/formats/wem/core/bitStream.js.map +1 -0
- package/dist/formats/wem/core/codebookLibrary.js +164 -0
- package/dist/formats/wem/core/codebookLibrary.js.map +1 -0
- package/dist/formats/wem/core/helpers.js +336 -0
- package/dist/formats/wem/core/helpers.js.map +1 -0
- package/dist/formats/wem/core/packedCodebooksAotuv603.js +30 -0
- package/dist/formats/wem/core/packedCodebooksAotuv603.js.map +1 -0
- package/dist/formats/wem/core/wemToOgg.js +485 -0
- package/dist/formats/wem/core/wemToOgg.js.map +1 -0
- package/dist/formats/wem/index.js +2 -0
- package/dist/formats/wem/index.js.map +1 -0
- package/dist/formats/yaml/CjsYamlFormat.js +77 -0
- package/dist/formats/yaml/CjsYamlFormat.js.map +1 -0
- package/dist/formats/yaml/core/CjsYamlReader.js +304 -0
- package/dist/formats/yaml/core/CjsYamlReader.js.map +1 -0
- package/dist/formats/yaml/core/helpers.js +160 -0
- package/dist/formats/yaml/core/helpers.js.map +1 -0
- package/dist/formats/yaml/index.js +2 -0
- package/dist/formats/yaml/index.js.map +1 -0
- package/dist/generated/resources/AudioGeometryResData.js +47 -0
- package/dist/generated/resources/AudioGeometryResData.js.map +1 -0
- package/dist/generated/resources/CmfVertexReader.js +46 -0
- package/dist/generated/resources/CmfVertexReader.js.map +1 -0
- package/dist/generated/resources/GStateBindingCallbackData.js +31 -0
- package/dist/generated/resources/GStateBindingCallbackData.js.map +1 -0
- package/dist/generated/resources/MeshDecalData.js +37 -0
- package/dist/generated/resources/MeshDecalData.js.map +1 -0
- package/dist/generated/resources/MeshDecalLodData.js +34 -0
- package/dist/generated/resources/MeshDecalLodData.js.map +1 -0
- package/dist/generated/resources/Tr2AsyncSave.js +46 -0
- package/dist/generated/resources/Tr2AsyncSave.js.map +1 -0
- package/dist/generated/resources/Tr2CmfContents.js +37 -0
- package/dist/generated/resources/Tr2CmfContents.js.map +1 -0
- package/dist/generated/resources/Tr2GrannyIntersectionResult.js +58 -0
- package/dist/generated/resources/Tr2GrannyIntersectionResult.js.map +1 -0
- package/dist/generated/resources/Tr2LoadPrepareFence.js +37 -0
- package/dist/generated/resources/Tr2LoadPrepareFence.js.map +1 -0
- package/dist/generated/resources/Tr2MaterialArea.js +34 -0
- package/dist/generated/resources/Tr2MaterialArea.js.map +1 -0
- package/dist/generated/resources/Tr2MaterialMesh.js +31 -0
- package/dist/generated/resources/Tr2MaterialMesh.js.map +1 -0
- package/dist/generated/resources/Tr2MaterialRes.js +34 -0
- package/dist/generated/resources/Tr2MaterialRes.js.map +1 -0
- package/dist/generated/resources/Tr2ShaderPermutation.js +43 -0
- package/dist/generated/resources/Tr2ShaderPermutation.js.map +1 -0
- package/dist/generated/resources/Tr2TextureLodManager.js +60 -0
- package/dist/generated/resources/Tr2TextureLodManager.js.map +1 -0
- package/dist/generated/resources/Tr2TextureLodUpdateRequest.js +37 -0
- package/dist/generated/resources/Tr2TextureLodUpdateRequest.js.map +1 -0
- package/dist/generated/resources/Tr2TexturePackChannel.js +37 -0
- package/dist/generated/resources/Tr2TexturePackChannel.js.map +1 -0
- package/dist/generated/resources/Tr2TexturePipeline.js +44 -0
- package/dist/generated/resources/Tr2TexturePipeline.js.map +1 -0
- package/dist/generated/resources/Tr2TexturePipelineParams.js +34 -0
- package/dist/generated/resources/Tr2TexturePipelineParams.js.map +1 -0
- package/dist/generated/resources/Tr2TexturePipelineStepCompress.js +40 -0
- package/dist/generated/resources/Tr2TexturePipelineStepCompress.js.map +1 -0
- package/dist/generated/resources/Tr2TexturePipelineStepLimitSize.js +34 -0
- package/dist/generated/resources/Tr2TexturePipelineStepLimitSize.js.map +1 -0
- package/dist/generated/resources/Tr2TexturePipelineStepLoad.js +31 -0
- package/dist/generated/resources/Tr2TexturePipelineStepLoad.js.map +1 -0
- package/dist/generated/resources/Tr2TexturePipelineStepPack.js +43 -0
- package/dist/generated/resources/Tr2TexturePipelineStepPack.js.map +1 -0
- package/dist/generated/resources/TriGeometryResAreaData.js +59 -0
- package/dist/generated/resources/TriGeometryResAreaData.js.map +1 -0
- package/dist/generated/resources/TriGeometryResJointData.js +38 -0
- package/dist/generated/resources/TriGeometryResJointData.js.map +1 -0
- package/dist/generated/resources/TriGeometryResLodData.js +88 -0
- package/dist/generated/resources/TriGeometryResLodData.js.map +1 -0
- package/dist/generated/resources/TriGeometryResMeshData.js +63 -0
- package/dist/generated/resources/TriGeometryResMeshData.js.map +1 -0
- package/dist/generated/resources/TriGeometryResSkeletonData.js +34 -0
- package/dist/generated/resources/TriGeometryResSkeletonData.js.map +1 -0
- package/dist/generated/resources/TriJointBinding.js +38 -0
- package/dist/generated/resources/TriJointBinding.js.map +1 -0
- package/dist/generated/resources/TriMorphTargetGeometryConstants.js +46 -0
- package/dist/generated/resources/TriMorphTargetGeometryConstants.js.map +1 -0
- package/dist/generated/resources/TriRtGeometryConstants.js +88 -0
- package/dist/generated/resources/TriRtGeometryConstants.js.map +1 -0
- package/dist/generated/resources/enums.js +18 -0
- package/dist/generated/resources/enums.js.map +1 -0
- package/dist/generated/resources/index.js +32 -0
- package/dist/generated/resources/index.js.map +1 -0
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -0
- package/dist/resourcePath.js +18 -0
- package/dist/resourcePath.js.map +1 -0
- package/dist/resourceStates.js +9 -0
- package/dist/resourceStates.js.map +1 -0
- package/dist/resources/Tr2EffectRes.js +71 -0
- package/dist/resources/Tr2EffectRes.js.map +1 -0
- package/dist/resources/Tr2GrannyStateRes.js +44 -0
- package/dist/resources/Tr2GrannyStateRes.js.map +1 -0
- package/dist/resources/Tr2ImageRes.js +114 -0
- package/dist/resources/Tr2ImageRes.js.map +1 -0
- package/dist/resources/Tr2LightProfileRes.js +40 -0
- package/dist/resources/Tr2LightProfileRes.js.map +1 -0
- package/dist/resources/TriGeometryRes.js +216 -0
- package/dist/resources/TriGeometryRes.js.map +1 -0
- package/dist/resources/TriGrannyRes.js +43 -0
- package/dist/resources/TriGrannyRes.js.map +1 -0
- package/dist/resources/TriTextureRes.js +304 -0
- package/dist/resources/TriTextureRes.js.map +1 -0
- package/dist/resources/resourceBoundary.js +47 -0
- package/dist/resources/resourceBoundary.js.map +1 -0
- package/dist/texture/CjsTextureArrayRes.js +406 -0
- package/dist/texture/CjsTextureArrayRes.js.map +1 -0
- package/dist/texture/CjsTextureParameterProxy.js +133 -0
- package/dist/texture/CjsTextureParameterProxy.js.map +1 -0
- package/format-notices/black/LICENSE +21 -0
- package/format-notices/black/NOTICE +47 -0
- package/format-notices/bnk/LICENSE +21 -0
- package/format-notices/bnk/NOTICE +17 -0
- package/format-notices/cmf/LICENSE +21 -0
- package/format-notices/cmf/NOTICE +36 -0
- package/format-notices/dds/LICENSE +21 -0
- package/format-notices/dds/NOTICE +14 -0
- package/format-notices/fbx/LICENSE +21 -0
- package/format-notices/fbx/NOTICE +14 -0
- package/format-notices/flac/LICENSE +21 -0
- package/format-notices/flac/NOTICE +14 -0
- package/format-notices/gif/LICENSE +21 -0
- package/format-notices/gif/NOTICE +14 -0
- package/format-notices/gltf/LICENSE +21 -0
- package/format-notices/gltf/NOTICE +27 -0
- package/format-notices/jpeg/LICENSE +21 -0
- package/format-notices/jpeg/NOTICE +14 -0
- package/format-notices/mp3/LICENSE +21 -0
- package/format-notices/mp3/NOTICE +14 -0
- package/format-notices/mp4/LICENSE +21 -0
- package/format-notices/mp4/NOTICE +14 -0
- package/format-notices/obj/LICENSE +21 -0
- package/format-notices/obj/NOTICE +26 -0
- package/format-notices/ogg/LICENSE +21 -0
- package/format-notices/ogg/NOTICE +28 -0
- package/format-notices/png/LICENSE +21 -0
- package/format-notices/png/NOTICE +14 -0
- package/format-notices/red/LICENSE +21 -0
- package/format-notices/red/NOTICE +31 -0
- package/format-notices/stl/LICENSE +21 -0
- package/format-notices/stl/NOTICE +21 -0
- package/format-notices/tga/LICENSE +21 -0
- package/format-notices/tga/NOTICE +14 -0
- package/format-notices/wav/LICENSE +21 -0
- package/format-notices/wav/NOTICE +14 -0
- package/format-notices/webm/LICENSE +21 -0
- package/format-notices/webm/NOTICE +14 -0
- package/format-notices/webp/LICENSE +21 -0
- package/format-notices/webp/NOTICE +14 -0
- package/format-notices/wem/LICENSE +57 -0
- package/format-notices/wem/NOTICE +33 -0
- package/format-notices/yaml/LICENSE +21 -0
- package/format-notices/yaml/NOTICE +44 -0
- package/package.json +51 -0
- package/resource-lifecycle.md +487 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_name, _init_extra_name, _init_options, _init_extra_options, _init_defaultOption, _init_extra_defaultOption, _init_description, _init_extra_description, _init_type, _init_extra_type;
|
|
6
|
+
|
|
7
|
+
/** Tr2ShaderPermutation (resources) - generated from schema shapeHash baf42e3d.... */
|
|
8
|
+
let _Tr2ShaderPermutation;
|
|
9
|
+
class Tr2ShaderPermutation extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_name, _init_extra_name, _init_options, _init_extra_options, _init_defaultOption, _init_extra_defaultOption, _init_description, _init_extra_description, _init_type, _init_extra_type],
|
|
13
|
+
c: [_Tr2ShaderPermutation, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2ShaderPermutation",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[type, type.string], 16, "name"], [type.list("BlueSharedString"), 0, "options"], [[type, type.uint64], 16, "defaultOption"], [[type, type.string], 16, "description"], [[type, type.uint8], 16, "type"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_type(this);
|
|
22
|
+
}
|
|
23
|
+
/** name (BlueSharedString) */
|
|
24
|
+
name = _init_name(this, "");
|
|
25
|
+
|
|
26
|
+
/** options (std::vector<BlueSharedString>) */
|
|
27
|
+
options = (_init_extra_name(this), _init_options(this, []));
|
|
28
|
+
|
|
29
|
+
/** defaultOption (size_t) */
|
|
30
|
+
defaultOption = (_init_extra_options(this), _init_defaultOption(this, 0));
|
|
31
|
+
|
|
32
|
+
/** description (std::string) */
|
|
33
|
+
description = (_init_extra_defaultOption(this), _init_description(this, ""));
|
|
34
|
+
|
|
35
|
+
/** type (uint8_t) */
|
|
36
|
+
type = (_init_extra_description(this), _init_type(this, 0));
|
|
37
|
+
static {
|
|
38
|
+
_initClass();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { _Tr2ShaderPermutation as Tr2ShaderPermutation };
|
|
43
|
+
//# sourceMappingURL=Tr2ShaderPermutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2ShaderPermutation.js","sources":["../../../../src/generated/resources/Tr2ShaderPermutation.js"],"sourcesContent":["// Source: trinity/trinity/Resources/Tr2EffectRes.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2ShaderPermutation.json.\nimport { type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2ShaderPermutation (resources) - generated from schema shapeHash baf42e3d.... */\n@type.define({ className: \"Tr2ShaderPermutation\", family: \"resources\" })\nexport class Tr2ShaderPermutation extends CjsModel\n{\n\n /** name (BlueSharedString) */\n @type.string\n name = \"\";\n\n /** options (std::vector<BlueSharedString>) */\n @type.list(\"BlueSharedString\")\n options = [];\n\n /** defaultOption (size_t) */\n @type.uint64\n defaultOption = 0;\n\n /** description (std::string) */\n @type.string\n description = \"\";\n\n /** type (uint8_t) */\n @type.uint8\n type = 0;\n\n}\n"],"names":["_Tr2ShaderPermutation","Tr2ShaderPermutation","CjsModel","e","_init_name","_init_extra_name","_init_options","_init_extra_options","_init_defaultOption","_init_extra_defaultOption","_init_description","_init_extra_description","_init_type","_init_extra_type","c","_initClass","_applyDecs","type","define","className","family","string","list","uint64","uint8","constructor","args","name","options","defaultOption","description"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,oBAAA,SAC0CC,QAAQ,CAClD;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,GAAAC,UAAA,EAAAC,gBAAA,EAAAC,aAAA,EAAAC,mBAAA,EAAAC,mBAAA,EAAAC,yBAAA,EAAAC,iBAAA,EAAAC,uBAAA,EAAAC,UAAA,EAAAC,gBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAd,qBAAA,EAAAe,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MA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rollupPluginBabelHelpers.js';
|
|
2
|
+
import { type, carbon, impl } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initProto, _initClass, _init_gpuMemoryUsed, _init_extra_gpuMemoryUsed, _init_gpuMemoryAllocated, _init_extra_gpuMemoryAllocated, _init_cpuMemoryUsed, _init_extra_cpuMemoryUsed, _init_cpuMemoryAllocated, _init_extra_cpuMemoryAllocated, _init_gpuUploadSize, _init_extra_gpuUploadSize, _init_gpuMemorySize, _init_extra_gpuMemorySize, _init_cpuMemorySize, _init_extra_cpuMemorySize, _init_currentStats, _init_extra_currentStats, _init_lowDetailVtaFiles, _init_extra_lowDetailVtaFiles;
|
|
6
|
+
|
|
7
|
+
/** Tr2TextureLodManager (resources) - generated from schema shapeHash 8ff60d4f.... */
|
|
8
|
+
let _Tr2TextureLodManager;
|
|
9
|
+
class Tr2TextureLodManager extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_gpuMemoryUsed, _init_extra_gpuMemoryUsed, _init_gpuMemoryAllocated, _init_extra_gpuMemoryAllocated, _init_cpuMemoryUsed, _init_extra_cpuMemoryUsed, _init_cpuMemoryAllocated, _init_extra_cpuMemoryAllocated, _init_gpuUploadSize, _init_extra_gpuUploadSize, _init_gpuMemorySize, _init_extra_gpuMemorySize, _init_cpuMemorySize, _init_extra_cpuMemorySize, _init_currentStats, _init_extra_currentStats, _init_lowDetailVtaFiles, _init_extra_lowDetailVtaFiles, _initProto],
|
|
13
|
+
c: [_Tr2TextureLodManager, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TextureLodManager",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[type, type.uint64], 16, "gpuMemoryUsed"], [[type, type.uint64], 16, "gpuMemoryAllocated"], [[type, type.uint64], 16, "cpuMemoryUsed"], [[type, type.uint64], 16, "cpuMemoryAllocated"], [[type, type.uint64], 16, "gpuUploadSize"], [[type, type.unknown], 16, "gpuMemorySize"], [[type, type.unknown], 16, "cpuMemorySize"], [type.rawStruct("Stats"), 0, "currentStats"], [[type, type.boolean], 16, "lowDetailVtaFiles"], [[carbon, carbon.method, impl, impl.notImplemented], 18, "GetManagedTextures"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_lowDetailVtaFiles(this);
|
|
22
|
+
}
|
|
23
|
+
/** gpuMemoryUsed (size_t) */
|
|
24
|
+
gpuMemoryUsed = (_initProto(this), _init_gpuMemoryUsed(this, 0));
|
|
25
|
+
|
|
26
|
+
/** gpuMemoryAllocated (size_t) */
|
|
27
|
+
gpuMemoryAllocated = (_init_extra_gpuMemoryUsed(this), _init_gpuMemoryAllocated(this, 0));
|
|
28
|
+
|
|
29
|
+
/** cpuMemoryUsed (size_t) */
|
|
30
|
+
cpuMemoryUsed = (_init_extra_gpuMemoryAllocated(this), _init_cpuMemoryUsed(this, 0));
|
|
31
|
+
|
|
32
|
+
/** cpuMemoryAllocated (size_t) */
|
|
33
|
+
cpuMemoryAllocated = (_init_extra_cpuMemoryUsed(this), _init_cpuMemoryAllocated(this, 0));
|
|
34
|
+
|
|
35
|
+
/** gpuUploadSize (size_t) */
|
|
36
|
+
gpuUploadSize = (_init_extra_cpuMemoryAllocated(this), _init_gpuUploadSize(this, 0));
|
|
37
|
+
|
|
38
|
+
/** m_gpuMemorySize (CcpAtomic<uint32_t>) */
|
|
39
|
+
gpuMemorySize = (_init_extra_gpuUploadSize(this), _init_gpuMemorySize(this, 0));
|
|
40
|
+
|
|
41
|
+
/** m_cpuMemorySize (CcpAtomic<uint32_t>) */
|
|
42
|
+
cpuMemorySize = (_init_extra_gpuMemorySize(this), _init_cpuMemorySize(this, 0));
|
|
43
|
+
|
|
44
|
+
/** m_currentStats (Stats) */
|
|
45
|
+
currentStats = (_init_extra_cpuMemorySize(this), _init_currentStats(this, null));
|
|
46
|
+
|
|
47
|
+
/** m_lowDetailVtaFiles (bool) */
|
|
48
|
+
lowDetailVtaFiles = (_init_extra_currentStats(this), _init_lowDetailVtaFiles(this, false));
|
|
49
|
+
|
|
50
|
+
/** Carbon method GetManagedTextures (MAP_METHOD_AND_WRAP). */
|
|
51
|
+
GetManagedTextures(...args) {
|
|
52
|
+
throw new Error("Tr2TextureLodManager.GetManagedTextures is not implemented in CarbonEngineJS.");
|
|
53
|
+
}
|
|
54
|
+
static {
|
|
55
|
+
_initClass();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export { _Tr2TextureLodManager as Tr2TextureLodManager };
|
|
60
|
+
//# sourceMappingURL=Tr2TextureLodManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TextureLodManager.js","sources":["../../../../src/generated/resources/Tr2TextureLodManager.js"],"sourcesContent":["// Source: trinity/trinity/Resources/Tr2TextureLodManager.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TextureLodManager.json.\nimport { carbon, impl, type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TextureLodManager (resources) - generated from schema shapeHash 8ff60d4f.... */\n@type.define({ className: \"Tr2TextureLodManager\", family: \"resources\" })\nexport class Tr2TextureLodManager extends CjsModel\n{\n\n /** gpuMemoryUsed (size_t) */\n @type.uint64\n gpuMemoryUsed = 0;\n\n /** gpuMemoryAllocated (size_t) */\n @type.uint64\n gpuMemoryAllocated = 0;\n\n /** cpuMemoryUsed (size_t) */\n @type.uint64\n cpuMemoryUsed = 0;\n\n /** cpuMemoryAllocated (size_t) */\n @type.uint64\n cpuMemoryAllocated = 0;\n\n /** gpuUploadSize (size_t) */\n @type.uint64\n gpuUploadSize = 0;\n\n /** m_gpuMemorySize (CcpAtomic<uint32_t>) */\n @type.unknown\n gpuMemorySize = 0;\n\n /** m_cpuMemorySize (CcpAtomic<uint32_t>) */\n @type.unknown\n cpuMemorySize = 0;\n\n /** m_currentStats (Stats) */\n @type.rawStruct(\"Stats\")\n currentStats = null;\n\n /** m_lowDetailVtaFiles (bool) */\n @type.boolean\n lowDetailVtaFiles = false;\n\n /** Carbon method GetManagedTextures (MAP_METHOD_AND_WRAP). */\n @carbon.method\n @impl.notImplemented\n GetManagedTextures(...args)\n {\n throw new Error(\"Tr2TextureLodManager.GetManagedTextures is not implemented in CarbonEngineJS.\");\n }\n\n}\n"],"names":["_Tr2TextureLodManager","Tr2TextureLodManager","CjsModel","e","_init_gpuMemoryUsed","_init_extra_gpuMemoryUsed","_init_gpuMemoryAllocated","_init_extra_gpuMemoryAllocated","_init_cpuMemoryUsed","_init_extra_cpuMemoryUsed","_init_cpuMemoryAllocated","_init_extra_cpuMemoryAllocated","_init_gpuUploadSize","_init_extra_gpuUploadSize","_init_gpuMemorySize","_init_extra_gpuMemorySize","_init_cpuMemorySize","_init_extra_cpuMemorySize","_init_currentStats","_init_extra_currentStats","_init_lowDetailVtaFiles","_init_extra_lowDetailVtaFiles","_initProto","c","_initClass","_applyDecs","type","define","className","family","uint64","unknown","rawStruct","boolean","carbon","method","impl","notImplemented","constructor","args","gpuMemoryUsed","gpuMemoryAllocated","cpuMemoryUsed","cpuMemoryAllocated","gpuUploadSize","gpuMemorySize","cpuMemorySize","currentStats","lowDetailVtaFiles","GetManagedTextures","Error"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,oBAAA,SAC0CC,QAAQ,CAClD;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,GAAAC,mBAAA,EAAAC,yBAAA,EAAAC,wBAAA,EAAAC,8BAAA,EAAAC,mBAAA,EAAAC,yBAAA,EAAAC,wBAAA,EAAAC,8BAAA,EAAAC,mBAAA,EAAAC,yBAAA,EAAAC,mBAAA,EAAAC,yBAAA,EAAAC,mBAAA,EAAAC,yBAAA,EAAAC,kBAAA,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EAmB,EAAAA,aAAa,IAAAlB,UAAA,CAAA,IAAA,CAAA,EAAAlB,mBAAA,OAAG,CAAC,CAAA;;AAEjB;AAEAqC,EAAAA,kBAAkB,IAAApC,yBAAA,CAAA,IAAA,CAAA,EAAAC,wBAAA,OAAG,CAAC,CAAA;;AAEtB;AAEAoC,EAAAA,aAAa,IAAAnC,8BAAA,CAAA,IAAA,CAAA,EAAAC,mBAAA,OAAG,CAAC,CAAA;;AAEjB;AAEAmC,EAAAA,kBAAkB,IAAAlC,yBAAA,CAAA,IAAA,CAAA,EAAAC,wBAAA,OAAG,CAAC,CAAA;;AAEtB;AAEAkC,EAAAA,aAAa,IAAAjC,8BAAA,CAAA,IAAA,CAAA,EAAAC,mBAAA,OAAG,CAAC,CAAA;;AAEjB;AAEAiC,EAAAA,aAAa,IAAAhC,yBAAA,CAAA,IAAA,CAAA,EAAAC,mBAAA,OAAG,CAAC,CAAA;;AAEjB;AAEAgC,EAAAA,aAAa,IAAA/B,yBAAA,CAAA,IAAA,CAAA,EAAAC,mBAAA,OAAG,CAAC,CAAA;;AAEjB;AAEA+B,EAAAA,YAAY,IAAA9B,yBAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA,OAAG,IAAI,CAAA;;AAEnB;AAEA8B,EAAAA,iBAAiB,IAAA7B,wBAAA,CAAA,IAAA,CAAA,EAAAC,uBAAA,OAAG,KAAK,CAAA;;AAEzB;EAGA6B,kBAAkBA,CAAC,GAAGV,IAAI,EAC1B;AACE,IAAA,MAAM,IAAIW,KAAK,CAAC,+EAA+E,CAAC;AAClG,EAAA;AAAC,EAAA;IAAA1B,UAAA,EAAA;AAAA;AAEH;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_frameNumber, _init_extra_frameNumber, _init_mipChange, _init_extra_mipChange, _init_cachedInRam, _init_extra_cachedInRam;
|
|
6
|
+
|
|
7
|
+
/** Tr2TextureLodUpdateRequest (resources) - generated from schema shapeHash 7cfa47a1.... */
|
|
8
|
+
let _Tr2TextureLodUpdateR;
|
|
9
|
+
class Tr2TextureLodUpdateRequest extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_frameNumber, _init_extra_frameNumber, _init_mipChange, _init_extra_mipChange, _init_cachedInRam, _init_extra_cachedInRam],
|
|
13
|
+
c: [_Tr2TextureLodUpdateR, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TextureLodUpdateRequest",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[type, type.uint64], 16, "frameNumber"], [[type, type.int32], 16, "mipChange"], [[type, type.boolean], 16, "cachedInRam"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_cachedInRam(this);
|
|
22
|
+
}
|
|
23
|
+
/** frameNumber (uint64_t) */
|
|
24
|
+
frameNumber = _init_frameNumber(this, 0);
|
|
25
|
+
|
|
26
|
+
/** mipChange (int32_t) */
|
|
27
|
+
mipChange = (_init_extra_frameNumber(this), _init_mipChange(this, 0));
|
|
28
|
+
|
|
29
|
+
/** cachedInRam (bool) */
|
|
30
|
+
cachedInRam = (_init_extra_mipChange(this), _init_cachedInRam(this, false));
|
|
31
|
+
static {
|
|
32
|
+
_initClass();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { _Tr2TextureLodUpdateR as Tr2TextureLodUpdateRequest };
|
|
37
|
+
//# sourceMappingURL=Tr2TextureLodUpdateRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TextureLodUpdateRequest.js","sources":["../../../../src/generated/resources/Tr2TextureLodUpdateRequest.js"],"sourcesContent":["// Source: trinity/trinity/Resources/Tr2TextureLodManager.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TextureLodUpdateRequest.json.\nimport { type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TextureLodUpdateRequest (resources) - generated from schema shapeHash 7cfa47a1.... */\n@type.define({ className: \"Tr2TextureLodUpdateRequest\", family: \"resources\" })\nexport class Tr2TextureLodUpdateRequest extends CjsModel\n{\n\n /** frameNumber (uint64_t) */\n @type.uint64\n frameNumber = 0;\n\n /** mipChange (int32_t) */\n @type.int32\n mipChange = 0;\n\n /** cachedInRam (bool) */\n @type.boolean\n cachedInRam = false;\n\n}\n"],"names":["_Tr2TextureLodUpdateR","Tr2TextureLodUpdateRequest","CjsModel","e","_init_frameNumber","_init_extra_frameNumber","_init_mipChange","_init_extra_mipChange","_init_cachedInRam","_init_extra_cachedInRam","c","_initClass","_applyDecs","type","define","className","family","uint64","int32","boolean","constructor","args","frameNumber","mipChange","cachedInRam"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,0BAAA,SACgDC,QAAQ,CACxD;AAAA,EAAA;AAAA,IAAA,CAAA;MAAAC,CAAA,EAAA,CAAAC,iBAAA,EAAAC,uBAAA,EAAAC,eAAA,EAAAC,qBAAA,EAAAC,iBAAA,EAAAC,uBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAV,qBAAA,EAAAW,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,4BAA4B;AAAEC,MAAAA,MAAM,EAAE;KAAa,CAAC,MAK3EH,IAAI,EAAJA,IAAI,CAACI,MAAM,yBAIXJ,IAAI,EAAJA,IAAI,CAACK,KAAK,uBAIVL,IAAI,EAAJA,IAAI,CAACM,OAAO,mCAZiCjB,QAAQ,CAAA;AAAA;AAAAkB,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAZ,uBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAGtD;EAEAa,WAAW,GAAAlB,iBAAA,CAAA,IAAA,EAAG,CAAC,CAAA;;AAEf;AAEAmB,EAAAA,SAAS,IAAAlB,uBAAA,CAAA,IAAA,CAAA,EAAAC,eAAA,OAAG,CAAC,CAAA;;AAEb;AAEAkB,EAAAA,WAAW,IAAAjB,qBAAA,CAAA,IAAA,CAAA,EAAAC,iBAAA,OAAG,KAAK,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAEtB;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { io, type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_channel, _init_extra_channel, _init_fill, _init_extra_fill, _init_path, _init_extra_path;
|
|
6
|
+
|
|
7
|
+
/** Tr2TexturePackChannel (resources) - generated from schema shapeHash 3ea887a3.... */
|
|
8
|
+
let _Tr2TexturePackChanne;
|
|
9
|
+
class Tr2TexturePackChannel extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_channel, _init_extra_channel, _init_fill, _init_extra_fill, _init_path, _init_extra_path],
|
|
13
|
+
c: [_Tr2TexturePackChanne, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TexturePackChannel",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[io, io.persist, type, type.uint8], 16, "channel"], [[io, io.persist, type, type.uint8], 16, "fill"], [[io, io.persist, type, type.string], 16, "path"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_path(this);
|
|
22
|
+
}
|
|
23
|
+
/** m_channel (uint8_t) [READWRITE, PERSIST, ENUM] */
|
|
24
|
+
channel = _init_channel(this, 0);
|
|
25
|
+
|
|
26
|
+
/** m_fill (uint8_t) [READWRITE, PERSIST] */
|
|
27
|
+
fill = (_init_extra_channel(this), _init_fill(this, 0));
|
|
28
|
+
|
|
29
|
+
/** m_path (std::wstring) [READWRITE, PERSIST] */
|
|
30
|
+
path = (_init_extra_fill(this), _init_path(this, ""));
|
|
31
|
+
static {
|
|
32
|
+
_initClass();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { _Tr2TexturePackChanne as Tr2TexturePackChannel };
|
|
37
|
+
//# sourceMappingURL=Tr2TexturePackChannel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TexturePackChannel.js","sources":["../../../../src/generated/resources/Tr2TexturePackChannel.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TexturePipeline/Tr2TexturePipelineStepPack.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TexturePackChannel.json.\nimport { io, type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TexturePackChannel (resources) - generated from schema shapeHash 3ea887a3.... */\n@type.define({ className: \"Tr2TexturePackChannel\", family: \"resources\" })\nexport class Tr2TexturePackChannel extends CjsModel\n{\n\n /** m_channel (uint8_t) [READWRITE, PERSIST, ENUM] */\n @io.persist\n @type.uint8\n channel = 0;\n\n /** m_fill (uint8_t) [READWRITE, PERSIST] */\n @io.persist\n @type.uint8\n fill = 0;\n\n /** m_path (std::wstring) [READWRITE, PERSIST] */\n @io.persist\n @type.string\n path = \"\";\n\n}\n"],"names":["_Tr2TexturePackChanne","Tr2TexturePackChannel","CjsModel","e","_init_channel","_init_extra_channel","_init_fill","_init_extra_fill","_init_path","_init_extra_path","c","_initClass","_applyDecs","type","define","className","family","io","persist","uint8","string","constructor","args","channel","fill","path"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,qBAAA,SAC2CC,QAAQ,CACnD;AAAA,EAAA;AAAA,IAAA,CAAA;MAAAC,CAAA,EAAA,CAAAC,aAAA,EAAAC,mBAAA,EAAAC,UAAA,EAAAC,gBAAA,EAAAC,UAAA,EAAAC,gBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAV,qBAAA,EAAAW,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,uBAAuB;AAAEC,MAAAA,MAAM,EAAE;AAAY,KAAC,CAAC,CAAA,EAAA,CAAA,CAAA,CAKtEC,EAAE,EAAFA,EAAE,CAACC,OAAO,EACVL,IAAI,EAAJA,IAAI,CAACM,KAAK,qBAIVF,EAAE,EAAFA,EAAE,CAACC,OAAO,EACVL,IAAI,EAAJA,IAAI,CAACM,KAAK,CAAA,EAAA,EAAA,EAAA,MAAA,CAAA,EAAA,CAAA,CAIVF,EAAE,EAAFA,EAAE,CAACC,OAAO,EACVL,IAAI,EAAJA,IAAI,CAACO,MAAM,4BAf6BlB,QAAQ,CAAA;AAAA;AAAAmB,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAb,gBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAGjD;EAGAc,OAAO,GAAAnB,aAAA,CAAA,IAAA,EAAG,CAAC,CAAA;;AAEX;AAGAoB,EAAAA,IAAI,IAAAnB,mBAAA,CAAA,IAAA,CAAA,EAAAC,UAAA,OAAG,CAAC,CAAA;;AAER;AAGAmB,EAAAA,IAAI,IAAAlB,gBAAA,CAAA,IAAA,CAAA,EAAAC,UAAA,OAAG,EAAE,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAEZ;;;;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { io, type, carbon, impl } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initProto, _initClass, _init_pipelineType, _init_extra_pipelineType, _init_steps, _init_extra_steps;
|
|
6
|
+
|
|
7
|
+
/** Tr2TexturePipeline (resources) - generated from schema shapeHash b997ef3d.... */
|
|
8
|
+
let _Tr2TexturePipeline;
|
|
9
|
+
class Tr2TexturePipeline extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_pipelineType, _init_extra_pipelineType, _init_steps, _init_extra_steps, _initProto],
|
|
13
|
+
c: [_Tr2TexturePipeline, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TexturePipeline",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[io, io.persist, type, type.string], 16, "pipelineType"], [[io, io.persist, void 0, type.list("ITr2TexturePipelineStep")], 16, "steps"], [[carbon, carbon.method, impl, impl.notImplemented], 18, "Execute"], [[carbon, carbon.method, impl, impl.notImplemented], 18, "GetResourceDependencies"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_steps(this);
|
|
22
|
+
}
|
|
23
|
+
/** m_pipelineType (std::string) [READWRITE, PERSIST] */
|
|
24
|
+
pipelineType = (_initProto(this), _init_pipelineType(this, ""));
|
|
25
|
+
|
|
26
|
+
/** m_steps (PITr2TexturePipelineStepVector) [READ, PERSIST] */
|
|
27
|
+
steps = (_init_extra_pipelineType(this), _init_steps(this, []));
|
|
28
|
+
|
|
29
|
+
/** Carbon method Execute -> ExecuteFromScript (MAP_METHOD_AND_WRAP_OPTIONAL_ARGS). */
|
|
30
|
+
Execute(...args) {
|
|
31
|
+
throw new Error("Tr2TexturePipeline.Execute is not implemented in CarbonEngineJS.");
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** Carbon method GetResourceDependencies -> GetResourceDependenciesFromScript (MAP_METHOD_AND_WRAP). */
|
|
35
|
+
GetResourceDependencies(...args) {
|
|
36
|
+
throw new Error("Tr2TexturePipeline.GetResourceDependencies is not implemented in CarbonEngineJS.");
|
|
37
|
+
}
|
|
38
|
+
static {
|
|
39
|
+
_initClass();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { _Tr2TexturePipeline as Tr2TexturePipeline };
|
|
44
|
+
//# sourceMappingURL=Tr2TexturePipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TexturePipeline.js","sources":["../../../../src/generated/resources/Tr2TexturePipeline.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TexturePipeline/Tr2TexturePipeline.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TexturePipeline.json.\nimport { carbon, impl, io, type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TexturePipeline (resources) - generated from schema shapeHash b997ef3d.... */\n@type.define({ className: \"Tr2TexturePipeline\", family: \"resources\" })\nexport class Tr2TexturePipeline extends CjsModel\n{\n\n /** m_pipelineType (std::string) [READWRITE, PERSIST] */\n @io.persist\n @type.string\n pipelineType = \"\";\n\n /** m_steps (PITr2TexturePipelineStepVector) [READ, PERSIST] */\n @io.persist\n @type.list(\"ITr2TexturePipelineStep\")\n steps = [];\n\n /** Carbon method Execute -> ExecuteFromScript (MAP_METHOD_AND_WRAP_OPTIONAL_ARGS). */\n @carbon.method\n @impl.notImplemented\n Execute(...args)\n {\n throw new Error(\"Tr2TexturePipeline.Execute is not implemented in CarbonEngineJS.\");\n }\n\n /** Carbon method GetResourceDependencies -> GetResourceDependenciesFromScript (MAP_METHOD_AND_WRAP). */\n @carbon.method\n @impl.notImplemented\n GetResourceDependencies(...args)\n {\n throw new Error(\"Tr2TexturePipeline.GetResourceDependencies is not implemented in CarbonEngineJS.\");\n }\n\n}\n"],"names":["_Tr2TexturePipeline","Tr2TexturePipeline","CjsModel","e","_init_pipelineType","_init_extra_pipelineType","_init_steps","_init_extra_steps","_initProto","c","_initClass","_applyDecs","type","define","className","family","io","persist","string","list","carbon","method","impl","notImplemented","constructor","args","pipelineType","steps","Execute","Error","GetResourceDependencies"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,kBAAA,SACwCC,QAAQ,CAChD;AAAA,EAAA;AAAA,IAAA,CAAA;MAAAC,CAAA,EAAA,CAAAC,kBAAA,EAAAC,wBAAA,EAAAC,WAAA,EAAAC,iBAAA,EAAAC,UAAA,CAAA;MAAAC,CAAA,EAAA,CAAAT,mBAAA,EAAAU,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,oBAAoB;AAAEC,MAAAA,MAAM,EAAE;KAAa,CAAC,MAKnEC,EAAE,EAAFA,EAAE,CAACC,OAAO,EACVL,IAAI,EAAJA,IAAI,CAACM,MAAM,CAAA,EAAA,EAAA,EAAA,cAAA,CAAA,EAAA,CAAA,CAIXF,EAAE,EAAFA,EAAE,CAACC,OAAO,EAAA,MAAA,EACVL,IAAI,CAACO,IAAI,CAAC,yBAAyB,CAAC,CAAA,EAAA,EAAA,EAAA,OAAA,CAAA,EAAA,CAAA,CAIpCC,MAAM,EAANA,MAAM,CAACC,MAAM,EACbC,IAAI,EAAJA,IAAI,CAACC,cAAc,CAAA,EAAA,EAAA,EAAA,SAAA,CAAA,EAAA,CAAA,CAOnBH,MAAM,EAANA,MAAM,CAACC,MAAM,EACbC,IAAI,EAAJA,IAAI,CAACC,cAAc,CAAA,EAAA,EAAA,EAAA,yBAAA,CAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAvBkBrB,QAAQ,CAAA;AAAA;AAAAsB,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAlB,iBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAG9C;AAGAmB,EAAAA,YAAY,IAAAlB,UAAA,CAAA,IAAA,CAAA,EAAAJ,kBAAA,OAAG,EAAE,CAAA;;AAEjB;AAGAuB,EAAAA,KAAK,IAAAtB,wBAAA,CAAA,IAAA,CAAA,EAAAC,WAAA,OAAG,EAAE,CAAA;;AAEV;EAGAsB,OAAOA,CAAC,GAAGH,IAAI,EACf;AACE,IAAA,MAAM,IAAII,KAAK,CAAC,kEAAkE,CAAC;AACrF,EAAA;;AAEA;EAGAC,uBAAuBA,CAAC,GAAGL,IAAI,EAC/B;AACE,IAAA,MAAM,IAAII,KAAK,CAAC,kFAAkF,CAAC;AACrG,EAAA;AAAC,EAAA;IAAAnB,UAAA,EAAA;AAAA;AAEH;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_maxWidth, _init_extra_maxWidth, _init_maxHeight, _init_extra_maxHeight;
|
|
6
|
+
|
|
7
|
+
/** Tr2TexturePipelineParams (resources) - generated from schema shapeHash 36df8e41.... */
|
|
8
|
+
let _Tr2TexturePipelinePa;
|
|
9
|
+
class Tr2TexturePipelineParams extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_maxWidth, _init_extra_maxWidth, _init_maxHeight, _init_extra_maxHeight],
|
|
13
|
+
c: [_Tr2TexturePipelinePa, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TexturePipelineParams",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[type, type.uint32], 16, "maxWidth"], [[type, type.uint32], 16, "maxHeight"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_maxHeight(this);
|
|
22
|
+
}
|
|
23
|
+
/** maxWidth (uint32_t) */
|
|
24
|
+
maxWidth = _init_maxWidth(this, 0);
|
|
25
|
+
|
|
26
|
+
/** maxHeight (uint32_t) */
|
|
27
|
+
maxHeight = (_init_extra_maxWidth(this), _init_maxHeight(this, 0));
|
|
28
|
+
static {
|
|
29
|
+
_initClass();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { _Tr2TexturePipelinePa as Tr2TexturePipelineParams };
|
|
34
|
+
//# sourceMappingURL=Tr2TexturePipelineParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TexturePipelineParams.js","sources":["../../../../src/generated/resources/Tr2TexturePipelineParams.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TexturePipeline/ITr2TexturePipelineStep.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TexturePipelineParams.json.\nimport { type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TexturePipelineParams (resources) - generated from schema shapeHash 36df8e41.... */\n@type.define({ className: \"Tr2TexturePipelineParams\", family: \"resources\" })\nexport class Tr2TexturePipelineParams extends CjsModel\n{\n\n /** maxWidth (uint32_t) */\n @type.uint32\n maxWidth = 0;\n\n /** maxHeight (uint32_t) */\n @type.uint32\n maxHeight = 0;\n\n}\n"],"names":["_Tr2TexturePipelinePa","Tr2TexturePipelineParams","CjsModel","e","_init_maxWidth","_init_extra_maxWidth","_init_maxHeight","_init_extra_maxHeight","c","_initClass","_applyDecs","type","define","className","family","uint32","constructor","args","maxWidth","maxHeight"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,wBAAA,SAC8CC,QAAQ,CACtD;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,GAAAC,cAAA,EAAAC,oBAAA,EAAAC,eAAA,EAAAC,qBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAR,qBAAA,EAAAS,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,0BAA0B;AAAEC,MAAAA,MAAM,EAAE;AAAY,KAAC,CAAC,CAAA,EAAA,CAAA,CAAA,CAKzEH,IAAI,EAAJA,IAAI,CAACI,MAAM,CAAA,EAAA,EAAA,EAAA,UAAA,CAAA,EAAA,CAAA,CAIXJ,IAAI,EAAJA,IAAI,CAACI,MAAM,iCARgCb,QAAQ,CAAA;AAAA;AAAAc,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAV,qBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAGpD;EAEAW,QAAQ,GAAAd,cAAA,CAAA,IAAA,EAAG,CAAC,CAAA;;AAEZ;AAEAe,EAAAA,SAAS,IAAAd,oBAAA,CAAA,IAAA,CAAA,EAAAC,eAAA,OAAG,CAAC,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAEhB;;;;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { io, type, schema } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_format, _init_extra_format, _init_b, _init_extra_b, _init_g, _init_extra_g, _init_r, _init_extra_r;
|
|
6
|
+
|
|
7
|
+
/** Tr2TexturePipelineStepCompress (resources) - generated from schema shapeHash 4d367f1c.... */
|
|
8
|
+
let _Tr2TexturePipelineSt;
|
|
9
|
+
class Tr2TexturePipelineStepCompress extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_format, _init_extra_format, _init_b, _init_extra_b, _init_g, _init_extra_g, _init_r, _init_extra_r],
|
|
13
|
+
c: [_Tr2TexturePipelineSt, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TexturePipelineStepCompress",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[io, io.persist, type, type.int32, void 0, schema.enum("PixelFormat")], 16, "format"], [[io, io.persist, type, type.float32], 16, "b"], [[io, io.persist, type, type.float32], 16, "g"], [[io, io.persist, type, type.float32], 16, "r"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_r(this);
|
|
22
|
+
}
|
|
23
|
+
/** m_format (Tr2RenderContextEnum::PixelFormat - enum PixelFormat) [READWRITE, PERSIST, ENUM] */
|
|
24
|
+
format = _init_format(this, 0);
|
|
25
|
+
|
|
26
|
+
/** m_bWeight (float) [READWRITE, PERSIST] */
|
|
27
|
+
b = (_init_extra_format(this), _init_b(this, 1));
|
|
28
|
+
|
|
29
|
+
/** m_gWeight (float) [READWRITE, PERSIST] */
|
|
30
|
+
g = (_init_extra_b(this), _init_g(this, 1));
|
|
31
|
+
|
|
32
|
+
/** m_rWeight (float) [READWRITE, PERSIST] */
|
|
33
|
+
r = (_init_extra_g(this), _init_r(this, 1));
|
|
34
|
+
static {
|
|
35
|
+
_initClass();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { _Tr2TexturePipelineSt as Tr2TexturePipelineStepCompress };
|
|
40
|
+
//# sourceMappingURL=Tr2TexturePipelineStepCompress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TexturePipelineStepCompress.js","sources":["../../../../src/generated/resources/Tr2TexturePipelineStepCompress.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TexturePipeline/Tr2TexturePipelineStepCompress.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TexturePipelineStepCompress.json.\nimport { io, schema, type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TexturePipelineStepCompress (resources) - generated from schema shapeHash 4d367f1c.... */\n@type.define({ className: \"Tr2TexturePipelineStepCompress\", family: \"resources\" })\nexport class Tr2TexturePipelineStepCompress extends CjsModel\n{\n\n /** m_format (Tr2RenderContextEnum::PixelFormat - enum PixelFormat) [READWRITE, PERSIST, ENUM] */\n @io.persist\n @type.int32\n @schema.enum(\"PixelFormat\")\n format = 0;\n\n /** m_bWeight (float) [READWRITE, PERSIST] */\n @io.persist\n @type.float32\n b = 1;\n\n /** m_gWeight (float) [READWRITE, PERSIST] */\n @io.persist\n @type.float32\n g = 1;\n\n /** m_rWeight (float) [READWRITE, PERSIST] */\n @io.persist\n @type.float32\n r = 1;\n\n}\n"],"names":["_Tr2TexturePipelineSt","Tr2TexturePipelineStepCompress","CjsModel","e","_init_format","_init_extra_format","_init_b","_init_extra_b","_init_g","_init_extra_g","_init_r","_init_extra_r","c","_initClass","_applyDecs","type","define","className","family","io","persist","int32","schema","enum","float32","constructor","args","format","b","g","r"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,8BAAA,SACoDC,QAAQ,CAC5D;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,EAAA,CAAAC,YAAA,EAAAC,kBAAA,EAAAC,OAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,aAAA,CAAA;MAAAC,CAAA,EAAA,CAAAZ,qBAAA,EAAAa,UAAA;AAAA,K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AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAER;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { io, type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_maxHeight, _init_extra_maxHeight, _init_maxWidth, _init_extra_maxWidth;
|
|
6
|
+
|
|
7
|
+
/** Tr2TexturePipelineStepLimitSize (resources) - generated from schema shapeHash 9e97efed.... */
|
|
8
|
+
let _Tr2TexturePipelineSt;
|
|
9
|
+
class Tr2TexturePipelineStepLimitSize extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_maxHeight, _init_extra_maxHeight, _init_maxWidth, _init_extra_maxWidth],
|
|
13
|
+
c: [_Tr2TexturePipelineSt, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TexturePipelineStepLimitSize",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[io, io.persist, type, type.uint32], 16, "maxHeight"], [[io, io.persist, type, type.uint32], 16, "maxWidth"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_maxWidth(this);
|
|
22
|
+
}
|
|
23
|
+
/** m_maxHeight (uint32_t) [READWRITE, PERSIST] */
|
|
24
|
+
maxHeight = _init_maxHeight(this, 0);
|
|
25
|
+
|
|
26
|
+
/** m_maxWidth (uint32_t) [READWRITE, PERSIST] */
|
|
27
|
+
maxWidth = (_init_extra_maxHeight(this), _init_maxWidth(this, 0));
|
|
28
|
+
static {
|
|
29
|
+
_initClass();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { _Tr2TexturePipelineSt as Tr2TexturePipelineStepLimitSize };
|
|
34
|
+
//# sourceMappingURL=Tr2TexturePipelineStepLimitSize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TexturePipelineStepLimitSize.js","sources":["../../../../src/generated/resources/Tr2TexturePipelineStepLimitSize.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TexturePipeline/Tr2TexturePipelineStepLimitSize.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TexturePipelineStepLimitSize.json.\nimport { io, type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TexturePipelineStepLimitSize (resources) - generated from schema shapeHash 9e97efed.... */\n@type.define({ className: \"Tr2TexturePipelineStepLimitSize\", family: \"resources\" })\nexport class Tr2TexturePipelineStepLimitSize extends CjsModel\n{\n\n /** m_maxHeight (uint32_t) [READWRITE, PERSIST] */\n @io.persist\n @type.uint32\n maxHeight = 0;\n\n /** m_maxWidth (uint32_t) [READWRITE, PERSIST] */\n @io.persist\n @type.uint32\n maxWidth = 0;\n\n}\n"],"names":["_Tr2TexturePipelineSt","Tr2TexturePipelineStepLimitSize","CjsModel","e","_init_maxHeight","_init_extra_maxHeight","_init_maxWidth","_init_extra_maxWidth","c","_initClass","_applyDecs","type","define","className","family","io","persist","uint32","constructor","args","maxHeight","maxWidth"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,+BAAA,SACqDC,QAAQ,CAC7D;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,GAAAC,eAAA,EAAAC,qBAAA,EAAAC,cAAA,EAAAC,oBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAR,qBAAA,EAAAS,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,iCAAiC;AAAEC,MAAAA,MAAM,EAAE;KAAa,CAAC,CAAA,EAAA,CAAA,CAAA,CAKhFC,EAAE,EAAFA,EAAE,CAACC,OAAO,EACVL,IAAI,EAAJA,IAAI,CAACM,MAAM,uBAIXF,EAAE,EAAFA,EAAE,CAACC,OAAO,EACVL,IAAI,EAAJA,IAAI,CAACM,MAAM,CAAA,EAAA,EAAA,EAAA,UAAA,CAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAVuCf,QAAQ,CAAA;AAAA;AAAAgB,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAZ,oBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAG3D;EAGAa,SAAS,GAAAhB,eAAA,CAAA,IAAA,EAAG,CAAC,CAAA;;AAEb;AAGAiB,EAAAA,QAAQ,IAAAhB,qBAAA,CAAA,IAAA,CAAA,EAAAC,cAAA,OAAG,CAAC,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAEf;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { io, type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_path, _init_extra_path;
|
|
6
|
+
|
|
7
|
+
/** Tr2TexturePipelineStepLoad (resources) - generated from schema shapeHash 8f11e264.... */
|
|
8
|
+
let _Tr2TexturePipelineSt;
|
|
9
|
+
class Tr2TexturePipelineStepLoad extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_path, _init_extra_path],
|
|
13
|
+
c: [_Tr2TexturePipelineSt, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TexturePipelineStepLoad",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[io, io.persist, type, type.string], 16, "path"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_path(this);
|
|
22
|
+
}
|
|
23
|
+
/** m_path (std::wstring) [READWRITE, PERSIST] */
|
|
24
|
+
path = _init_path(this, "");
|
|
25
|
+
static {
|
|
26
|
+
_initClass();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { _Tr2TexturePipelineSt as Tr2TexturePipelineStepLoad };
|
|
31
|
+
//# sourceMappingURL=Tr2TexturePipelineStepLoad.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TexturePipelineStepLoad.js","sources":["../../../../src/generated/resources/Tr2TexturePipelineStepLoad.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TexturePipeline/Tr2TexturePipelineStepLoad.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TexturePipelineStepLoad.json.\nimport { io, type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TexturePipelineStepLoad (resources) - generated from schema shapeHash 8f11e264.... */\n@type.define({ className: \"Tr2TexturePipelineStepLoad\", family: \"resources\" })\nexport class Tr2TexturePipelineStepLoad extends CjsModel\n{\n\n /** m_path (std::wstring) [READWRITE, PERSIST] */\n @io.persist\n @type.string\n path = \"\";\n\n}\n"],"names":["_Tr2TexturePipelineSt","Tr2TexturePipelineStepLoad","CjsModel","e","_init_path","_init_extra_path","c","_initClass","_applyDecs","type","define","className","family","io","persist","string","constructor","args","path"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,0BAAA,SACgDC,QAAQ,CACxD;AAAA,EAAA;AAAA,IAAA,CAAA;MAAAC,CAAA,EAAA,CAAAC,UAAA,EAAAC,gBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAN,qBAAA,EAAAO,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,4BAA4B;AAAEC,MAAAA,MAAM,EAAE;AAAY,KAAC,CAAC,CAAA,EAAA,CAAA,CAAA,CAK3EC,EAAE,EAAFA,EAAE,CAACC,OAAO,EACVL,IAAI,EAAJA,IAAI,CAACM,MAAM,4BALkCb,QAAQ,CAAA;AAAA;AAAAc,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAZ,gBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAGtD;EAGAa,IAAI,GAAAd,UAAA,CAAA,IAAA,EAAG,EAAE,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAEZ;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { io, type, schema } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
|
|
5
|
+
let _initClass, _init_format, _init_extra_format, _init_a, _init_extra_a, _init_b, _init_extra_b, _init_g, _init_extra_g, _init_r, _init_extra_r;
|
|
6
|
+
|
|
7
|
+
/** Tr2TexturePipelineStepPack (resources) - generated from schema shapeHash 3efe48d4.... */
|
|
8
|
+
let _Tr2TexturePipelineSt;
|
|
9
|
+
class Tr2TexturePipelineStepPack extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_format, _init_extra_format, _init_a, _init_extra_a, _init_b, _init_extra_b, _init_g, _init_extra_g, _init_r, _init_extra_r],
|
|
13
|
+
c: [_Tr2TexturePipelineSt, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "Tr2TexturePipelineStepPack",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[io, io.persist, type, type.int32, void 0, schema.enum("PixelFormat")], 16, "format"], [[io, io.persist, void 0, type.objectRef("Tr2TexturePackChannel")], 16, "a"], [[io, io.persist, void 0, type.objectRef("Tr2TexturePackChannel")], 16, "b"], [[io, io.persist, void 0, type.objectRef("Tr2TexturePackChannel")], 16, "g"], [[io, io.persist, void 0, type.objectRef("Tr2TexturePackChannel")], 16, "r"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_r(this);
|
|
22
|
+
}
|
|
23
|
+
/** m_format (Tr2RenderContextEnum::PixelFormat - enum PixelFormat) [READWRITE, PERSIST, ENUM] */
|
|
24
|
+
format = _init_format(this, 0);
|
|
25
|
+
|
|
26
|
+
/** m_a (PTr2TexturePackChannel) [READ, PERSIST] */
|
|
27
|
+
a = (_init_extra_format(this), _init_a(this, null));
|
|
28
|
+
|
|
29
|
+
/** m_b (PTr2TexturePackChannel) [READ, PERSIST] */
|
|
30
|
+
b = (_init_extra_a(this), _init_b(this, null));
|
|
31
|
+
|
|
32
|
+
/** m_g (PTr2TexturePackChannel) [READ, PERSIST] */
|
|
33
|
+
g = (_init_extra_b(this), _init_g(this, null));
|
|
34
|
+
|
|
35
|
+
/** m_r (PTr2TexturePackChannel) [READ, PERSIST] */
|
|
36
|
+
r = (_init_extra_g(this), _init_r(this, null));
|
|
37
|
+
static {
|
|
38
|
+
_initClass();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { _Tr2TexturePipelineSt as Tr2TexturePipelineStepPack };
|
|
43
|
+
//# sourceMappingURL=Tr2TexturePipelineStepPack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tr2TexturePipelineStepPack.js","sources":["../../../../src/generated/resources/Tr2TexturePipelineStepPack.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TexturePipeline/Tr2TexturePipelineStepPack.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/Tr2TexturePipelineStepPack.json.\nimport { io, schema, type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\n\n/** Tr2TexturePipelineStepPack (resources) - generated from schema shapeHash 3efe48d4.... */\n@type.define({ className: \"Tr2TexturePipelineStepPack\", family: \"resources\" })\nexport class Tr2TexturePipelineStepPack extends CjsModel\n{\n\n /** m_format (Tr2RenderContextEnum::PixelFormat - enum PixelFormat) [READWRITE, PERSIST, ENUM] */\n @io.persist\n @type.int32\n @schema.enum(\"PixelFormat\")\n format = 0;\n\n /** m_a (PTr2TexturePackChannel) [READ, PERSIST] */\n @io.persist\n @type.objectRef(\"Tr2TexturePackChannel\")\n a = null;\n\n /** m_b (PTr2TexturePackChannel) [READ, PERSIST] */\n @io.persist\n @type.objectRef(\"Tr2TexturePackChannel\")\n b = null;\n\n /** m_g (PTr2TexturePackChannel) [READ, PERSIST] */\n @io.persist\n @type.objectRef(\"Tr2TexturePackChannel\")\n g = null;\n\n /** m_r (PTr2TexturePackChannel) [READ, PERSIST] */\n @io.persist\n @type.objectRef(\"Tr2TexturePackChannel\")\n r = null;\n\n}\n"],"names":["_Tr2TexturePipelineSt","Tr2TexturePipelineStepPack","CjsModel","e","_init_format","_init_extra_format","_init_a","_init_extra_a","_init_b","_init_extra_b","_init_g","_init_extra_g","_init_r","_init_extra_r","c","_initClass","_applyDecs","type","define","className","family","io","persist","int32","schema","enum","objectRef","constructor","args","format","a","b","g","r"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,0BAAA,SACgDC,QAAQ,CACxD;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,GAAAC,YAAA,EAAAC,kBAAA,EAAAC,OAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,aAAA,CAAA;MAAAC,CAAA,EAAA,CAAAd,qBAAA,EAAAe,UAAA;A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AAI,CAAA;;AAER;AAGAwB,EAAAA,CAAC,IAAAvB,aAAA,CAAA,IAAA,CAAA,EAAAC,OAAA,OAAG,IAAI,CAAA;;AAER;AAGAuB,EAAAA,CAAC,IAAAtB,aAAA,CAAA,IAAA,CAAA,EAAAC,OAAA,OAAG,IAAI,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAEX;;;;"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
import { vec3 } from '@carbonenginejs/core-math/vec3';
|
|
5
|
+
|
|
6
|
+
let _initClass, _init_name, _init_extra_name, _init_firstIndex, _init_extra_firstIndex, _init_primitiveCount, _init_extra_primitiveCount, _init_minBounds, _init_extra_minBounds, _init_maxBounds, _init_extra_maxBounds, _init_jointBindings, _init_extra_jointBindings, _init_staticBlas, _init_extra_staticBlas, _init_isSkinned, _init_extra_isSkinned, _init_isMorphed, _init_extra_isMorphed, _init_rtGeometryConstants, _init_extra_rtGeometryConstants;
|
|
7
|
+
|
|
8
|
+
/** TriGeometryResAreaData (resources) - generated from schema shapeHash a859a2c5.... */
|
|
9
|
+
let _TriGeometryResAreaDa;
|
|
10
|
+
class TriGeometryResAreaData extends CjsModel {
|
|
11
|
+
static {
|
|
12
|
+
({
|
|
13
|
+
e: [_init_name, _init_extra_name, _init_firstIndex, _init_extra_firstIndex, _init_primitiveCount, _init_extra_primitiveCount, _init_minBounds, _init_extra_minBounds, _init_maxBounds, _init_extra_maxBounds, _init_jointBindings, _init_extra_jointBindings, _init_staticBlas, _init_extra_staticBlas, _init_isSkinned, _init_extra_isSkinned, _init_isMorphed, _init_extra_isMorphed, _init_rtGeometryConstants, _init_extra_rtGeometryConstants],
|
|
14
|
+
c: [_TriGeometryResAreaDa, _initClass]
|
|
15
|
+
} = _applyDecs2311(this, [type.define({
|
|
16
|
+
className: "TriGeometryResAreaData",
|
|
17
|
+
family: "resources"
|
|
18
|
+
})], [[[type, type.string], 16, "name"], [[type, type.int32], 16, "firstIndex"], [[type, type.int32], 16, "primitiveCount"], [[type, type.vec3], 16, "minBounds"], [[type, type.vec3], 16, "maxBounds"], [[type, type.unknown], 16, "jointBindings"], [type.rawStruct("Tr2RtBottomLevelAccelerationStructureAL"), 0, "staticBlas"], [[type, type.boolean], 16, "isSkinned"], [[type, type.boolean], 16, "isMorphed"], [type.rawStruct("Tr2ConstantBufferAL"), 0, "rtGeometryConstants"]], 0, void 0, CjsModel));
|
|
19
|
+
}
|
|
20
|
+
constructor(...args) {
|
|
21
|
+
super(...args);
|
|
22
|
+
_init_extra_rtGeometryConstants(this);
|
|
23
|
+
}
|
|
24
|
+
/** m_name (std::string) */
|
|
25
|
+
name = _init_name(this, "");
|
|
26
|
+
|
|
27
|
+
/** m_firstIndex (int) */
|
|
28
|
+
firstIndex = (_init_extra_name(this), _init_firstIndex(this, 0));
|
|
29
|
+
|
|
30
|
+
/** m_primitiveCount (int) */
|
|
31
|
+
primitiveCount = (_init_extra_firstIndex(this), _init_primitiveCount(this, 0));
|
|
32
|
+
|
|
33
|
+
/** m_minBounds (Vector3) */
|
|
34
|
+
minBounds = (_init_extra_primitiveCount(this), _init_minBounds(this, vec3.create()));
|
|
35
|
+
|
|
36
|
+
/** m_maxBounds (Vector3) */
|
|
37
|
+
maxBounds = (_init_extra_minBounds(this), _init_maxBounds(this, vec3.create()));
|
|
38
|
+
|
|
39
|
+
/** m_jointBindings (TrackableStdVector<int>) */
|
|
40
|
+
jointBindings = (_init_extra_maxBounds(this), _init_jointBindings(this, null));
|
|
41
|
+
|
|
42
|
+
/** m_staticBlas (Tr2RtBottomLevelAccelerationStructureAL) */
|
|
43
|
+
staticBlas = (_init_extra_jointBindings(this), _init_staticBlas(this, null));
|
|
44
|
+
|
|
45
|
+
/** m_isSkinned (bool) */
|
|
46
|
+
isSkinned = (_init_extra_staticBlas(this), _init_isSkinned(this, false));
|
|
47
|
+
|
|
48
|
+
/** m_isMorphed (bool) */
|
|
49
|
+
isMorphed = (_init_extra_isSkinned(this), _init_isMorphed(this, false));
|
|
50
|
+
|
|
51
|
+
/** m_rtGeometryConstants (Tr2ConstantBufferAL) */
|
|
52
|
+
rtGeometryConstants = (_init_extra_isMorphed(this), _init_rtGeometryConstants(this, null));
|
|
53
|
+
static {
|
|
54
|
+
_initClass();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { _TriGeometryResAreaDa as TriGeometryResAreaData };
|
|
59
|
+
//# sourceMappingURL=TriGeometryResAreaData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriGeometryResAreaData.js","sources":["../../../../src/generated/resources/TriGeometryResAreaData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\n// Generated by format-carbon carbon-class --emit. Verify against resources/TriGeometryResAreaData.json.\nimport { type } from \"@carbonenginejs/core-types/schema\";\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\nimport { vec3 } from \"@carbonenginejs/core-math/vec3\";\n\n/** TriGeometryResAreaData (resources) - generated from schema shapeHash a859a2c5.... */\n@type.define({ className: \"TriGeometryResAreaData\", family: \"resources\" })\nexport class TriGeometryResAreaData extends CjsModel\n{\n\n /** m_name (std::string) */\n @type.string\n name = \"\";\n\n /** m_firstIndex (int) */\n @type.int32\n firstIndex = 0;\n\n /** m_primitiveCount (int) */\n @type.int32\n primitiveCount = 0;\n\n /** m_minBounds (Vector3) */\n @type.vec3\n minBounds = vec3.create();\n\n /** m_maxBounds (Vector3) */\n @type.vec3\n maxBounds = vec3.create();\n\n /** m_jointBindings (TrackableStdVector<int>) */\n @type.unknown\n jointBindings = null;\n\n /** m_staticBlas (Tr2RtBottomLevelAccelerationStructureAL) */\n @type.rawStruct(\"Tr2RtBottomLevelAccelerationStructureAL\")\n staticBlas = null;\n\n /** m_isSkinned (bool) */\n @type.boolean\n isSkinned = false;\n\n /** m_isMorphed (bool) */\n @type.boolean\n isMorphed = false;\n\n /** m_rtGeometryConstants (Tr2ConstantBufferAL) */\n @type.rawStruct(\"Tr2ConstantBufferAL\")\n rtGeometryConstants = null;\n\n}\n"],"names":["_TriGeometryResAreaDa","TriGeometryResAreaData","CjsModel","e","_init_name","_init_extra_name","_init_firstIndex","_init_extra_firstIndex","_init_primitiveCount","_init_extra_primitiveCount","_init_minBounds","_init_extra_minBounds","_init_maxBounds","_init_extra_maxBounds","_init_jointBindings","_init_extra_jointBindings","_init_staticBlas","_init_extra_staticBlas","_init_isSkinned","_init_extra_isSkinned","_init_isMorphed","_init_extra_isMorphed","_init_rtGeometryConstants","_init_extra_rtGeometryConstants","c","_initClass","_applyDecs","type","define","className","family","string","int32","vec3","unknown","rawStruct","boolean","constructor","args","name","firstIndex","primitiveCount","minBounds","create","maxBounds","jointBindings","staticBlas","isSkinned","isMorphed","rtGeometryConstants"],"mappings":";;;;;;;AAMA;AAAA,IAAAA;AACA,MAAAC,sBAAA,SAC4CC,QAAQ,CACpD;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,GAAAC,UAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,sBAAA,EAAAC,oBAAA,EAAAC,0BAAA,EAAAC,eAAA,EAAAC,qBAAA,EAAAC,eAAA,EAAAC,qBAAA,EAAAC,mBAAA,EAAAC,yBAAA,EAAAC,gBAAA,EAAAC,sBAAA,EAAAC,eAAA,EAAAC,qBAAA,EAAAC,eAAA,EAAAC,qBAAA,EAAAC,yBAAA,EAAAC,+BAAA,CAAA;MAAAC,CAAA,EAAA,CAAAxB,qBAAA,EAAAyB,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,wBAAwB;AAAEC,MAAAA,MAAM,EA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AA,CAAA,IAAA,CAAA,EAAAC,oBAAA,OAAG,CAAC,CAAA;;AAElB;EAEAkC,SAAS,IAAAjC,0BAAA,CAAA,IAAA,CAAA,EAAAC,eAAA,OAAGuB,IAAI,CAACU,MAAM,EAAE,CAAA;;AAEzB;EAEAC,SAAS,IAAAjC,qBAAA,CAAA,IAAA,CAAA,EAAAC,eAAA,OAAGqB,IAAI,CAACU,MAAM,EAAE,CAAA;;AAEzB;AAEAE,EAAAA,aAAa,IAAAhC,qBAAA,CAAA,IAAA,CAAA,EAAAC,mBAAA,OAAG,IAAI,CAAA;;AAEpB;AAEAgC,EAAAA,UAAU,IAAA/B,yBAAA,CAAA,IAAA,CAAA,EAAAC,gBAAA,OAAG,IAAI,CAAA;;AAEjB;AAEA+B,EAAAA,SAAS,IAAA9B,sBAAA,CAAA,IAAA,CAAA,EAAAC,eAAA,OAAG,KAAK,CAAA;;AAEjB;AAEA8B,EAAAA,SAAS,IAAA7B,qBAAA,CAAA,IAAA,CAAA,EAAAC,eAAA,OAAG,KAAK,CAAA;;AAEjB;AAEA6B,EAAAA,mBAAmB,IAAA5B,qBAAA,CAAA,IAAA,CAAA,EAAAC,yBAAA,OAAG,IAAI,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAE7B;;;;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { applyDecs2311 as _applyDecs2311 } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
+
import { mat4 } from '@carbonenginejs/core-math/mat4';
|
|
5
|
+
|
|
6
|
+
let _initClass, _init_name, _init_extra_name, _init_parentJoint, _init_extra_parentJoint, _init_inverseWorldTransform, _init_extra_inverseWorldTransform;
|
|
7
|
+
|
|
8
|
+
/** TriGeometryResJointData (resources) - generated from schema shapeHash 9b31acb5.... */
|
|
9
|
+
let _TriGeometryResJointD;
|
|
10
|
+
class TriGeometryResJointData extends CjsModel {
|
|
11
|
+
static {
|
|
12
|
+
({
|
|
13
|
+
e: [_init_name, _init_extra_name, _init_parentJoint, _init_extra_parentJoint, _init_inverseWorldTransform, _init_extra_inverseWorldTransform],
|
|
14
|
+
c: [_TriGeometryResJointD, _initClass]
|
|
15
|
+
} = _applyDecs2311(this, [type.define({
|
|
16
|
+
className: "TriGeometryResJointData",
|
|
17
|
+
family: "resources"
|
|
18
|
+
})], [[[type, type.string], 16, "name"], [[type, type.uint32], 16, "parentJoint"], [[type, type.mat4], 16, "inverseWorldTransform"]], 0, void 0, CjsModel));
|
|
19
|
+
}
|
|
20
|
+
constructor(...args) {
|
|
21
|
+
super(...args);
|
|
22
|
+
_init_extra_inverseWorldTransform(this);
|
|
23
|
+
}
|
|
24
|
+
/** m_name (std::string) */
|
|
25
|
+
name = _init_name(this, "");
|
|
26
|
+
|
|
27
|
+
/** m_parentJoint (unsigned int) */
|
|
28
|
+
parentJoint = (_init_extra_name(this), _init_parentJoint(this, 0));
|
|
29
|
+
|
|
30
|
+
/** m_inverseWorldTransform (Matrix) */
|
|
31
|
+
inverseWorldTransform = (_init_extra_parentJoint(this), _init_inverseWorldTransform(this, mat4.create()));
|
|
32
|
+
static {
|
|
33
|
+
_initClass();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { _TriGeometryResJointD as TriGeometryResJointData };
|
|
38
|
+
//# sourceMappingURL=TriGeometryResJointData.js.map
|