@carbonenginejs/runtime-resource 0.1.0 → 0.8.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 +155 -135
- package/LICENSE +21 -21
- package/NOTICE +29 -29
- package/README.md +548 -241
- package/dist/CjsMotherLode.js +1271 -56
- package/dist/CjsMotherLode.js.map +1 -1
- package/dist/CjsResMan.js +3005 -740
- package/dist/CjsResMan.js.map +1 -1
- package/dist/CjsResManQueue.js +214 -214
- package/dist/CjsResource.js +566 -366
- package/dist/CjsResource.js.map +1 -1
- package/dist/CjsResourceSource.js +59 -59
- package/dist/_virtual/_rollupPluginBabelHelpers.js +153 -153
- package/dist/format/CjsBlueReader.js +269 -0
- package/dist/format/CjsBlueReader.js.map +1 -0
- package/dist/format/CjsFormat.js +192 -178
- package/dist/format/CjsFormat.js.map +1 -1
- package/dist/format/CjsReader.js +18 -0
- package/dist/format/CjsReader.js.map +1 -0
- package/dist/format/CjsResourceProbe.js +277 -269
- package/dist/format/CjsResourceProbe.js.map +1 -1
- package/dist/format/payloadContract.js +173 -173
- package/dist/formats/black/CjsBlackFormat.js +278 -272
- package/dist/formats/black/CjsBlackFormat.js.map +1 -1
- package/dist/formats/black/core/CjsBlackBinaryReader.js +153 -153
- package/dist/formats/black/core/CjsBlackPropertyReaders.js +382 -382
- package/dist/formats/black/core/CjsBlackReader.js +639 -760
- package/dist/formats/black/core/CjsBlackReader.js.map +1 -1
- package/dist/formats/black/core/CjsBlackSchemaRegistry.js +433 -433
- package/dist/formats/black/core/black-schema-v1-2026-07-11.json.js +4 -4
- package/dist/formats/black/core/blackConstants.js +7 -7
- package/dist/formats/black/core/blackDefinitions.js +10 -10
- package/dist/formats/black/core/blackEnums.js +6 -6
- package/dist/formats/black/core/blackSchema.js +3 -3
- package/dist/formats/black/core/blackVersion.js +22 -22
- package/dist/formats/black/core/helpers.js +182 -182
- package/dist/formats/black/core/schema.js +4 -4
- package/dist/formats/black/index.js +2 -2
- package/dist/formats/bnk/CjsBnkFormat.js +238 -245
- package/dist/formats/bnk/CjsBnkFormat.js.map +1 -1
- package/dist/formats/bnk/core/graph.js +140 -0
- package/dist/formats/bnk/core/graph.js.map +1 -0
- package/dist/formats/bnk/core/helpers.js +409 -354
- package/dist/formats/bnk/core/helpers.js.map +1 -1
- package/dist/formats/bnk/core/musicNodes.js +521 -0
- package/dist/formats/bnk/core/musicNodes.js.map +1 -0
- package/dist/formats/bnk/core/soundbanksInfo.js +246 -246
- package/dist/formats/bnk/index.js +2 -3
- package/dist/formats/bnk/index.js.map +1 -1
- package/dist/formats/cmf/CjsCmfFormat.js +497 -491
- package/dist/formats/cmf/CjsCmfFormat.js.map +1 -1
- package/dist/formats/cmf/core/binary.js +118 -118
- package/dist/formats/cmf/core/buffers.js +233 -233
- package/dist/formats/cmf/core/constants.js +47 -47
- package/dist/formats/cmf/core/gr2Anim.js +453 -453
- package/dist/formats/cmf/core/helpers.js +287 -287
- package/dist/formats/cmf/core/pack.js +276 -276
- package/dist/formats/cmf/core/schema.js +364 -364
- package/dist/formats/cmf/core/shared.js +268 -268
- package/dist/formats/cmf/core/writer.js +517 -517
- package/dist/formats/cmf/index.js +2 -2
- package/dist/formats/dds/CjsDdsFormat.js +193 -187
- package/dist/formats/dds/CjsDdsFormat.js.map +1 -1
- package/dist/formats/dds/core/bc6h.js +288 -0
- package/dist/formats/dds/core/bc6h.js.map +1 -0
- package/dist/formats/dds/core/bc7.js +251 -0
- package/dist/formats/dds/core/bc7.js.map +1 -0
- package/dist/formats/dds/core/helpers.js +815 -812
- package/dist/formats/dds/core/helpers.js.map +1 -1
- package/dist/formats/dds/index.js +2 -2
- package/dist/formats/fbx/CjsFbxFormat.js +266 -260
- package/dist/formats/fbx/CjsFbxFormat.js.map +1 -1
- package/dist/formats/fbx/core/helpers.js +3901 -3901
- package/dist/formats/fbx/index.js +2 -2
- package/dist/formats/flac/CjsFlacFormat.js +87 -81
- package/dist/formats/flac/CjsFlacFormat.js.map +1 -1
- package/dist/formats/flac/core/helpers.js +295 -295
- package/dist/formats/flac/index.js +2 -2
- package/dist/formats/gif/CjsGifFormat.js +87 -81
- package/dist/formats/gif/CjsGifFormat.js.map +1 -1
- package/dist/formats/gif/core/helpers.js +360 -360
- package/dist/formats/gif/index.js +2 -2
- package/dist/formats/gltf/CjsGltfFormat.js +290 -284
- package/dist/formats/gltf/CjsGltfFormat.js.map +1 -1
- package/dist/formats/gltf/core/helpers.js +292 -292
- package/dist/formats/gltf/core/json.js +79 -79
- package/dist/formats/gltf/core/parser.js +666 -666
- package/dist/formats/gltf/core/targets.js +163 -163
- package/dist/formats/gltf/index.js +2 -2
- package/dist/formats/index.js +23 -23
- package/dist/formats/jpeg/CjsJpegFormat.js +206 -200
- package/dist/formats/jpeg/CjsJpegFormat.js.map +1 -1
- package/dist/formats/jpeg/core/helpers.js +350 -350
- package/dist/formats/jpeg/core/jpeg.js +377 -377
- package/dist/formats/jpeg/index.js +2 -2
- package/dist/formats/mp3/CjsMp3Format.js +192 -186
- package/dist/formats/mp3/CjsMp3Format.js.map +1 -1
- package/dist/formats/mp3/core/helpers.js +338 -338
- package/dist/formats/mp3/index.js +2 -2
- package/dist/formats/mp4/CjsMp4Format.js +191 -185
- package/dist/formats/mp4/CjsMp4Format.js.map +1 -1
- package/dist/formats/mp4/core/helpers.js +449 -449
- package/dist/formats/mp4/index.js +2 -2
- package/dist/formats/obj/CjsObjFormat.js +253 -247
- package/dist/formats/obj/CjsObjFormat.js.map +1 -1
- package/dist/formats/obj/core/helpers.js +573 -573
- package/dist/formats/obj/core/json.js +64 -64
- package/dist/formats/obj/core/parser.js +321 -321
- package/dist/formats/obj/index.js +2 -2
- package/dist/formats/ogg/CjsOggFormat.js +88 -82
- package/dist/formats/ogg/CjsOggFormat.js.map +1 -1
- package/dist/formats/ogg/core/helpers.js +387 -387
- package/dist/formats/ogg/core/imdct.js +178 -178
- package/dist/formats/ogg/core/vorbis.js +999 -999
- package/dist/formats/ogg/index.js +2 -2
- package/dist/formats/png/CjsPngFormat.js +195 -189
- package/dist/formats/png/CjsPngFormat.js.map +1 -1
- package/dist/formats/png/core/helpers.js +583 -583
- package/dist/formats/png/index.js +2 -2
- package/dist/formats/red/CjsRedFormat.js +261 -247
- package/dist/formats/red/CjsRedFormat.js.map +1 -1
- package/dist/formats/red/core/CjsRedReader.js +194 -201
- package/dist/formats/red/core/CjsRedReader.js.map +1 -1
- package/dist/formats/red/core/blackDefinitions.js +3 -3
- package/dist/formats/red/core/helpers.js +139 -136
- package/dist/formats/red/core/helpers.js.map +1 -1
- package/dist/formats/red/core/redGraph.js +68 -68
- package/dist/formats/red/core/schema.js +4 -4
- package/dist/formats/red/index.js +2 -2
- package/dist/formats/stl/CjsStlFormat.js +365 -304
- package/dist/formats/stl/CjsStlFormat.js.map +1 -1
- package/dist/formats/stl/core/helpers.js +261 -257
- package/dist/formats/stl/core/helpers.js.map +1 -1
- package/dist/formats/stl/core/json.js +51 -51
- package/dist/formats/stl/core/stl.js +629 -544
- package/dist/formats/stl/core/stl.js.map +1 -1
- package/dist/formats/stl/core/targets.js +163 -163
- package/dist/formats/stl/index.js +2 -2
- package/dist/formats/tga/CjsTgaFormat.js +192 -186
- package/dist/formats/tga/CjsTgaFormat.js.map +1 -1
- package/dist/formats/tga/core/helpers.js +446 -446
- package/dist/formats/tga/index.js +2 -2
- package/dist/formats/wav/CjsWavFormat.js +192 -186
- package/dist/formats/wav/CjsWavFormat.js.map +1 -1
- package/dist/formats/wav/core/helpers.js +328 -328
- package/dist/formats/wav/index.js +2 -2
- package/dist/formats/webm/CjsWebmFormat.js +191 -185
- package/dist/formats/webm/CjsWebmFormat.js.map +1 -1
- package/dist/formats/webm/core/helpers.js +537 -537
- package/dist/formats/webm/index.js +2 -2
- package/dist/formats/webp/CjsWebpFormat.js +86 -80
- package/dist/formats/webp/CjsWebpFormat.js.map +1 -1
- package/dist/formats/webp/core/helpers.js +214 -214
- package/dist/formats/webp/index.js +2 -2
- package/dist/formats/wem/CjsWemFormat.js +241 -197
- package/dist/formats/wem/CjsWemFormat.js.map +1 -1
- package/dist/formats/wem/core/bitStream.js +259 -259
- package/dist/formats/wem/core/codebookLibrary.js +164 -164
- package/dist/formats/wem/core/helpers.js +417 -336
- package/dist/formats/wem/core/helpers.js.map +1 -1
- package/dist/formats/wem/core/packedCodebooksAotuv603.js +30 -30
- package/dist/formats/wem/core/ptadpcm.js +77 -0
- package/dist/formats/wem/core/ptadpcm.js.map +1 -0
- package/dist/formats/wem/core/resolve.js +121 -0
- package/dist/formats/wem/core/resolve.js.map +1 -0
- package/dist/formats/wem/core/wemToOgg.js +485 -485
- package/dist/formats/wem/index.js +2 -2
- package/dist/formats/yaml/CjsYamlFormat.js +83 -77
- package/dist/formats/yaml/CjsYamlFormat.js.map +1 -1
- package/dist/formats/yaml/core/CjsYamlReader.js +305 -304
- package/dist/formats/yaml/core/CjsYamlReader.js.map +1 -1
- package/dist/formats/yaml/core/helpers.js +160 -160
- package/dist/formats/yaml/index.js +2 -2
- package/dist/index.js +48 -52
- package/dist/index.js.map +1 -1
- package/dist/resourcePath.js +18 -18
- package/dist/resourceStates.js +9 -9
- package/dist/{generated/resources → resources}/AudioGeometryResData.js +47 -47
- package/dist/resources/AudioGeometryResData.js.map +1 -0
- package/dist/{generated/resources → resources}/GStateBindingCallbackData.js +31 -31
- package/dist/resources/GStateBindingCallbackData.js.map +1 -0
- package/dist/{generated/resources → resources}/MeshDecalData.js +37 -37
- package/dist/resources/MeshDecalData.js.map +1 -0
- package/dist/{generated/resources → resources}/MeshDecalLodData.js +34 -34
- package/dist/resources/MeshDecalLodData.js.map +1 -0
- package/dist/resources/Tr2EffectRes.js +71 -71
- package/dist/resources/Tr2GrannyIntersectionResult.js +60 -0
- package/dist/resources/Tr2GrannyIntersectionResult.js.map +1 -0
- package/dist/resources/Tr2GrannyStateRes.js +44 -44
- package/dist/resources/Tr2ImageRes.js +114 -114
- package/dist/resources/Tr2LightProfileRes.js +40 -40
- package/dist/{generated/resources → resources}/Tr2MaterialArea.js +34 -34
- package/dist/resources/Tr2MaterialArea.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2MaterialMesh.js +31 -31
- package/dist/resources/Tr2MaterialMesh.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2MaterialRes.js +34 -34
- package/dist/resources/Tr2MaterialRes.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2ShaderPermutation.js +43 -43
- package/dist/resources/Tr2ShaderPermutation.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TextureLodManager.js +100 -60
- package/dist/resources/Tr2TextureLodManager.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TextureLodUpdateRequest.js +37 -37
- package/dist/resources/Tr2TextureLodUpdateRequest.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TexturePackChannel.js +37 -37
- package/dist/resources/Tr2TexturePackChannel.js.map +1 -0
- package/dist/resources/Tr2TexturePipeline.js +68 -0
- package/dist/resources/Tr2TexturePipeline.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TexturePipelineParams.js +34 -34
- package/dist/resources/Tr2TexturePipelineParams.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TexturePipelineStepCompress.js +40 -40
- package/dist/resources/Tr2TexturePipelineStepCompress.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TexturePipelineStepLimitSize.js +34 -34
- package/dist/resources/Tr2TexturePipelineStepLimitSize.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TexturePipelineStepLoad.js +31 -31
- package/dist/resources/Tr2TexturePipelineStepLoad.js.map +1 -0
- package/dist/{generated/resources → resources}/Tr2TexturePipelineStepPack.js +43 -43
- package/dist/resources/Tr2TexturePipelineStepPack.js.map +1 -0
- package/dist/resources/TriGeometryRes.js +239 -216
- package/dist/resources/TriGeometryRes.js.map +1 -1
- package/dist/{generated/resources → resources}/TriGeometryResAreaData.js +59 -59
- package/dist/resources/TriGeometryResAreaData.js.map +1 -0
- package/dist/{generated/resources → resources}/TriGeometryResJointData.js +38 -38
- package/dist/resources/TriGeometryResJointData.js.map +1 -0
- package/dist/{generated/resources → resources}/TriGeometryResLodData.js +88 -88
- package/dist/resources/TriGeometryResLodData.js.map +1 -0
- package/dist/{generated/resources → resources}/TriGeometryResMeshData.js +63 -63
- package/dist/resources/TriGeometryResMeshData.js.map +1 -0
- package/dist/{generated/resources → resources}/TriGeometryResSkeletonData.js +34 -34
- package/dist/resources/TriGeometryResSkeletonData.js.map +1 -0
- package/dist/resources/TriGrannyRes.js +43 -43
- package/dist/{generated/resources → resources}/TriJointBinding.js +38 -38
- package/dist/resources/TriJointBinding.js.map +1 -0
- package/dist/{generated/resources → resources}/TriMorphTargetGeometryConstants.js +46 -46
- package/dist/resources/TriMorphTargetGeometryConstants.js.map +1 -0
- package/dist/{generated/resources → resources}/TriRtGeometryConstants.js +88 -88
- package/dist/resources/TriRtGeometryConstants.js.map +1 -0
- package/dist/resources/TriTextureRes.js +304 -304
- package/dist/{generated/resources → resources}/enums.js +18 -18
- package/dist/resources/enums.js.map +1 -0
- package/dist/resources/resourceBoundary.js +47 -47
- package/dist/resources/texturePipelineBehavior.js +320 -0
- package/dist/resources/texturePipelineBehavior.js.map +1 -0
- package/dist/texture/CjsTextureArrayRes.js +406 -406
- package/dist/texture/CjsTextureParameterProxy.js +133 -133
- package/format-notices/black/LICENSE +21 -21
- package/format-notices/black/NOTICE +47 -47
- package/format-notices/bnk/LICENSE +21 -21
- package/format-notices/bnk/NOTICE +20 -17
- package/format-notices/cmf/LICENSE +21 -21
- package/format-notices/cmf/NOTICE +36 -36
- package/format-notices/dds/LICENSE +21 -21
- package/format-notices/dds/NOTICE +14 -14
- package/format-notices/fbx/LICENSE +21 -21
- package/format-notices/fbx/NOTICE +14 -14
- package/format-notices/flac/LICENSE +21 -21
- package/format-notices/flac/NOTICE +14 -14
- package/format-notices/gif/LICENSE +21 -21
- package/format-notices/gif/NOTICE +14 -14
- package/format-notices/gltf/LICENSE +21 -21
- package/format-notices/gltf/NOTICE +27 -27
- package/format-notices/jpeg/LICENSE +21 -21
- package/format-notices/jpeg/NOTICE +14 -14
- package/format-notices/mp3/LICENSE +21 -21
- package/format-notices/mp3/NOTICE +14 -14
- package/format-notices/mp4/LICENSE +21 -21
- package/format-notices/mp4/NOTICE +14 -14
- package/format-notices/obj/LICENSE +21 -21
- package/format-notices/obj/NOTICE +26 -26
- package/format-notices/ogg/LICENSE +21 -21
- package/format-notices/ogg/NOTICE +28 -28
- package/format-notices/png/LICENSE +21 -21
- package/format-notices/png/NOTICE +14 -14
- package/format-notices/red/LICENSE +21 -21
- package/format-notices/red/NOTICE +31 -31
- package/format-notices/stl/LICENSE +21 -21
- package/format-notices/stl/NOTICE +21 -21
- package/format-notices/tga/LICENSE +21 -21
- package/format-notices/tga/NOTICE +14 -14
- package/format-notices/wav/LICENSE +21 -21
- package/format-notices/wav/NOTICE +14 -14
- package/format-notices/webm/LICENSE +21 -21
- package/format-notices/webm/NOTICE +14 -14
- package/format-notices/webp/LICENSE +21 -21
- package/format-notices/webp/NOTICE +14 -14
- package/format-notices/wem/LICENSE +57 -57
- package/format-notices/wem/NOTICE +33 -33
- package/format-notices/yaml/LICENSE +21 -21
- package/format-notices/yaml/NOTICE +44 -44
- package/package.json +51 -51
- package/resource-lifecycle.md +679 -487
- package/dist/generated/resources/AudioGeometryResData.js.map +0 -1
- package/dist/generated/resources/CmfVertexReader.js +0 -46
- package/dist/generated/resources/CmfVertexReader.js.map +0 -1
- package/dist/generated/resources/GStateBindingCallbackData.js.map +0 -1
- package/dist/generated/resources/MeshDecalData.js.map +0 -1
- package/dist/generated/resources/MeshDecalLodData.js.map +0 -1
- package/dist/generated/resources/Tr2AsyncSave.js +0 -46
- package/dist/generated/resources/Tr2AsyncSave.js.map +0 -1
- package/dist/generated/resources/Tr2CmfContents.js +0 -37
- package/dist/generated/resources/Tr2CmfContents.js.map +0 -1
- package/dist/generated/resources/Tr2GrannyIntersectionResult.js +0 -58
- package/dist/generated/resources/Tr2GrannyIntersectionResult.js.map +0 -1
- package/dist/generated/resources/Tr2LoadPrepareFence.js +0 -37
- package/dist/generated/resources/Tr2LoadPrepareFence.js.map +0 -1
- package/dist/generated/resources/Tr2MaterialArea.js.map +0 -1
- package/dist/generated/resources/Tr2MaterialMesh.js.map +0 -1
- package/dist/generated/resources/Tr2MaterialRes.js.map +0 -1
- package/dist/generated/resources/Tr2ShaderPermutation.js.map +0 -1
- package/dist/generated/resources/Tr2TextureLodManager.js.map +0 -1
- package/dist/generated/resources/Tr2TextureLodUpdateRequest.js.map +0 -1
- package/dist/generated/resources/Tr2TexturePackChannel.js.map +0 -1
- package/dist/generated/resources/Tr2TexturePipeline.js +0 -44
- package/dist/generated/resources/Tr2TexturePipeline.js.map +0 -1
- package/dist/generated/resources/Tr2TexturePipelineParams.js.map +0 -1
- package/dist/generated/resources/Tr2TexturePipelineStepCompress.js.map +0 -1
- package/dist/generated/resources/Tr2TexturePipelineStepLimitSize.js.map +0 -1
- package/dist/generated/resources/Tr2TexturePipelineStepLoad.js.map +0 -1
- package/dist/generated/resources/Tr2TexturePipelineStepPack.js.map +0 -1
- package/dist/generated/resources/TriGeometryResAreaData.js.map +0 -1
- package/dist/generated/resources/TriGeometryResJointData.js.map +0 -1
- package/dist/generated/resources/TriGeometryResLodData.js.map +0 -1
- package/dist/generated/resources/TriGeometryResMeshData.js.map +0 -1
- package/dist/generated/resources/TriGeometryResSkeletonData.js.map +0 -1
- package/dist/generated/resources/TriJointBinding.js.map +0 -1
- package/dist/generated/resources/TriMorphTargetGeometryConstants.js.map +0 -1
- package/dist/generated/resources/TriRtGeometryConstants.js.map +0 -1
- package/dist/generated/resources/enums.js.map +0 -1
- package/dist/generated/resources/index.js +0 -32
- package/dist/generated/resources/index.js.map +0 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { applyDecs2311 as _applyDecs2311 } from '
|
|
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_joints, _init_extra_joints;
|
|
6
|
-
|
|
7
|
-
/** TriGeometryResSkeletonData (resources) -
|
|
8
|
-
let _TriGeometryResSkelet;
|
|
9
|
-
class TriGeometryResSkeletonData extends CjsModel {
|
|
10
|
-
static {
|
|
11
|
-
({
|
|
12
|
-
e: [_init_name, _init_extra_name, _init_joints, _init_extra_joints],
|
|
13
|
-
c: [_TriGeometryResSkelet, _initClass]
|
|
14
|
-
} = _applyDecs2311(this, [type.define({
|
|
15
|
-
className: "TriGeometryResSkeletonData",
|
|
16
|
-
family: "resources"
|
|
17
|
-
})], [[[type, type.string], 16, "name"], [[type, type.unknown], 16, "joints"]], 0, void 0, CjsModel));
|
|
18
|
-
}
|
|
19
|
-
constructor(...args) {
|
|
20
|
-
super(...args);
|
|
21
|
-
_init_extra_joints(this);
|
|
22
|
-
}
|
|
23
|
-
/** m_name (std::string) */
|
|
24
|
-
name = _init_name(this, "");
|
|
25
|
-
|
|
26
|
-
/** m_joints (TrackableStdVector<TriGeometryResJointData>) */
|
|
27
|
-
joints = (_init_extra_name(this), _init_joints(this, null));
|
|
28
|
-
static {
|
|
29
|
-
_initClass();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { _TriGeometryResSkelet as TriGeometryResSkeletonData };
|
|
34
|
-
//# sourceMappingURL=TriGeometryResSkeletonData.js.map
|
|
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_joints, _init_extra_joints;
|
|
6
|
+
|
|
7
|
+
/** TriGeometryResSkeletonData (resources) - maintained from schema shapeHash 9cfcfdf1.... */
|
|
8
|
+
let _TriGeometryResSkelet;
|
|
9
|
+
class TriGeometryResSkeletonData extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_name, _init_extra_name, _init_joints, _init_extra_joints],
|
|
13
|
+
c: [_TriGeometryResSkelet, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "TriGeometryResSkeletonData",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[type, type.string], 16, "name"], [[type, type.unknown], 16, "joints"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_joints(this);
|
|
22
|
+
}
|
|
23
|
+
/** m_name (std::string) */
|
|
24
|
+
name = _init_name(this, "");
|
|
25
|
+
|
|
26
|
+
/** m_joints (TrackableStdVector<TriGeometryResJointData>) */
|
|
27
|
+
joints = (_init_extra_name(this), _init_joints(this, null));
|
|
28
|
+
static {
|
|
29
|
+
_initClass();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { _TriGeometryResSkelet as TriGeometryResSkeletonData };
|
|
34
|
+
//# sourceMappingURL=TriGeometryResSkeletonData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriGeometryResSkeletonData.js","sources":["../../../src/resources/TriGeometryResSkeletonData.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriGeometryResSkeletonData.json; maintained by runtime-resource.\r\nimport { type } from \"@carbonenginejs/core-types/schema\";\r\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\r\n\r\n/** TriGeometryResSkeletonData (resources) - maintained from schema shapeHash 9cfcfdf1.... */\r\n@type.define({ className: \"TriGeometryResSkeletonData\", family: \"resources\" })\r\nexport class TriGeometryResSkeletonData extends CjsModel\r\n{\r\n\r\n /** m_name (std::string) */\r\n @type.string\r\n name = \"\";\r\n\r\n /** m_joints (TrackableStdVector<TriGeometryResJointData>) */\r\n @type.unknown\r\n joints = null;\r\n\r\n}\r\n"],"names":["_TriGeometryResSkelet","TriGeometryResSkeletonData","CjsModel","e","_init_name","_init_extra_name","_init_joints","_init_extra_joints","c","_initClass","_applyDecs","type","define","className","family","string","unknown","constructor","args","name","joints"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,0BAAA,SACgDC,QAAQ,CACxD;AAAA,EAAA;AAAA,IAAA,CAAA;AAAAC,MAAAA,CAAA,GAAAC,UAAA,EAAAC,gBAAA,EAAAC,YAAA,EAAAC,kBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAR,qBAAA,EAAAS,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,CAK3EH,IAAI,EAAJA,IAAI,CAACI,MAAM,CAAA,EAAA,EAAA,EAAA,MAAA,CAAA,EAAA,CAAA,CAIXJ,IAAI,EAAJA,IAAI,CAACK,OAAO,8BARiCd,QAAQ,CAAA;AAAA;AAAAe,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAX,kBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAGtD;EAEAY,IAAI,GAAAf,UAAA,CAAA,IAAA,EAAG,EAAE,CAAA;;AAET;AAEAgB,EAAAA,MAAM,IAAAf,gBAAA,CAAA,IAAA,CAAA,EAAAC,YAAA,OAAG,IAAI,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAEhB;;;;"}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { identity as _identity, applyDecs2311 as _applyDecs2311 } from '../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
-
import { CjsResource as _CjsResource } from '../CjsResource.js';
|
|
4
|
-
import { AssertResourcePayloadObject, ResourcePayloadError } from './resourceBoundary.js';
|
|
5
|
-
|
|
6
|
-
let _initClass;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Runtime-owned Granny resource.
|
|
10
|
-
*
|
|
11
|
-
* The attached plain payload carries decoded Granny data. This resource
|
|
12
|
-
* owns lifecycle identity; reader and engine-specific behavior stays outside.
|
|
13
|
-
*/
|
|
14
|
-
let _TriGrannyRes;
|
|
15
|
-
new class extends _identity {
|
|
16
|
-
static [class TriGrannyRes extends _CjsResource {
|
|
17
|
-
static {
|
|
18
|
-
[_TriGrannyRes, _initClass] = _applyDecs2311(this, [type.define({
|
|
19
|
-
className: "TriGrannyRes",
|
|
20
|
-
family: "resources"
|
|
21
|
-
})], [], 0, void 0, _CjsResource).c;
|
|
22
|
-
}
|
|
23
|
-
SetPayload(payload = null) {
|
|
24
|
-
if (payload === null) {
|
|
25
|
-
super.SetPayload(null);
|
|
26
|
-
return this;
|
|
27
|
-
}
|
|
28
|
-
AssertResourcePayloadObject("TriGrannyRes", payload);
|
|
29
|
-
if (!Array.isArray(payload.models) && !Array.isArray(payload.meshes)) {
|
|
30
|
-
throw ResourcePayloadError("TriGrannyRes", "Expected a models or meshes array.", "models");
|
|
31
|
-
}
|
|
32
|
-
super.SetPayload(payload);
|
|
33
|
-
return this;
|
|
34
|
-
}
|
|
35
|
-
}];
|
|
36
|
-
payload = "granny";
|
|
37
|
-
constructor() {
|
|
38
|
-
super(_TriGrannyRes), _initClass();
|
|
39
|
-
}
|
|
40
|
-
}();
|
|
41
|
-
|
|
42
|
-
export { _TriGrannyRes as TriGrannyRes };
|
|
43
|
-
//# sourceMappingURL=TriGrannyRes.js.map
|
|
1
|
+
import { identity as _identity, applyDecs2311 as _applyDecs2311 } from '../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
+
import { CjsResource as _CjsResource } from '../CjsResource.js';
|
|
4
|
+
import { AssertResourcePayloadObject, ResourcePayloadError } from './resourceBoundary.js';
|
|
5
|
+
|
|
6
|
+
let _initClass;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Runtime-owned Granny resource.
|
|
10
|
+
*
|
|
11
|
+
* The attached plain payload carries decoded Granny data. This resource
|
|
12
|
+
* owns lifecycle identity; reader and engine-specific behavior stays outside.
|
|
13
|
+
*/
|
|
14
|
+
let _TriGrannyRes;
|
|
15
|
+
new class extends _identity {
|
|
16
|
+
static [class TriGrannyRes extends _CjsResource {
|
|
17
|
+
static {
|
|
18
|
+
[_TriGrannyRes, _initClass] = _applyDecs2311(this, [type.define({
|
|
19
|
+
className: "TriGrannyRes",
|
|
20
|
+
family: "resources"
|
|
21
|
+
})], [], 0, void 0, _CjsResource).c;
|
|
22
|
+
}
|
|
23
|
+
SetPayload(payload = null) {
|
|
24
|
+
if (payload === null) {
|
|
25
|
+
super.SetPayload(null);
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
AssertResourcePayloadObject("TriGrannyRes", payload);
|
|
29
|
+
if (!Array.isArray(payload.models) && !Array.isArray(payload.meshes)) {
|
|
30
|
+
throw ResourcePayloadError("TriGrannyRes", "Expected a models or meshes array.", "models");
|
|
31
|
+
}
|
|
32
|
+
super.SetPayload(payload);
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
}];
|
|
36
|
+
payload = "granny";
|
|
37
|
+
constructor() {
|
|
38
|
+
super(_TriGrannyRes), _initClass();
|
|
39
|
+
}
|
|
40
|
+
}();
|
|
41
|
+
|
|
42
|
+
export { _TriGrannyRes as TriGrannyRes };
|
|
43
|
+
//# sourceMappingURL=TriGrannyRes.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { applyDecs2311 as _applyDecs2311 } from '
|
|
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_obbMin, _init_extra_obbMin, _init_obbMax, _init_extra_obbMax;
|
|
7
|
-
|
|
8
|
-
/** TriJointBinding (resources) -
|
|
9
|
-
let _TriJointBinding;
|
|
10
|
-
class TriJointBinding extends CjsModel {
|
|
11
|
-
static {
|
|
12
|
-
({
|
|
13
|
-
e: [_init_name, _init_extra_name, _init_obbMin, _init_extra_obbMin, _init_obbMax, _init_extra_obbMax],
|
|
14
|
-
c: [_TriJointBinding, _initClass]
|
|
15
|
-
} = _applyDecs2311(this, [type.define({
|
|
16
|
-
className: "TriJointBinding",
|
|
17
|
-
family: "resources"
|
|
18
|
-
})], [[[type, type.string], 16, "name"], [[type, type.vec3], 16, "obbMin"], [[type, type.vec3], 16, "obbMax"]], 0, void 0, CjsModel));
|
|
19
|
-
}
|
|
20
|
-
constructor(...args) {
|
|
21
|
-
super(...args);
|
|
22
|
-
_init_extra_obbMax(this);
|
|
23
|
-
}
|
|
24
|
-
/** m_name (std::string) */
|
|
25
|
-
name = _init_name(this, "");
|
|
26
|
-
|
|
27
|
-
/** m_obbMin (Vector3) */
|
|
28
|
-
obbMin = (_init_extra_name(this), _init_obbMin(this, vec3.create()));
|
|
29
|
-
|
|
30
|
-
/** m_obbMax (Vector3) */
|
|
31
|
-
obbMax = (_init_extra_obbMin(this), _init_obbMax(this, vec3.create()));
|
|
32
|
-
static {
|
|
33
|
-
_initClass();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { _TriJointBinding as TriJointBinding };
|
|
38
|
-
//# sourceMappingURL=TriJointBinding.js.map
|
|
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_obbMin, _init_extra_obbMin, _init_obbMax, _init_extra_obbMax;
|
|
7
|
+
|
|
8
|
+
/** TriJointBinding (resources) - maintained from schema shapeHash 8459bced.... */
|
|
9
|
+
let _TriJointBinding;
|
|
10
|
+
class TriJointBinding extends CjsModel {
|
|
11
|
+
static {
|
|
12
|
+
({
|
|
13
|
+
e: [_init_name, _init_extra_name, _init_obbMin, _init_extra_obbMin, _init_obbMax, _init_extra_obbMax],
|
|
14
|
+
c: [_TriJointBinding, _initClass]
|
|
15
|
+
} = _applyDecs2311(this, [type.define({
|
|
16
|
+
className: "TriJointBinding",
|
|
17
|
+
family: "resources"
|
|
18
|
+
})], [[[type, type.string], 16, "name"], [[type, type.vec3], 16, "obbMin"], [[type, type.vec3], 16, "obbMax"]], 0, void 0, CjsModel));
|
|
19
|
+
}
|
|
20
|
+
constructor(...args) {
|
|
21
|
+
super(...args);
|
|
22
|
+
_init_extra_obbMax(this);
|
|
23
|
+
}
|
|
24
|
+
/** m_name (std::string) */
|
|
25
|
+
name = _init_name(this, "");
|
|
26
|
+
|
|
27
|
+
/** m_obbMin (Vector3) */
|
|
28
|
+
obbMin = (_init_extra_name(this), _init_obbMin(this, vec3.create()));
|
|
29
|
+
|
|
30
|
+
/** m_obbMax (Vector3) */
|
|
31
|
+
obbMax = (_init_extra_obbMin(this), _init_obbMax(this, vec3.create()));
|
|
32
|
+
static {
|
|
33
|
+
_initClass();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { _TriJointBinding as TriJointBinding };
|
|
38
|
+
//# sourceMappingURL=TriJointBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriJointBinding.js","sources":["../../../src/resources/TriJointBinding.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriJointBinding.json; maintained by runtime-resource.\r\nimport { type } from \"@carbonenginejs/core-types/schema\";\r\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\r\nimport { vec3 } from \"@carbonenginejs/core-math/vec3\";\r\n\r\n/** TriJointBinding (resources) - maintained from schema shapeHash 8459bced.... */\r\n@type.define({ className: \"TriJointBinding\", family: \"resources\" })\r\nexport class TriJointBinding extends CjsModel\r\n{\r\n\r\n /** m_name (std::string) */\r\n @type.string\r\n name = \"\";\r\n\r\n /** m_obbMin (Vector3) */\r\n @type.vec3\r\n obbMin = vec3.create();\r\n\r\n /** m_obbMax (Vector3) */\r\n @type.vec3\r\n obbMax = vec3.create();\r\n\r\n}\r\n"],"names":["_TriJointBinding","TriJointBinding","CjsModel","e","_init_name","_init_extra_name","_init_obbMin","_init_extra_obbMin","_init_obbMax","_init_extra_obbMax","c","_initClass","_applyDecs","type","define","className","family","string","vec3","constructor","args","name","obbMin","create","obbMax"],"mappings":";;;;;;;AAMA;AAAA,IAAAA;AACA,MAAAC,eAAA,SACqCC,QAAQ,CAC7C;AAAA,EAAA;AAAA,IAAA,CAAA;MAAAC,CAAA,EAAA,CAAAC,UAAA,EAAAC,gBAAA,EAAAC,YAAA,EAAAC,kBAAA,EAAAC,YAAA,EAAAC,kBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAV,gBAAA,EAAAW,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,iBAAiB;AAAEC,MAAAA,MAAM,EAAE;KAAa,CAAC,MAKhEH,IAAI,EAAJA,IAAI,CAACI,MAAM,kBAIXJ,IAAI,EAAJA,IAAI,CAACK,IAAI,oBAITL,IAAI,EAAJA,IAAI,CAACK,IAAI,8BAZyBhB,QAAQ,CAAA;AAAA;AAAAiB,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAX,kBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAG3C;EAEAY,IAAI,GAAAjB,UAAA,CAAA,IAAA,EAAG,EAAE,CAAA;;AAET;EAEAkB,MAAM,IAAAjB,gBAAA,CAAA,IAAA,CAAA,EAAAC,YAAA,OAAGY,IAAI,CAACK,MAAM,EAAE,CAAA;;AAEtB;EAEAC,MAAM,IAAAjB,kBAAA,CAAA,IAAA,CAAA,EAAAC,YAAA,OAAGU,IAAI,CAACK,MAAM,EAAE,CAAA;AAAC,EAAA;IAAAZ,UAAA,EAAA;AAAA;AAEzB;;;;"}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { applyDecs2311 as _applyDecs2311 } from '
|
|
2
|
-
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
-
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
-
|
|
5
|
-
let _initClass, _init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_vertexCount, _init_extra_vertexCount;
|
|
6
|
-
|
|
7
|
-
/** TriMorphTargetGeometryConstants (resources) -
|
|
8
|
-
let _TriMorphTargetGeomet;
|
|
9
|
-
class TriMorphTargetGeometryConstants extends CjsModel {
|
|
10
|
-
static {
|
|
11
|
-
({
|
|
12
|
-
e: [_init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_vertexCount, _init_extra_vertexCount],
|
|
13
|
-
c: [_TriMorphTargetGeomet, _initClass]
|
|
14
|
-
} = _applyDecs2311(this, [type.define({
|
|
15
|
-
className: "TriMorphTargetGeometryConstants",
|
|
16
|
-
family: "resources"
|
|
17
|
-
})], [[[type, type.uint32], 16, "vertexBufferStride"], [[type, type.uint32], 16, "positionOffset"], [[type, type.uint32], 16, "positionType"], [[type, type.uint32], 16, "tangentOffset"], [[type, type.uint32], 16, "tangentType"], [[type, type.uint32], 16, "vertexCount"]], 0, void 0, CjsModel));
|
|
18
|
-
}
|
|
19
|
-
constructor(...args) {
|
|
20
|
-
super(...args);
|
|
21
|
-
_init_extra_vertexCount(this);
|
|
22
|
-
}
|
|
23
|
-
/** vertexBufferStride (uint32_t) */
|
|
24
|
-
vertexBufferStride = _init_vertexBufferStride(this, 0);
|
|
25
|
-
|
|
26
|
-
/** positionOffset (uint32_t) */
|
|
27
|
-
positionOffset = (_init_extra_vertexBufferStride(this), _init_positionOffset(this, 0));
|
|
28
|
-
|
|
29
|
-
/** positionType (uint32_t) */
|
|
30
|
-
positionType = (_init_extra_positionOffset(this), _init_positionType(this, 0));
|
|
31
|
-
|
|
32
|
-
/** tangentOffset (uint32_t) */
|
|
33
|
-
tangentOffset = (_init_extra_positionType(this), _init_tangentOffset(this, 0));
|
|
34
|
-
|
|
35
|
-
/** tangentType (uint32_t) */
|
|
36
|
-
tangentType = (_init_extra_tangentOffset(this), _init_tangentType(this, 0));
|
|
37
|
-
|
|
38
|
-
/** vertexCount (uint32_t) */
|
|
39
|
-
vertexCount = (_init_extra_tangentType(this), _init_vertexCount(this, 0));
|
|
40
|
-
static {
|
|
41
|
-
_initClass();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export { _TriMorphTargetGeomet as TriMorphTargetGeometryConstants };
|
|
46
|
-
//# sourceMappingURL=TriMorphTargetGeometryConstants.js.map
|
|
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_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_vertexCount, _init_extra_vertexCount;
|
|
6
|
+
|
|
7
|
+
/** TriMorphTargetGeometryConstants (resources) - maintained from schema shapeHash d650628c.... */
|
|
8
|
+
let _TriMorphTargetGeomet;
|
|
9
|
+
class TriMorphTargetGeometryConstants extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_vertexCount, _init_extra_vertexCount],
|
|
13
|
+
c: [_TriMorphTargetGeomet, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "TriMorphTargetGeometryConstants",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[type, type.uint32], 16, "vertexBufferStride"], [[type, type.uint32], 16, "positionOffset"], [[type, type.uint32], 16, "positionType"], [[type, type.uint32], 16, "tangentOffset"], [[type, type.uint32], 16, "tangentType"], [[type, type.uint32], 16, "vertexCount"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_vertexCount(this);
|
|
22
|
+
}
|
|
23
|
+
/** vertexBufferStride (uint32_t) */
|
|
24
|
+
vertexBufferStride = _init_vertexBufferStride(this, 0);
|
|
25
|
+
|
|
26
|
+
/** positionOffset (uint32_t) */
|
|
27
|
+
positionOffset = (_init_extra_vertexBufferStride(this), _init_positionOffset(this, 0));
|
|
28
|
+
|
|
29
|
+
/** positionType (uint32_t) */
|
|
30
|
+
positionType = (_init_extra_positionOffset(this), _init_positionType(this, 0));
|
|
31
|
+
|
|
32
|
+
/** tangentOffset (uint32_t) */
|
|
33
|
+
tangentOffset = (_init_extra_positionType(this), _init_tangentOffset(this, 0));
|
|
34
|
+
|
|
35
|
+
/** tangentType (uint32_t) */
|
|
36
|
+
tangentType = (_init_extra_tangentOffset(this), _init_tangentType(this, 0));
|
|
37
|
+
|
|
38
|
+
/** vertexCount (uint32_t) */
|
|
39
|
+
vertexCount = (_init_extra_tangentType(this), _init_vertexCount(this, 0));
|
|
40
|
+
static {
|
|
41
|
+
_initClass();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { _TriMorphTargetGeomet as TriMorphTargetGeometryConstants };
|
|
46
|
+
//# sourceMappingURL=TriMorphTargetGeometryConstants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriMorphTargetGeometryConstants.js","sources":["../../../src/resources/TriMorphTargetGeometryConstants.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriMorphTargetGeometryConstants.json; maintained by runtime-resource.\r\nimport { type } from \"@carbonenginejs/core-types/schema\";\r\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\r\n\r\n/** TriMorphTargetGeometryConstants (resources) - maintained from schema shapeHash d650628c.... */\r\n@type.define({ className: \"TriMorphTargetGeometryConstants\", family: \"resources\" })\r\nexport class TriMorphTargetGeometryConstants extends CjsModel\r\n{\r\n\r\n /** vertexBufferStride (uint32_t) */\r\n @type.uint32\r\n vertexBufferStride = 0;\r\n\r\n /** positionOffset (uint32_t) */\r\n @type.uint32\r\n positionOffset = 0;\r\n\r\n /** positionType (uint32_t) */\r\n @type.uint32\r\n positionType = 0;\r\n\r\n /** tangentOffset (uint32_t) */\r\n @type.uint32\r\n tangentOffset = 0;\r\n\r\n /** tangentType (uint32_t) */\r\n @type.uint32\r\n tangentType = 0;\r\n\r\n /** vertexCount (uint32_t) */\r\n @type.uint32\r\n vertexCount = 0;\r\n\r\n}\r\n"],"names":["_TriMorphTargetGeomet","TriMorphTargetGeometryConstants","CjsModel","e","_init_vertexBufferStride","_init_extra_vertexBufferStride","_init_positionOffset","_init_extra_positionOffset","_init_positionType","_init_extra_positionType","_init_tangentOffset","_init_extra_tangentOffset","_init_tangentType","_init_extra_tangentType","_init_vertexCount","_init_extra_vertexCount","c","_initClass","_applyDecs","type","define","className","family","uint32","constructor","args","vertexBufferStride","positionOffset","positionType","tangentOffset","tangentType","vertexCount"],"mappings":";;;;;;AAKA;AAAA,IAAAA;AACA,MAAAC,+BAAA,SACqDC,QAAQ,CAC7D;AAAA,EAAA;AAAA,IAAA,CAAA;MAAAC,CAAA,EAAA,CAAAC,wBAAA,EAAAC,8BAAA,EAAAC,oBAAA,EAAAC,0BAAA,EAAAC,kBAAA,EAAAC,wBAAA,EAAAC,mBAAA,EAAAC,yBAAA,EAAAC,iBAAA,EAAAC,uBAAA,EAAAC,iBAAA,EAAAC,uBAAA,CAAA;MAAAC,CAAA,EAAA,CAAAhB,qBAAA,EAAAiB,UAAA;AAAA,KAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,CAFCC,IAAI,CAACC,MAAM,CAAC;AAAEC,MAAAA,SAAS,EAAE,iCAAiC;AAAEC,MAAAA,MAAM,EAAE;AAAY,KAAC,CAAC,CAAA,EAAA,CAAA,CAAA,CAKhFH,IAAI,EAAJA,IAAI,CAACI,MAAM,CAAA,EAAA,EAAA,EAAA,oBAAA,CAAA,EAAA,CAAA,CAIXJ,IAAI,EAAJA,IAAI,CAACI,MAAM,4BAIXJ,IAAI,EAAJA,IAAI,CAACI,MAAM,CAAA,EAAA,EAAA,EAAA,cAAA,CAAA,EAAA,CAAA,CAIXJ,IAAI,EAAJA,IAAI,CAACI,MAAM,CAAA,EAAA,EAAA,EAAA,eAAA,CAAA,EAAA,CAAA,CAIXJ,IAAI,EAAJA,IAAI,CAACI,MAAM,yBAIXJ,IAAI,EAAJA,IAAI,CAACI,MAAM,mCAxBuCrB,QAAQ,CAAA;AAAA;AAAAsB,EAAAA,WAAAA,CAAA,GAAAC,IAAA,EAAA;AAAA,IAAA,KAAA,CAAA,GAAAA,IAAA,CAAA;IAAAV,uBAAA,CAAA,IAAA,CAAA;AAAA,EAAA;AAG3D;EAEAW,kBAAkB,GAAAtB,wBAAA,CAAA,IAAA,EAAG,CAAC,CAAA;;AAEtB;AAEAuB,EAAAA,cAAc,IAAAtB,8BAAA,CAAA,IAAA,CAAA,EAAAC,oBAAA,OAAG,CAAC,CAAA;;AAElB;AAEAsB,EAAAA,YAAY,IAAArB,0BAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA,OAAG,CAAC,CAAA;;AAEhB;AAEAqB,EAAAA,aAAa,IAAApB,wBAAA,CAAA,IAAA,CAAA,EAAAC,mBAAA,OAAG,CAAC,CAAA;;AAEjB;AAEAoB,EAAAA,WAAW,IAAAnB,yBAAA,CAAA,IAAA,CAAA,EAAAC,iBAAA,OAAG,CAAC,CAAA;;AAEf;AAEAmB,EAAAA,WAAW,IAAAlB,uBAAA,CAAA,IAAA,CAAA,EAAAC,iBAAA,OAAG,CAAC,CAAA;AAAC,EAAA;IAAAG,UAAA,EAAA;AAAA;AAElB;;;;"}
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
import { applyDecs2311 as _applyDecs2311 } from '
|
|
2
|
-
import { type } from '@carbonenginejs/core-types/schema';
|
|
3
|
-
import { CjsModel } from '@carbonenginejs/core-types/model';
|
|
4
|
-
|
|
5
|
-
let _initClass, _init_indexBufferId, _init_extra_indexBufferId, _init_indexBufferStride, _init_extra_indexBufferStride, _init_indexOffset, _init_extra_indexOffset, _init_vertexBufferId, _init_extra_vertexBufferId, _init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_normalOffset, _init_extra_normalOffset, _init_normalType, _init_extra_normalType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_bitangentOffset, _init_extra_bitangentOffset, _init_bitangentType, _init_extra_bitangentType, _init_texCoord0Offset, _init_extra_texCoord0Offset, _init_texCoord0Type, _init_extra_texCoord0Type, _init_texCoord1Offset, _init_extra_texCoord1Offset, _init_texCoord1Type, _init_extra_texCoord1Type, _init_texCoord2Offset, _init_extra_texCoord2Offset, _init_texCoord2Type, _init_extra_texCoord2Type, _init_padding, _init_extra_padding;
|
|
6
|
-
|
|
7
|
-
/** TriRtGeometryConstants (resources) -
|
|
8
|
-
let _TriRtGeometryConstan;
|
|
9
|
-
class TriRtGeometryConstants extends CjsModel {
|
|
10
|
-
static {
|
|
11
|
-
({
|
|
12
|
-
e: [_init_indexBufferId, _init_extra_indexBufferId, _init_indexBufferStride, _init_extra_indexBufferStride, _init_indexOffset, _init_extra_indexOffset, _init_vertexBufferId, _init_extra_vertexBufferId, _init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_normalOffset, _init_extra_normalOffset, _init_normalType, _init_extra_normalType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_bitangentOffset, _init_extra_bitangentOffset, _init_bitangentType, _init_extra_bitangentType, _init_texCoord0Offset, _init_extra_texCoord0Offset, _init_texCoord0Type, _init_extra_texCoord0Type, _init_texCoord1Offset, _init_extra_texCoord1Offset, _init_texCoord1Type, _init_extra_texCoord1Type, _init_texCoord2Offset, _init_extra_texCoord2Offset, _init_texCoord2Type, _init_extra_texCoord2Type, _init_padding, _init_extra_padding],
|
|
13
|
-
c: [_TriRtGeometryConstan, _initClass]
|
|
14
|
-
} = _applyDecs2311(this, [type.define({
|
|
15
|
-
className: "TriRtGeometryConstants",
|
|
16
|
-
family: "resources"
|
|
17
|
-
})], [[[type, type.uint32], 16, "indexBufferId"], [[type, type.uint32], 16, "indexBufferStride"], [[type, type.uint32], 16, "indexOffset"], [[type, type.uint32], 16, "vertexBufferId"], [[type, type.uint32], 16, "vertexBufferStride"], [[type, type.uint32], 16, "positionOffset"], [[type, type.uint32], 16, "positionType"], [[type, type.uint32], 16, "normalOffset"], [[type, type.uint32], 16, "normalType"], [[type, type.uint32], 16, "tangentOffset"], [[type, type.uint32], 16, "tangentType"], [[type, type.uint32], 16, "bitangentOffset"], [[type, type.uint32], 16, "bitangentType"], [[type, type.uint32], 16, "texCoord0Offset"], [[type, type.uint32], 16, "texCoord0Type"], [[type, type.uint32], 16, "texCoord1Offset"], [[type, type.uint32], 16, "texCoord1Type"], [[type, type.uint32], 16, "texCoord2Offset"], [[type, type.uint32], 16, "texCoord2Type"], [[type, type.uint32], 16, "padding"]], 0, void 0, CjsModel));
|
|
18
|
-
}
|
|
19
|
-
constructor(...args) {
|
|
20
|
-
super(...args);
|
|
21
|
-
_init_extra_padding(this);
|
|
22
|
-
}
|
|
23
|
-
/** indexBufferId (uint32_t) */
|
|
24
|
-
indexBufferId = _init_indexBufferId(this, 0);
|
|
25
|
-
|
|
26
|
-
/** indexBufferStride (uint32_t) */
|
|
27
|
-
indexBufferStride = (_init_extra_indexBufferId(this), _init_indexBufferStride(this, 0));
|
|
28
|
-
|
|
29
|
-
/** indexOffset (uint32_t) */
|
|
30
|
-
indexOffset = (_init_extra_indexBufferStride(this), _init_indexOffset(this, 0));
|
|
31
|
-
|
|
32
|
-
/** vertexBufferId (uint32_t) */
|
|
33
|
-
vertexBufferId = (_init_extra_indexOffset(this), _init_vertexBufferId(this, 0));
|
|
34
|
-
|
|
35
|
-
/** vertexBufferStride (uint32_t) */
|
|
36
|
-
vertexBufferStride = (_init_extra_vertexBufferId(this), _init_vertexBufferStride(this, 0));
|
|
37
|
-
|
|
38
|
-
/** positionOffset (uint32_t) */
|
|
39
|
-
positionOffset = (_init_extra_vertexBufferStride(this), _init_positionOffset(this, 0));
|
|
40
|
-
|
|
41
|
-
/** positionType (uint32_t) */
|
|
42
|
-
positionType = (_init_extra_positionOffset(this), _init_positionType(this, 0));
|
|
43
|
-
|
|
44
|
-
/** normalOffset (uint32_t) */
|
|
45
|
-
normalOffset = (_init_extra_positionType(this), _init_normalOffset(this, 0));
|
|
46
|
-
|
|
47
|
-
/** normalType (uint32_t) */
|
|
48
|
-
normalType = (_init_extra_normalOffset(this), _init_normalType(this, 0));
|
|
49
|
-
|
|
50
|
-
/** tangentOffset (uint32_t) */
|
|
51
|
-
tangentOffset = (_init_extra_normalType(this), _init_tangentOffset(this, 0));
|
|
52
|
-
|
|
53
|
-
/** tangentType (uint32_t) */
|
|
54
|
-
tangentType = (_init_extra_tangentOffset(this), _init_tangentType(this, 0));
|
|
55
|
-
|
|
56
|
-
/** bitangentOffset (uint32_t) */
|
|
57
|
-
bitangentOffset = (_init_extra_tangentType(this), _init_bitangentOffset(this, 0));
|
|
58
|
-
|
|
59
|
-
/** bitangentType (uint32_t) */
|
|
60
|
-
bitangentType = (_init_extra_bitangentOffset(this), _init_bitangentType(this, 0));
|
|
61
|
-
|
|
62
|
-
/** texCoord0Offset (uint32_t) */
|
|
63
|
-
texCoord0Offset = (_init_extra_bitangentType(this), _init_texCoord0Offset(this, 0));
|
|
64
|
-
|
|
65
|
-
/** texCoord0Type (uint32_t) */
|
|
66
|
-
texCoord0Type = (_init_extra_texCoord0Offset(this), _init_texCoord0Type(this, 0));
|
|
67
|
-
|
|
68
|
-
/** texCoord1Offset (uint32_t) */
|
|
69
|
-
texCoord1Offset = (_init_extra_texCoord0Type(this), _init_texCoord1Offset(this, 0));
|
|
70
|
-
|
|
71
|
-
/** texCoord1Type (uint32_t) */
|
|
72
|
-
texCoord1Type = (_init_extra_texCoord1Offset(this), _init_texCoord1Type(this, 0));
|
|
73
|
-
|
|
74
|
-
/** texCoord2Offset (uint32_t) */
|
|
75
|
-
texCoord2Offset = (_init_extra_texCoord1Type(this), _init_texCoord2Offset(this, 0));
|
|
76
|
-
|
|
77
|
-
/** texCoord2Type (uint32_t) */
|
|
78
|
-
texCoord2Type = (_init_extra_texCoord2Offset(this), _init_texCoord2Type(this, 0));
|
|
79
|
-
|
|
80
|
-
/** padding (uint32_t) */
|
|
81
|
-
padding = (_init_extra_texCoord2Type(this), _init_padding(this, 0));
|
|
82
|
-
static {
|
|
83
|
-
_initClass();
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export { _TriRtGeometryConstan as TriRtGeometryConstants };
|
|
88
|
-
//# sourceMappingURL=TriRtGeometryConstants.js.map
|
|
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_indexBufferId, _init_extra_indexBufferId, _init_indexBufferStride, _init_extra_indexBufferStride, _init_indexOffset, _init_extra_indexOffset, _init_vertexBufferId, _init_extra_vertexBufferId, _init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_normalOffset, _init_extra_normalOffset, _init_normalType, _init_extra_normalType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_bitangentOffset, _init_extra_bitangentOffset, _init_bitangentType, _init_extra_bitangentType, _init_texCoord0Offset, _init_extra_texCoord0Offset, _init_texCoord0Type, _init_extra_texCoord0Type, _init_texCoord1Offset, _init_extra_texCoord1Offset, _init_texCoord1Type, _init_extra_texCoord1Type, _init_texCoord2Offset, _init_extra_texCoord2Offset, _init_texCoord2Type, _init_extra_texCoord2Type, _init_padding, _init_extra_padding;
|
|
6
|
+
|
|
7
|
+
/** TriRtGeometryConstants (resources) - maintained from schema shapeHash cb7de752.... */
|
|
8
|
+
let _TriRtGeometryConstan;
|
|
9
|
+
class TriRtGeometryConstants extends CjsModel {
|
|
10
|
+
static {
|
|
11
|
+
({
|
|
12
|
+
e: [_init_indexBufferId, _init_extra_indexBufferId, _init_indexBufferStride, _init_extra_indexBufferStride, _init_indexOffset, _init_extra_indexOffset, _init_vertexBufferId, _init_extra_vertexBufferId, _init_vertexBufferStride, _init_extra_vertexBufferStride, _init_positionOffset, _init_extra_positionOffset, _init_positionType, _init_extra_positionType, _init_normalOffset, _init_extra_normalOffset, _init_normalType, _init_extra_normalType, _init_tangentOffset, _init_extra_tangentOffset, _init_tangentType, _init_extra_tangentType, _init_bitangentOffset, _init_extra_bitangentOffset, _init_bitangentType, _init_extra_bitangentType, _init_texCoord0Offset, _init_extra_texCoord0Offset, _init_texCoord0Type, _init_extra_texCoord0Type, _init_texCoord1Offset, _init_extra_texCoord1Offset, _init_texCoord1Type, _init_extra_texCoord1Type, _init_texCoord2Offset, _init_extra_texCoord2Offset, _init_texCoord2Type, _init_extra_texCoord2Type, _init_padding, _init_extra_padding],
|
|
13
|
+
c: [_TriRtGeometryConstan, _initClass]
|
|
14
|
+
} = _applyDecs2311(this, [type.define({
|
|
15
|
+
className: "TriRtGeometryConstants",
|
|
16
|
+
family: "resources"
|
|
17
|
+
})], [[[type, type.uint32], 16, "indexBufferId"], [[type, type.uint32], 16, "indexBufferStride"], [[type, type.uint32], 16, "indexOffset"], [[type, type.uint32], 16, "vertexBufferId"], [[type, type.uint32], 16, "vertexBufferStride"], [[type, type.uint32], 16, "positionOffset"], [[type, type.uint32], 16, "positionType"], [[type, type.uint32], 16, "normalOffset"], [[type, type.uint32], 16, "normalType"], [[type, type.uint32], 16, "tangentOffset"], [[type, type.uint32], 16, "tangentType"], [[type, type.uint32], 16, "bitangentOffset"], [[type, type.uint32], 16, "bitangentType"], [[type, type.uint32], 16, "texCoord0Offset"], [[type, type.uint32], 16, "texCoord0Type"], [[type, type.uint32], 16, "texCoord1Offset"], [[type, type.uint32], 16, "texCoord1Type"], [[type, type.uint32], 16, "texCoord2Offset"], [[type, type.uint32], 16, "texCoord2Type"], [[type, type.uint32], 16, "padding"]], 0, void 0, CjsModel));
|
|
18
|
+
}
|
|
19
|
+
constructor(...args) {
|
|
20
|
+
super(...args);
|
|
21
|
+
_init_extra_padding(this);
|
|
22
|
+
}
|
|
23
|
+
/** indexBufferId (uint32_t) */
|
|
24
|
+
indexBufferId = _init_indexBufferId(this, 0);
|
|
25
|
+
|
|
26
|
+
/** indexBufferStride (uint32_t) */
|
|
27
|
+
indexBufferStride = (_init_extra_indexBufferId(this), _init_indexBufferStride(this, 0));
|
|
28
|
+
|
|
29
|
+
/** indexOffset (uint32_t) */
|
|
30
|
+
indexOffset = (_init_extra_indexBufferStride(this), _init_indexOffset(this, 0));
|
|
31
|
+
|
|
32
|
+
/** vertexBufferId (uint32_t) */
|
|
33
|
+
vertexBufferId = (_init_extra_indexOffset(this), _init_vertexBufferId(this, 0));
|
|
34
|
+
|
|
35
|
+
/** vertexBufferStride (uint32_t) */
|
|
36
|
+
vertexBufferStride = (_init_extra_vertexBufferId(this), _init_vertexBufferStride(this, 0));
|
|
37
|
+
|
|
38
|
+
/** positionOffset (uint32_t) */
|
|
39
|
+
positionOffset = (_init_extra_vertexBufferStride(this), _init_positionOffset(this, 0));
|
|
40
|
+
|
|
41
|
+
/** positionType (uint32_t) */
|
|
42
|
+
positionType = (_init_extra_positionOffset(this), _init_positionType(this, 0));
|
|
43
|
+
|
|
44
|
+
/** normalOffset (uint32_t) */
|
|
45
|
+
normalOffset = (_init_extra_positionType(this), _init_normalOffset(this, 0));
|
|
46
|
+
|
|
47
|
+
/** normalType (uint32_t) */
|
|
48
|
+
normalType = (_init_extra_normalOffset(this), _init_normalType(this, 0));
|
|
49
|
+
|
|
50
|
+
/** tangentOffset (uint32_t) */
|
|
51
|
+
tangentOffset = (_init_extra_normalType(this), _init_tangentOffset(this, 0));
|
|
52
|
+
|
|
53
|
+
/** tangentType (uint32_t) */
|
|
54
|
+
tangentType = (_init_extra_tangentOffset(this), _init_tangentType(this, 0));
|
|
55
|
+
|
|
56
|
+
/** bitangentOffset (uint32_t) */
|
|
57
|
+
bitangentOffset = (_init_extra_tangentType(this), _init_bitangentOffset(this, 0));
|
|
58
|
+
|
|
59
|
+
/** bitangentType (uint32_t) */
|
|
60
|
+
bitangentType = (_init_extra_bitangentOffset(this), _init_bitangentType(this, 0));
|
|
61
|
+
|
|
62
|
+
/** texCoord0Offset (uint32_t) */
|
|
63
|
+
texCoord0Offset = (_init_extra_bitangentType(this), _init_texCoord0Offset(this, 0));
|
|
64
|
+
|
|
65
|
+
/** texCoord0Type (uint32_t) */
|
|
66
|
+
texCoord0Type = (_init_extra_texCoord0Offset(this), _init_texCoord0Type(this, 0));
|
|
67
|
+
|
|
68
|
+
/** texCoord1Offset (uint32_t) */
|
|
69
|
+
texCoord1Offset = (_init_extra_texCoord0Type(this), _init_texCoord1Offset(this, 0));
|
|
70
|
+
|
|
71
|
+
/** texCoord1Type (uint32_t) */
|
|
72
|
+
texCoord1Type = (_init_extra_texCoord1Offset(this), _init_texCoord1Type(this, 0));
|
|
73
|
+
|
|
74
|
+
/** texCoord2Offset (uint32_t) */
|
|
75
|
+
texCoord2Offset = (_init_extra_texCoord1Type(this), _init_texCoord2Offset(this, 0));
|
|
76
|
+
|
|
77
|
+
/** texCoord2Type (uint32_t) */
|
|
78
|
+
texCoord2Type = (_init_extra_texCoord2Offset(this), _init_texCoord2Type(this, 0));
|
|
79
|
+
|
|
80
|
+
/** padding (uint32_t) */
|
|
81
|
+
padding = (_init_extra_texCoord2Type(this), _init_padding(this, 0));
|
|
82
|
+
static {
|
|
83
|
+
_initClass();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export { _TriRtGeometryConstan as TriRtGeometryConstants };
|
|
88
|
+
//# sourceMappingURL=TriRtGeometryConstants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriRtGeometryConstants.js","sources":["../../../src/resources/TriRtGeometryConstants.js"],"sourcesContent":["// Source: trinity/trinity/Resources/TriGeometryRes.h\r\n// Schema: format-carbon resources/TriRtGeometryConstants.json; maintained by runtime-resource.\r\nimport { type } from \"@carbonenginejs/core-types/schema\";\r\nimport { CjsModel } from \"@carbonenginejs/core-types/model\";\r\n\r\n/** TriRtGeometryConstants (resources) - maintained from schema shapeHash cb7de752.... */\r\n@type.define({ className: \"TriRtGeometryConstants\", family: \"resources\" })\r\nexport class TriRtGeometryConstants extends CjsModel\r\n{\r\n\r\n /** indexBufferId (uint32_t) */\r\n @type.uint32\r\n indexBufferId = 0;\r\n\r\n /** indexBufferStride (uint32_t) */\r\n @type.uint32\r\n indexBufferStride = 0;\r\n\r\n /** indexOffset (uint32_t) */\r\n @type.uint32\r\n indexOffset = 0;\r\n\r\n /** vertexBufferId (uint32_t) */\r\n @type.uint32\r\n vertexBufferId = 0;\r\n\r\n /** vertexBufferStride (uint32_t) */\r\n @type.uint32\r\n vertexBufferStride = 0;\r\n\r\n /** positionOffset (uint32_t) */\r\n @type.uint32\r\n positionOffset = 0;\r\n\r\n /** positionType (uint32_t) */\r\n @type.uint32\r\n positionType = 0;\r\n\r\n /** normalOffset (uint32_t) */\r\n @type.uint32\r\n normalOffset = 0;\r\n\r\n /** normalType (uint32_t) */\r\n @type.uint32\r\n normalType = 0;\r\n\r\n /** tangentOffset (uint32_t) */\r\n @type.uint32\r\n tangentOffset = 0;\r\n\r\n /** tangentType (uint32_t) */\r\n @type.uint32\r\n tangentType = 0;\r\n\r\n /** bitangentOffset (uint32_t) */\r\n @type.uint32\r\n bitangentOffset = 0;\r\n\r\n /** bitangentType (uint32_t) */\r\n @type.uint32\r\n bitangentType = 0;\r\n\r\n /** texCoord0Offset (uint32_t) */\r\n @type.uint32\r\n texCoord0Offset = 0;\r\n\r\n /** texCoord0Type (uint32_t) */\r\n @type.uint32\r\n texCoord0Type = 0;\r\n\r\n /** texCoord1Offset (uint32_t) */\r\n @type.uint32\r\n texCoord1Offset = 0;\r\n\r\n /** texCoord1Type (uint32_t) */\r\n @type.uint32\r\n texCoord1Type = 0;\r\n\r\n /** texCoord2Offset (uint32_t) */\r\n @type.uint32\r\n texCoord2Offset = 0;\r\n\r\n /** texCoord2Type (uint32_t) */\r\n @type.uint32\r\n texCoord2Type = 0;\r\n\r\n /** padding (uint32_t) */\r\n @type.uint32\r\n padding = 0;\r\n\r\n}\r\n"],"names":["_TriRtGeometryConstan","TriRtGeometryConstants","CjsModel","e","_init_indexBufferId","_init_extra_indexBufferId","_init_indexBufferStride","_init_extra_indexBufferStride","_init_indexOffset","_init_extra_indexOffset","_init_vertexBufferId","_init_extra_vertexBufferId","_init_vertexBufferStride","_init_extra_vertexBufferStride","_init_positionOffset","_init_extra_positionOffset","_init_positionType","_init_extra_positionType","_init_normalOffset","_init_extra_normalOffset","_init_normalType","_init_extra_normalType","_init_tangentOffset","_init_extra_tangentOffset","_init_tangentType","_init_extra_tangentType","_init_bitangentOffset","_init_extra_bitangentOffset","_init_bitangentType","_init_extra_bitangentType","_init_texCoord0Offset","_init_extra_texCoord0Offset","_init_texCoord0Type","_init_extra_texCoord0Type","_init_texCoord1Offset","_init_extra_texCoord1Offset","_init_texCoord1Type","_init_extra_texCoord1Type","_init_texCoord2Offset","_init_extra_texCoord2Offset","_init_texCoord2Type","_init_extra_texCoord2Type","_init_padding","_init_extra_padding","c","_initClass","_applyDecs","type","define","className","family","uint32","constructor","args","indexBufferId","indexBufferStride","indexOffset","vertexBufferId","vertexBufferStride","positionOffset","positionType","normalOffset","normalType","tangentOffset","tangentType","bitangentOffset","bitangentType","texCoord0Offset","texCoord0Type","texCoord1Offset","texCoord1Type","texCoord2Offset","texCoord2Type","padding"],"mappings":"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"}
|