@carbonenginejs/runtime-resource 0.13.0 → 0.15.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/LICENSE +21 -21
- package/NOTICE +32 -32
- package/README.md +129 -129
- package/dist/CjsMotherLode.js +1271 -1271
- package/dist/CjsResMan.js +3858 -3858
- package/dist/CjsResManFetchProvider.js +94 -94
- package/dist/CjsResManWorkQueue.js +301 -301
- package/dist/_virtual/_rollupPluginBabelHelpers.js +150 -150
- package/dist/format/CjsBlueReader.js +358 -358
- package/dist/format/CjsByteReader.js +310 -310
- package/dist/format/CjsByteWriter.js +242 -242
- package/dist/format/CjsFormat.js +223 -223
- package/dist/format/CjsFormatError.js +41 -41
- package/dist/format/CjsReader.js +22 -22
- package/dist/format/CjsResourceProbe.js +279 -279
- package/dist/format/CjsStringTable.js +268 -268
- package/dist/format/carbonEffect/CjsCarbonEffectReader.js +265 -265
- package/dist/format/carbonEffect/CjsCarbonEffectWriter.js +373 -373
- package/dist/format/carbonEffect/buildCarbonEffectContainer.js +182 -182
- package/dist/format/carbonEffect/carbonEffectBackendBlock.js +321 -321
- package/dist/format/carbonEffect/carbonEffectRecords.js +1147 -1147
- package/dist/format/carbonEffect/carbonEffectResourceTransform.js +197 -197
- package/dist/format/compareUtf8.js +36 -36
- package/dist/format/effect/effectBodyInventory.js +146 -146
- package/dist/format/effect/effectPermutationGraph.js +257 -257
- package/dist/format/effect/sha256.js +114 -114
- package/dist/format/index.js +11 -11
- package/dist/format/payloadContract.js +193 -193
- package/dist/formats/black/CjsBlackFormat.js +310 -310
- package/dist/formats/black/core/CjsBlackBinaryReader.js +260 -260
- package/dist/formats/black/core/CjsBlackPropertyReaders.js +448 -448
- package/dist/formats/black/core/CjsBlackReader.js +764 -764
- package/dist/formats/black/core/CjsBlackSchemaRegistry.js +540 -540
- package/dist/formats/black/core/black-schema-v1-2026-07-23.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 +199 -199
- package/dist/formats/black/core/schema.js +4 -4
- package/dist/formats/black/index.js +2 -2
- package/dist/formats/bnk/CjsBnkFormat.js +175 -175
- package/dist/formats/bnk/core/busNodes.js +252 -252
- package/dist/formats/bnk/core/effectNodes.js +147 -147
- package/dist/formats/bnk/core/eventAction.js +416 -416
- package/dist/formats/bnk/core/globalSettings.js +215 -215
- package/dist/formats/bnk/core/graph.js +137 -137
- package/dist/formats/bnk/core/helpers.js +512 -512
- package/dist/formats/bnk/core/musicNodes.js +540 -540
- package/dist/formats/bnk/core/nodeBase.js +553 -553
- package/dist/formats/bnk/core/sfxNodes.js +632 -632
- package/dist/formats/bnk/core/soundbanksInfo.js +209 -209
- package/dist/formats/bnk/index.js +2 -2
- package/dist/formats/cmf/CjsCmfFormat.js +497 -497
- package/dist/formats/cmf/core/binary.js +194 -194
- package/dist/formats/cmf/core/buffers.js +237 -237
- 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 +318 -318
- package/dist/formats/cmf/core/pack.js +276 -276
- package/dist/formats/cmf/core/schema.js +374 -374
- package/dist/formats/cmf/core/shared.js +277 -277
- package/dist/formats/cmf/core/writer.js +571 -571
- package/dist/formats/cmf/index.js +2 -2
- package/dist/formats/dds/CjsDdsFormat.js +200 -200
- package/dist/formats/dds/core/bc6h.js +298 -298
- package/dist/formats/dds/core/bc7.js +272 -272
- package/dist/formats/dds/core/helpers.js +901 -862
- package/dist/formats/dds/core/helpers.js.map +1 -1
- package/dist/formats/dds/index.js +2 -2
- package/dist/formats/dxbc/CjsDxbcFormat.js +187 -142
- package/dist/formats/dxbc/CjsDxbcFormat.js.map +1 -1
- package/dist/formats/dxbc/core/DxbcReader.js +266 -266
- package/dist/formats/dxbc/core/container.js +169 -169
- package/dist/formats/dxbc/core/decoder.js +789 -789
- package/dist/formats/dxbc/core/disassemble.js +240 -0
- package/dist/formats/dxbc/core/disassemble.js.map +1 -0
- package/dist/formats/dxbc/core/errors.js +19 -19
- package/dist/formats/dxbc/core/helpers.js +220 -220
- package/dist/formats/dxbc/core/opcodes.js +45 -45
- package/dist/formats/dxbc/core/program.js +91 -91
- package/dist/formats/dxbc/core/signature.js +172 -172
- package/dist/formats/dxbc/index.js +2 -2
- package/dist/formats/fbx/CjsFbxFormat.js +266 -266
- package/dist/formats/fbx/core/helpers.js +3932 -3932
- package/dist/formats/fbx/index.js +2 -2
- package/dist/formats/flac/CjsFlacFormat.js +142 -142
- package/dist/formats/flac/core/helpers.js +315 -315
- package/dist/formats/flac/index.js +2 -2
- package/dist/formats/gif/CjsGifFormat.js +141 -141
- package/dist/formats/gif/core/helpers.js +380 -380
- package/dist/formats/gif/index.js +2 -2
- package/dist/formats/gltf/CjsGltfFormat.js +252 -290
- package/dist/formats/gltf/CjsGltfFormat.js.map +1 -1
- package/dist/formats/gltf/core/helpers.js +287 -307
- package/dist/formats/gltf/core/helpers.js.map +1 -1
- package/dist/formats/gltf/core/json.js +79 -79
- package/dist/formats/gltf/core/parser.js +679 -679
- package/dist/formats/gltf/core/targets.js +173 -173
- package/dist/formats/gltf/index.js +2 -2
- package/dist/formats/gr2/CjsGr2Format.js +289 -289
- package/dist/formats/gr2/core/bitknit2.js +282 -282
- package/dist/formats/gr2/core/curves.js +1047 -1047
- package/dist/formats/gr2/core/gsf.js +72 -72
- package/dist/formats/gr2/core/helpers.js +352 -352
- package/dist/formats/gr2/core/json.js +622 -622
- package/dist/formats/gr2/core/oodle1.js +388 -388
- package/dist/formats/gr2/core/tangents.js +48 -48
- package/dist/formats/gr2/core/targets.js +361 -361
- package/dist/formats/gr2/index.js +2 -2
- package/dist/formats/hlsl/CjsHlslFormat.js +233 -254
- package/dist/formats/hlsl/CjsHlslFormat.js.map +1 -1
- package/dist/formats/hlsl/core/HlslBinaryUtils.js +15 -15
- package/dist/formats/hlsl/core/HlslEffectReadError.js +19 -19
- package/dist/formats/hlsl/core/HlslEffectStateManager.js +130 -130
- package/dist/formats/hlsl/core/HlslRenderStateSetup.js +37 -37
- package/dist/formats/hlsl/core/HlslResourceSetDescription.js +94 -94
- package/dist/formats/hlsl/core/HlslShaderBytecode.js +44 -44
- package/dist/formats/hlsl/core/analysis.js +51 -51
- package/dist/formats/hlsl/core/carbonDescriptionToRuntime.js +850 -850
- package/dist/formats/hlsl/core/detailMapFamily.js +128 -128
- package/dist/formats/hlsl/core/helpers.js +270 -270
- package/dist/formats/hlsl/core/json.js +284 -284
- package/dist/formats/hlsl/core/localLightFamily.js +133 -133
- package/dist/formats/hlsl/core/metadata.js +327 -327
- package/dist/formats/hlsl/core/render-states.js +280 -280
- package/dist/formats/hlsl/core/tr2/HlslRenderContextEnum.js +43 -43
- package/dist/formats/hlsl/core/tr2/resources/HlslEffectRes.js +320 -320
- package/dist/formats/hlsl/core/tr2/resources/HlslShaderPermutation.js +33 -33
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectBindingManifest.js +423 -416
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectBindingManifest.js.map +1 -1
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectConstant.js +40 -40
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectDescription.js +62 -62
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectLibrary.js +52 -52
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectParameterAnnotation.js +38 -38
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectResource.js +50 -50
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectStageInput.js +86 -86
- package/dist/formats/hlsl/core/tr2/shader/HlslEffectTechnique.js +31 -31
- package/dist/formats/hlsl/core/tr2/shader/HlslPass.js +42 -42
- package/dist/formats/hlsl/core/tr2/shader/HlslSamplerDescription.js +55 -55
- package/dist/formats/hlsl/core/tr2/shader/HlslSamplerSetup.js +29 -29
- package/dist/formats/hlsl/core/tr2/shader/HlslShader.js +220 -220
- package/dist/formats/hlsl/core/tr2/shader/HlslShaderOption.js +30 -30
- package/dist/formats/hlsl/index.js +3 -3
- package/dist/formats/index.js +33 -33
- package/dist/formats/jpeg/CjsJpegFormat.js +212 -212
- package/dist/formats/jpeg/core/helpers.js +402 -402
- package/dist/formats/jpeg/core/jpeg.js +480 -480
- package/dist/formats/jpeg/index.js +2 -2
- package/dist/formats/mp3/CjsMp3Format.js +197 -197
- package/dist/formats/mp3/core/helpers.js +375 -375
- package/dist/formats/mp3/index.js +2 -2
- package/dist/formats/mp4/CjsMp4Format.js +197 -197
- package/dist/formats/mp4/core/helpers.js +484 -484
- package/dist/formats/mp4/index.js +2 -2
- package/dist/formats/obj/CjsObjFormat.js +232 -253
- package/dist/formats/obj/CjsObjFormat.js.map +1 -1
- package/dist/formats/obj/core/helpers.js +553 -573
- package/dist/formats/obj/core/helpers.js.map +1 -1
- 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 +143 -143
- package/dist/formats/ogg/core/helpers.js +410 -410
- package/dist/formats/ogg/core/imdct.js +178 -178
- package/dist/formats/ogg/core/vorbis.js +1017 -1017
- package/dist/formats/ogg/index.js +2 -2
- package/dist/formats/pickle/CjsPickleFormat.js +214 -214
- package/dist/formats/pickle/core/CjsPickleProtocol0Reader.js +551 -551
- package/dist/formats/pickle/index.js +2 -2
- package/dist/formats/png/CjsPngFormat.js +201 -201
- package/dist/formats/png/core/helpers.js +635 -635
- package/dist/formats/png/index.js +2 -2
- package/dist/formats/red/CjsRedFormat.js +263 -263
- package/dist/formats/red/core/CjsRedReader.js +246 -246
- package/dist/formats/red/core/blackDefinitions.js +3 -3
- package/dist/formats/red/core/helpers.js +158 -158
- package/dist/formats/red/core/redGraph.js +71 -71
- package/dist/formats/red/core/schema.js +4 -4
- package/dist/formats/red/index.js +2 -2
- package/dist/formats/stl/CjsStlFormat.js +320 -365
- package/dist/formats/stl/CjsStlFormat.js.map +1 -1
- package/dist/formats/stl/core/helpers.js +241 -261
- 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 +642 -642
- package/dist/formats/stl/core/targets.js +173 -173
- package/dist/formats/stl/index.js +2 -2
- package/dist/formats/tga/CjsTgaFormat.js +197 -197
- package/dist/formats/tga/core/helpers.js +493 -493
- package/dist/formats/tga/index.js +2 -2
- package/dist/formats/wav/CjsWavFormat.js +198 -198
- package/dist/formats/wav/core/helpers.js +365 -365
- package/dist/formats/wav/index.js +2 -2
- package/dist/formats/webgl/CjsWebglFormat.js +199 -199
- package/dist/formats/webgl/core/buildGlslEffectContainer.js +70 -70
- package/dist/formats/webgl/core/effectPackage.js +900 -900
- package/dist/formats/webgl/core/errors.js +27 -27
- package/dist/formats/webgl/core/glsl/DxbcGlslEmitter.js +2820 -2820
- package/dist/formats/webgl/core/glsl/DxbcGlslHelpers.js +89 -89
- package/dist/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js +486 -486
- package/dist/formats/webgl/core/glsl/packedLightFixups.js +98 -98
- package/dist/formats/webgl/core/glslBackendBlock.js +552 -552
- package/dist/formats/webgl/core/glslBackendBodySet.js +243 -243
- package/dist/formats/webgl/core/glslEffectCompleteness.js +85 -85
- package/dist/formats/webgl/core/glslEffectCompleteness.js.map +1 -1
- package/dist/formats/webgl/core/helpers.js +167 -167
- package/dist/formats/webgl/core/inspectGlslEffectContainer.js +122 -122
- package/dist/formats/webgl/core/readGlslEffectContainer.js +202 -256
- package/dist/formats/webgl/core/readGlslEffectContainer.js.map +1 -1
- package/dist/formats/webgl/index.js +2 -2
- package/dist/formats/webgpu/CjsWebgpuFormat.js +357 -357
- package/dist/formats/webgpu/core/buildCarbonEffectContainer.js +89 -89
- package/dist/formats/webgpu/core/carbonWebgpu/CarbonWebgpuContainer.js +354 -354
- package/dist/formats/webgpu/core/carbonWebgpu/containerViews.js +355 -355
- package/dist/formats/webgpu/core/carbonWebgpu/validateContainer.js +90 -90
- package/dist/formats/webgpu/core/effectAnalysis.js +82 -82
- package/dist/formats/webgpu/core/effectBackendBodySet.js +306 -306
- package/dist/formats/webgpu/core/errors.js +20 -20
- package/dist/formats/webgpu/core/helpers.js +443 -443
- package/dist/formats/webgpu/core/ir/analyzeRegisterValues.js +212 -212
- package/dist/formats/webgpu/core/ir/buildControlFlow.js +220 -220
- package/dist/formats/webgpu/core/ir/indexableTemps.js +137 -137
- package/dist/formats/webgpu/core/ir/inferValueTypes.js +449 -449
- package/dist/formats/webgpu/core/ir/lowerDxbcToIr.js +494 -494
- package/dist/formats/webgpu/core/ir/resolveRegisterFlow.js +177 -177
- package/dist/formats/webgpu/core/ir/sourceLanes.js +61 -61
- package/dist/formats/webgpu/core/packageEffect.js +381 -381
- package/dist/formats/webgpu/core/packageEffectSelection.js +164 -164
- package/dist/formats/webgpu/core/packageMetadata.js +17 -17
- package/dist/formats/webgpu/core/schema.js +4 -4
- package/dist/formats/webgpu/core/wgsl/buildResourceTransformPlan.js +263 -263
- package/dist/formats/webgpu/core/wgsl/buildWgslBindingPlan.js +172 -172
- package/dist/formats/webgpu/core/wgsl/buildWgslSet.js +325 -325
- package/dist/formats/webgpu/core/wgsl/emitWgsl.js +356 -356
- package/dist/formats/webgpu/core/wgsl/hoistEscapingValues.js +77 -77
- package/dist/formats/webgpu/core/wgsl/lowerBindingLayout.js +451 -451
- package/dist/formats/webgpu/core/wgsl/lowerComputeProgram.js +735 -735
- package/dist/formats/webgpu/core/wgsl/lowerCreateHistogramsComputeProgram.js +457 -457
- package/dist/formats/webgpu/core/wgsl/lowerFragmentProgram.js +1572 -1572
- package/dist/formats/webgpu/core/wgsl/lowerMergeHistogramsComputeProgram.js +659 -659
- package/dist/formats/webgpu/core/wgsl/lowerParticleClearComputePrograms.js +734 -734
- package/dist/formats/webgpu/core/wgsl/lowerParticleEmitComputeProgram.js +583 -583
- package/dist/formats/webgpu/core/wgsl/lowerSkinVerticesComputeProgram.js +621 -621
- package/dist/formats/webgpu/core/wgsl/lowerSortComputeProgram.js +824 -824
- package/dist/formats/webgpu/core/wgsl/lowerSortInnerComputeProgram.js +697 -697
- package/dist/formats/webgpu/core/wgsl/lowerSortStepComputeProgram.js +559 -559
- package/dist/formats/webgpu/core/wgsl/lowerVertexProgram.js +1328 -1328
- package/dist/formats/webgpu/core/wgsl/particleEmitSemanticDigest.js +110 -110
- package/dist/formats/webgpu/core/wgsl/precisionControls.js +55 -55
- package/dist/formats/webgpu/core/wgsl/selectionPlans.js +717 -717
- package/dist/formats/webgpu/core/wgsl/uniformity.js +78 -78
- package/dist/formats/webgpu/core/wgsl/validateExactComputeIr.js +196 -196
- package/dist/formats/webgpu/core/wgsl/validateHandleOperand.js +37 -37
- package/dist/formats/webgpu/index.js +2 -2
- package/dist/formats/webm/CjsWebmFormat.js +197 -197
- package/dist/formats/webm/core/helpers.js +572 -572
- package/dist/formats/webm/index.js +2 -2
- package/dist/formats/webp/CjsWebpFormat.js +140 -140
- package/dist/formats/webp/core/helpers.js +237 -237
- package/dist/formats/webp/index.js +2 -2
- package/dist/formats/wem/CjsWemFormat.js +250 -250
- package/dist/formats/wem/core/bitStream.js +261 -261
- package/dist/formats/wem/core/codebookLibrary.js +164 -164
- package/dist/formats/wem/core/helpers.js +437 -437
- package/dist/formats/wem/core/packedCodebooksAotuv603.js +30 -30
- package/dist/formats/wem/core/ptadpcm.js +77 -77
- package/dist/formats/wem/core/resolve.js +121 -121
- package/dist/formats/wem/core/wemToOgg.js +485 -485
- package/dist/formats/wem/index.js +2 -2
- package/dist/formats/yaml/CjsYamlFormat.js +134 -134
- package/dist/formats/yaml/core/CjsYamlReader.js +400 -400
- package/dist/formats/yaml/core/helpers.js +196 -196
- package/dist/formats/yaml/index.js +2 -2
- package/dist/index.js +64 -64
- package/dist/resource/CjsLoadingObject.js +19 -19
- package/dist/resource/CjsResource.js +801 -801
- package/dist/resource/ResourceHandlerMode.js +14 -14
- package/dist/resource/Tr2LightProfileRes.js +32 -32
- package/dist/resource/audio/AudioGeometryResData.js +47 -47
- package/dist/resource/audio/CjsAudioBufferRes.js +86 -86
- package/dist/resource/audio/CjsAudioRes.js +213 -213
- package/dist/resource/audio/index.js +4 -4
- package/dist/resource/geometry/MeshDecalData.js +37 -37
- package/dist/resource/geometry/MeshDecalLodData.js +34 -34
- package/dist/resource/geometry/TriGeometryRes.js +570 -467
- package/dist/resource/geometry/TriGeometryRes.js.map +1 -1
- package/dist/resource/geometry/TriGeometryResAreaData.js +59 -59
- package/dist/resource/geometry/TriGeometryResJointData.js +38 -38
- package/dist/resource/geometry/TriGeometryResLodData.js +88 -88
- package/dist/resource/geometry/TriGeometryResMeshData.js +63 -63
- package/dist/resource/geometry/TriGeometryResSkeletonData.js +34 -34
- package/dist/resource/geometry/TriJointBinding.js +38 -38
- package/dist/resource/geometry/TriMorphTargetGeometryConstants.js +46 -46
- package/dist/resource/geometry/TriRtGeometryConstants.js +88 -88
- package/dist/resource/geometry/granny/GStateBindingCallbackData.js +31 -31
- package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js +60 -60
- package/dist/resource/geometry/granny/Tr2GrannyStateRes.js +36 -36
- package/dist/resource/geometry/granny/TriGrannyRes.js +35 -35
- package/dist/resource/geometry/granny/enums.js +10 -10
- package/dist/resource/geometry/granny/index.js +6 -6
- package/dist/resource/geometry/index.js +17 -17
- package/dist/resource/index.js +54 -54
- package/dist/resource/resourceBoundary.js +64 -64
- package/dist/resource/shader/Tr2EffectRes.js +336 -336
- package/dist/resource/shader/Tr2MaterialArea.js +31 -31
- package/dist/resource/shader/Tr2MaterialMesh.js +27 -27
- package/dist/resource/shader/Tr2MaterialRes.js +31 -31
- package/dist/resource/shader/Tr2Shader.js +283 -283
- package/dist/resource/shader/Tr2ShaderPermutation.js +43 -43
- package/dist/resource/shader/index.js +17 -17
- package/dist/resource/shader/reflection/Tr2EffectConstant.js +143 -143
- package/dist/resource/shader/reflection/Tr2EffectDefine.js +30 -30
- package/dist/resource/shader/reflection/Tr2EffectDescription.js +114 -114
- package/dist/resource/shader/reflection/Tr2EffectLibrary.js +168 -168
- package/dist/resource/shader/reflection/Tr2EffectParameterAnnotation.js +125 -125
- package/dist/resource/shader/reflection/Tr2EffectResource.js +120 -120
- package/dist/resource/shader/reflection/Tr2EffectStageInput.js +372 -372
- package/dist/resource/shader/reflection/Tr2EffectTechnique.js +78 -78
- package/dist/resource/shader/reflection/Tr2Pass.js +168 -168
- package/dist/resource/shader/reflection/carbonRecordFields.js +159 -159
- package/dist/resource/shader/reflection/shaderStage.js +22 -22
- package/dist/resource/shader/sampler/Tr2SamplerSetup.js +135 -135
- package/dist/resource/texture/CjsTextureArrayRes.js +472 -472
- package/dist/resource/texture/CjsTextureArrayResParameterProxy.js +179 -179
- package/dist/resource/texture/Tr2ImageRes.js +120 -120
- package/dist/resource/texture/Tr2TextureLodManager.js +82 -82
- package/dist/resource/texture/Tr2TextureLodUpdateRequest.js +37 -37
- package/dist/resource/texture/Tr2TexturePackChannel.js +37 -37
- package/dist/resource/texture/Tr2TexturePipeline.js +54 -54
- package/dist/resource/texture/Tr2TexturePipelineParams.js +34 -34
- package/dist/resource/texture/Tr2TexturePipelineStepCompress.js +40 -40
- package/dist/resource/texture/Tr2TexturePipelineStepGenerateMips.js +22 -22
- package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js +34 -34
- package/dist/resource/texture/Tr2TexturePipelineStepLoad.js +31 -31
- package/dist/resource/texture/Tr2TexturePipelineStepPack.js +43 -43
- package/dist/resource/texture/TriTextureRes.js +359 -359
- package/dist/resource/texture/index.js +15 -15
- package/dist/resource/texture/texturePipelineBehavior.js +308 -308
- package/dist/worker/CjsResManMainThreadLoader.js +89 -89
- package/dist/worker/CjsResManWorker.js +218 -218
- package/dist/worker/CjsResManWorkerLoader.js +437 -437
- package/dist/worker/protocol.js +12 -12
- package/docs/README.md +98 -98
- package/docs/architecture.md +118 -118
- package/docs/concepts/resource-lifecycle.md +226 -226
- package/docs/concepts/shader-resource-model.md +111 -111
- package/docs/concepts/writing-an-engine-adapter.md +115 -115
- package/docs/formats/README.md +138 -138
- package/docs/formats/carbon-effect-container.md +553 -553
- package/docs/formats/dxbc/README.md +68 -68
- package/docs/formats/dxbc/architecture.md +80 -80
- package/docs/formats/dxbc/reference/api.md +105 -77
- package/docs/formats/dxbc/reference/classes/README.md +9 -9
- package/docs/formats/dxbc/reference/decoded-output.md +122 -122
- package/docs/formats/gr2.md +160 -160
- package/docs/formats/hlsl/README.md +54 -54
- package/docs/formats/hlsl/architecture.md +66 -65
- package/docs/formats/hlsl/guides/hydrating-json-output.md +60 -60
- package/docs/formats/hlsl/guides/reading-effects.md +68 -64
- package/docs/formats/hlsl/reference/advanced-analysis.md +61 -61
- package/docs/formats/hlsl/reference/api.md +91 -92
- package/docs/formats/hlsl/reference/classes/README.md +11 -11
- package/docs/formats/hlsl/reference/json-graph.md +97 -97
- package/docs/formats/pickle.md +82 -82
- package/docs/formats/provenance.md +196 -196
- package/docs/formats/stl.md +37 -37
- package/docs/formats/webgl/README.md +115 -115
- package/docs/formats/webgl/architecture.md +69 -69
- package/docs/formats/webgl/carbon-constant-layouts.md +326 -326
- package/docs/formats/webgl/decl-io.md +1234 -1234
- package/docs/formats/webgl/memory-structured.md +890 -890
- package/docs/formats/webgl/reference/classes/README.md +9 -9
- package/docs/formats/webgl/texture-sample.md +964 -964
- package/docs/formats/webgpu/README.md +84 -84
- package/docs/formats/webgpu/architecture.md +95 -95
- package/docs/formats/webgpu/formats/carbon-webgpu.md +215 -215
- package/docs/formats/webgpu/guides/effect-packaging.md +189 -189
- package/docs/formats/webgpu/reference/api.md +196 -196
- package/docs/formats/webgpu/reference/classes/README.md +9 -9
- package/docs/formats/webgpu/reference/wgsl-compatibility.md +1546 -1546
- package/docs/formats/wwise.md +146 -146
- package/docs/reference/classes/README.md +35 -35
- package/docs/reference/classes/audio.md +30 -30
- package/docs/reference/classes/core.md +216 -216
- package/docs/reference/classes/dropped.md +46 -46
- package/docs/reference/classes/formats.md +944 -944
- package/docs/reference/classes/resources.md +456 -456
- package/docs/reference/classes/texture.md +26 -26
- package/docs/reference/events.md +117 -117
- package/docs/reference/motherlode-cache.md +275 -275
- package/docs/reference/queues.md +194 -194
- package/docs/reference/reload.md +107 -107
- package/docs/reference/texture-arrays.md +113 -113
- package/docs/reference/texture-pipeline.md +53 -53
- package/docs/reference/workers.md +142 -142
- package/docs/roadmap.md +150 -150
- 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 +21 -21
- 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/dxbc/LICENSE +21 -21
- package/format-notices/dxbc/NOTICE +20 -20
- 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/gr2/LICENSE +21 -21
- package/format-notices/gr2/NOTICE +60 -60
- package/format-notices/gr2/THIRD-PARTY-NOTICES.md +93 -93
- package/format-notices/hlsl/LICENSE +21 -21
- package/format-notices/hlsl/NOTICE +25 -25
- 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/webgl/LICENSE +21 -21
- package/format-notices/webgl/NOTICE +35 -35
- package/format-notices/webgpu/LICENSE +21 -21
- package/format-notices/webgpu/NOTICE +31 -31
- 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 +63 -63
|
@@ -1,944 +1,944 @@
|
|
|
1
|
-
# Formats class catalog
|
|
2
|
-
|
|
3
|
-
Status: Evolving
|
|
4
|
-
Scope: `@carbonenginejs/runtime-resource` classes under `src/formats`
|
|
5
|
-
Audience: Users, maintainers, and automated readers
|
|
6
|
-
Summary: Provides one-sentence purpose descriptors for maintained classes under `src/formats`.
|
|
7
|
-
|
|
8
|
-
### black
|
|
9
|
-
|
|
10
|
-
<!-- class:CjsBlackFormat -->
|
|
11
|
-
## `CjsBlackFormat`
|
|
12
|
-
|
|
13
|
-
Black format profile that reads `.black` binary object graphs into payload, document, raw, or runtime output using CarbonEngineJS canonical schemas or caller-supplied source-shape registries.
|
|
14
|
-
|
|
15
|
-
- Export: `@carbonenginejs/runtime-resource/formats/black`
|
|
16
|
-
- Source: `src/formats/black/CjsBlackFormat.js`
|
|
17
|
-
- Visibility: Public
|
|
18
|
-
- Kind: Original CarbonEngineJS class
|
|
19
|
-
|
|
20
|
-
<!-- class:CjsBlackBinaryReader -->
|
|
21
|
-
## `CjsBlackBinaryReader`
|
|
22
|
-
|
|
23
|
-
Bounds-aware `DataView` cursor that provides the primitive reads and end-of-stream checks the Black transport decodes with.
|
|
24
|
-
|
|
25
|
-
- Export: `None`
|
|
26
|
-
- Source: `src/formats/black/core/CjsBlackBinaryReader.js`
|
|
27
|
-
- Visibility: Internal
|
|
28
|
-
- Kind: Internal implementation class
|
|
29
|
-
|
|
30
|
-
<!-- class:CjsBlackPropertyReaders -->
|
|
31
|
-
## `CjsBlackPropertyReaders`
|
|
32
|
-
|
|
33
|
-
Static set of read and skip routines that decode or skip individual Black property values (primitives, strings, arrays, structure lists, dictionaries, and binary blocks) from their type descriptors.
|
|
34
|
-
|
|
35
|
-
- Export: `None`
|
|
36
|
-
- Source: `src/formats/black/core/CjsBlackPropertyReaders.js`
|
|
37
|
-
- Visibility: Internal
|
|
38
|
-
- Kind: Internal implementation class
|
|
39
|
-
|
|
40
|
-
<!-- class:CjsBlackReader -->
|
|
41
|
-
## `CjsBlackReader`
|
|
42
|
-
|
|
43
|
-
Transport that reads a `.black` stream into a payload, document, or runtime graph, owning the binary buffer, string tables, numeric references, and binary read cursor.
|
|
44
|
-
|
|
45
|
-
- Export: `None`
|
|
46
|
-
- Source: `src/formats/black/core/CjsBlackReader.js`
|
|
47
|
-
- Visibility: Internal
|
|
48
|
-
- Kind: Internal implementation class
|
|
49
|
-
|
|
50
|
-
<!-- class:CjsBlackSchemaRegistry -->
|
|
51
|
-
## `CjsBlackSchemaRegistry`
|
|
52
|
-
|
|
53
|
-
Registry that normalizes caller-supplied schemas into per-class source shapes the Black reader uses to resolve persisted fields.
|
|
54
|
-
|
|
55
|
-
- Export: `None`
|
|
56
|
-
- Source: `src/formats/black/core/CjsBlackSchemaRegistry.js`
|
|
57
|
-
- Visibility: Internal
|
|
58
|
-
- Kind: Internal implementation class
|
|
59
|
-
|
|
60
|
-
### bnk
|
|
61
|
-
|
|
62
|
-
<!-- class:CjsBnkFormat -->
|
|
63
|
-
## `CjsBnkFormat`
|
|
64
|
-
|
|
65
|
-
Reader for Audiokinetic Wwise soundbank (`.bnk`) containers that inspects the bank header, embedded media index, object hierarchy, and referenced bank names without copying payloads, and reads out the raw bank, debug JSON, or undecoded embedded media items.
|
|
66
|
-
|
|
67
|
-
- Export: `@carbonenginejs/runtime-resource/formats/bnk`
|
|
68
|
-
- Source: `src/formats/bnk/CjsBnkFormat.js`
|
|
69
|
-
- Visibility: Public
|
|
70
|
-
- Kind: Original CarbonEngineJS class
|
|
71
|
-
|
|
72
|
-
<!-- class:MusicCursor -->
|
|
73
|
-
## `MusicCursor`
|
|
74
|
-
|
|
75
|
-
Little-endian byte cursor over HIRC payload bytes used to decode Wwise interactive-music node payloads with exact-end validation.
|
|
76
|
-
|
|
77
|
-
- Export: `None`
|
|
78
|
-
- Source: `src/formats/bnk/core/musicNodes.js`
|
|
79
|
-
- Visibility: Internal
|
|
80
|
-
- Kind: Internal implementation class
|
|
81
|
-
|
|
82
|
-
<!-- class:WwiseCursor -->
|
|
83
|
-
## `WwiseCursor`
|
|
84
|
-
|
|
85
|
-
Bounds-aware little-endian cursor used for exact Wwise v150 NodeBase, authored-SFX, and attenuation decoding.
|
|
86
|
-
|
|
87
|
-
- Export: `None`
|
|
88
|
-
- Source: `src/formats/bnk/core/nodeBase.js`
|
|
89
|
-
- Visibility: Internal
|
|
90
|
-
- Kind: Internal implementation class
|
|
91
|
-
|
|
92
|
-
<!-- class:GlobalSettingsCursor -->
|
|
93
|
-
## `GlobalSettingsCursor`
|
|
94
|
-
|
|
95
|
-
Bounds-aware little-endian cursor over one Wwise Global Settings payload.
|
|
96
|
-
|
|
97
|
-
- Export: `None`
|
|
98
|
-
- Source: `src/formats/bnk/core/globalSettings.js`
|
|
99
|
-
- Visibility: Internal
|
|
100
|
-
- Kind: Internal implementation class
|
|
101
|
-
|
|
102
|
-
<!-- class:ActionCursor -->
|
|
103
|
-
## `ActionCursor`
|
|
104
|
-
|
|
105
|
-
Bounds-aware byte cursor used for exact Wwise v150 Event Action decoding.
|
|
106
|
-
|
|
107
|
-
- Export: `None`
|
|
108
|
-
- Source: `src/formats/bnk/core/eventAction.js`
|
|
109
|
-
- Visibility: Internal
|
|
110
|
-
- Kind: Internal implementation class
|
|
111
|
-
|
|
112
|
-
### cmf
|
|
113
|
-
|
|
114
|
-
<!-- class:CjsCmfFormat -->
|
|
115
|
-
## `CjsCmfFormat`
|
|
116
|
-
|
|
117
|
-
CMF geometry-container format class that reads, inspects, constructs, and writes CMF data, emitting CMF-native output by default alongside GR2, shared-mesh, and debug JSON targets.
|
|
118
|
-
|
|
119
|
-
- Export: `@carbonenginejs/runtime-resource/formats/cmf`
|
|
120
|
-
- Source: `src/formats/cmf/CjsCmfFormat.js`
|
|
121
|
-
- Visibility: Public
|
|
122
|
-
- Kind: Original CarbonEngineJS class
|
|
123
|
-
|
|
124
|
-
<!-- class:BinaryReader -->
|
|
125
|
-
## `BinaryReader`
|
|
126
|
-
|
|
127
|
-
Bounds-checked little-endian offset reader over CMF file bytes, including 64-bit integer reads guarded against unsafe values.
|
|
128
|
-
|
|
129
|
-
- Export: `None`
|
|
130
|
-
- Source: `src/formats/cmf/core/binary.js`
|
|
131
|
-
- Visibility: Internal
|
|
132
|
-
- Kind: Internal implementation class
|
|
133
|
-
|
|
134
|
-
<!-- class:Flattener -->
|
|
135
|
-
## `Flattener`
|
|
136
|
-
|
|
137
|
-
Writer-side helper that flattens a CMF object graph into the binary Data section with self-relative tagged span offsets, depth-first ordering, chunk alignment, and duplicate-leaf deduplication, mirroring CarbonEngine's `cmf::BuildFile`.
|
|
138
|
-
|
|
139
|
-
- Export: `None`
|
|
140
|
-
- Source: `src/formats/cmf/core/writer.js`
|
|
141
|
-
- Visibility: Internal
|
|
142
|
-
- Kind: Internal implementation class
|
|
143
|
-
|
|
144
|
-
### dds
|
|
145
|
-
|
|
146
|
-
<!-- class:CjsDdsFormat -->
|
|
147
|
-
## `CjsDdsFormat`
|
|
148
|
-
|
|
149
|
-
DDS texture format profile that inspects header metadata, probes output support, and reads DDS bytes into raw, GPU-free texture, image, or software-decoded RGBA and float payloads (BC1-BC5, BC7, and BC6H included).
|
|
150
|
-
|
|
151
|
-
- Export: `@carbonenginejs/runtime-resource/formats/dds`
|
|
152
|
-
- Source: `src/formats/dds/CjsDdsFormat.js`
|
|
153
|
-
- Visibility: Public
|
|
154
|
-
- Kind: Original CarbonEngineJS class
|
|
155
|
-
|
|
156
|
-
<!-- class:Bc7BitReader -->
|
|
157
|
-
## `Bc7BitReader`
|
|
158
|
-
|
|
159
|
-
LSB-first bit reader over a single 128-bit BC7 block bitstream for the software BC7 decoder.
|
|
160
|
-
|
|
161
|
-
- Export: `None`
|
|
162
|
-
- Source: `src/formats/dds/core/bc7.js`
|
|
163
|
-
- Visibility: Internal
|
|
164
|
-
- Kind: Internal implementation class
|
|
165
|
-
|
|
166
|
-
### dxbc
|
|
167
|
-
|
|
168
|
-
<!-- class:CjsDxbcFormat -->
|
|
169
|
-
## `CjsDxbcFormat`
|
|
170
|
-
|
|
171
|
-
DXBC shader-bytecode format profile that reads container chunks, signatures, and the decoded shader program from compiled Direct3D bytecode.
|
|
172
|
-
|
|
173
|
-
- Export: `@carbonenginejs/runtime-resource/formats/dxbc`
|
|
174
|
-
- Source: `src/formats/dxbc/CjsDxbcFormat.js`
|
|
175
|
-
- Visibility: Public
|
|
176
|
-
- Kind: Original CarbonEngineJS class
|
|
177
|
-
|
|
178
|
-
<!-- class:DxbcReader -->
|
|
179
|
-
## `DxbcReader`
|
|
180
|
-
|
|
181
|
-
Bounded little-endian byte cursor over DXBC payloads, with optional shared string-table resolution.
|
|
182
|
-
|
|
183
|
-
- Export: `None`
|
|
184
|
-
- Source: `src/formats/dxbc/core/DxbcReader.js`
|
|
185
|
-
- Visibility: Internal
|
|
186
|
-
- Kind: Internal implementation class
|
|
187
|
-
|
|
188
|
-
<!-- class:DxbcContainer -->
|
|
189
|
-
## `DxbcContainer`
|
|
190
|
-
|
|
191
|
-
Parsed DXBC container that locates and exposes its four-character-code chunks.
|
|
192
|
-
|
|
193
|
-
- Export: `None`
|
|
194
|
-
- Source: `src/formats/dxbc/core/container.js`
|
|
195
|
-
- Visibility: Internal
|
|
196
|
-
- Kind: Internal implementation class
|
|
197
|
-
|
|
198
|
-
<!-- class:DxbcInstructionDecoder -->
|
|
199
|
-
## `DxbcInstructionDecoder`
|
|
200
|
-
|
|
201
|
-
Decodes the DXBC shader token stream into structured instructions, operands, and declarations.
|
|
202
|
-
|
|
203
|
-
- Export: `None`
|
|
204
|
-
- Source: `src/formats/dxbc/core/decoder.js`
|
|
205
|
-
- Visibility: Internal
|
|
206
|
-
- Kind: Internal implementation class
|
|
207
|
-
|
|
208
|
-
<!-- class:DxbcReadError -->
|
|
209
|
-
## `DxbcReadError`
|
|
210
|
-
|
|
211
|
-
Error raised when DXBC bytes are malformed, truncated, or structurally invalid.
|
|
212
|
-
|
|
213
|
-
- Export: `None`
|
|
214
|
-
- Source: `src/formats/dxbc/core/errors.js`
|
|
215
|
-
- Visibility: Internal
|
|
216
|
-
- Kind: Internal implementation class
|
|
217
|
-
|
|
218
|
-
<!-- class:DxbcShaderProgram -->
|
|
219
|
-
## `DxbcShaderProgram`
|
|
220
|
-
|
|
221
|
-
Decoded DXBC shader program: version, stage type, and its ordered instruction stream.
|
|
222
|
-
|
|
223
|
-
- Export: `None`
|
|
224
|
-
- Source: `src/formats/dxbc/core/program.js`
|
|
225
|
-
- Visibility: Internal
|
|
226
|
-
- Kind: Internal implementation class
|
|
227
|
-
|
|
228
|
-
<!-- class:DxbcSignatureChunk -->
|
|
229
|
-
## `DxbcSignatureChunk`
|
|
230
|
-
|
|
231
|
-
Parsed DXBC input, output, or patch-constant signature chunk and its parameter records.
|
|
232
|
-
|
|
233
|
-
- Export: `None`
|
|
234
|
-
- Source: `src/formats/dxbc/core/signature.js`
|
|
235
|
-
- Visibility: Internal
|
|
236
|
-
- Kind: Internal implementation class
|
|
237
|
-
|
|
238
|
-
### fbx
|
|
239
|
-
|
|
240
|
-
<!-- class:CjsFbxFormat -->
|
|
241
|
-
## `CjsFbxFormat`
|
|
242
|
-
|
|
243
|
-
FBX format surface that recognizes and inspects FBX files and emits basic static-mesh GR2 or CMF output in pure JavaScript, ahead of full CarbonEngine-equivalent importer coverage.
|
|
244
|
-
|
|
245
|
-
- Export: `@carbonenginejs/runtime-resource/formats/fbx`
|
|
246
|
-
- Source: `src/formats/fbx/CjsFbxFormat.js`
|
|
247
|
-
- Visibility: Public
|
|
248
|
-
- Kind: Original CarbonEngineJS class
|
|
249
|
-
|
|
250
|
-
<!-- class:DeflateBitReader -->
|
|
251
|
-
## `DeflateBitReader`
|
|
252
|
-
|
|
253
|
-
Bit reader over a zlib/deflate stream used to inflate compressed FBX property arrays.
|
|
254
|
-
|
|
255
|
-
- Export: `None`
|
|
256
|
-
- Source: `src/formats/fbx/core/helpers.js`
|
|
257
|
-
- Visibility: Internal
|
|
258
|
-
- Kind: Internal implementation class
|
|
259
|
-
|
|
260
|
-
<!-- class:DeflateHuffmanTable -->
|
|
261
|
-
## `DeflateHuffmanTable`
|
|
262
|
-
|
|
263
|
-
Canonical Huffman decode table built from deflate code lengths for inflating compressed FBX property arrays.
|
|
264
|
-
|
|
265
|
-
- Export: `None`
|
|
266
|
-
- Source: `src/formats/fbx/core/helpers.js`
|
|
267
|
-
- Visibility: Internal
|
|
268
|
-
- Kind: Internal implementation class
|
|
269
|
-
|
|
270
|
-
### flac
|
|
271
|
-
|
|
272
|
-
<!-- class:CjsFlacFormat -->
|
|
273
|
-
## `CjsFlacFormat`
|
|
274
|
-
|
|
275
|
-
Metadata-only FLAC format profile that validates the stream signature, inspects stream metadata, and emits raw container bytes or debug JSON without decoding PCM.
|
|
276
|
-
|
|
277
|
-
- Export: `@carbonenginejs/runtime-resource/formats/flac`
|
|
278
|
-
- Source: `src/formats/flac/CjsFlacFormat.js`
|
|
279
|
-
- Visibility: Public
|
|
280
|
-
- Kind: Original CarbonEngineJS class
|
|
281
|
-
|
|
282
|
-
### gif
|
|
283
|
-
|
|
284
|
-
<!-- class:CjsGifFormat -->
|
|
285
|
-
## `CjsGifFormat`
|
|
286
|
-
|
|
287
|
-
GIF format profile that inspects header and frame metadata and reads GIF bytes into raw, debug JSON, or LZW-decoded RGBA frame payloads.
|
|
288
|
-
|
|
289
|
-
- Export: `@carbonenginejs/runtime-resource/formats/gif`
|
|
290
|
-
- Source: `src/formats/gif/CjsGifFormat.js`
|
|
291
|
-
- Visibility: Public
|
|
292
|
-
- Kind: Original CarbonEngineJS class
|
|
293
|
-
|
|
294
|
-
### gltf
|
|
295
|
-
|
|
296
|
-
<!-- class:CjsGltfFormat -->
|
|
297
|
-
## `CjsGltfFormat`
|
|
298
|
-
|
|
299
|
-
glTF/GLB format class that parses documents, decodes accessors, and converts meshes, skins, and animations into shared-mesh, GR2, or CMF output plus debug JSON.
|
|
300
|
-
|
|
301
|
-
- Export: `@carbonenginejs/runtime-resource/formats/gltf`
|
|
302
|
-
- Source: `src/formats/gltf/CjsGltfFormat.js`
|
|
303
|
-
- Visibility: Public
|
|
304
|
-
- Kind: Original CarbonEngineJS class
|
|
305
|
-
|
|
306
|
-
### gr2
|
|
307
|
-
|
|
308
|
-
<!-- class:CjsGr2Format -->
|
|
309
|
-
## `CjsGr2Format`
|
|
310
|
-
|
|
311
|
-
Runtime GR2/GSF format class that wraps the migrated `format-gr2` engine under core/ with the runtime-resource format-contract statics ResMan uses for byte probing and async reads.
|
|
312
|
-
|
|
313
|
-
- Export: `@carbonenginejs/runtime-resource/formats/gr2`
|
|
314
|
-
- Source: `src/formats/gr2/CjsGr2Format.js`
|
|
315
|
-
- Visibility: Public
|
|
316
|
-
- Kind: Original CarbonEngineJS class
|
|
317
|
-
|
|
318
|
-
<!-- class:Decoder -->
|
|
319
|
-
## `Decoder`
|
|
320
|
-
|
|
321
|
-
Arithmetic decoder over the Oodle1 7-bit-per-byte compressed bitstream for GR2 section decompression.
|
|
322
|
-
|
|
323
|
-
- Export: `None`
|
|
324
|
-
- Source: `src/formats/gr2/core/oodle1.js`
|
|
325
|
-
- Visibility: Internal
|
|
326
|
-
- Kind: Internal implementation class
|
|
327
|
-
|
|
328
|
-
<!-- class:Dictionary -->
|
|
329
|
-
## `Dictionary`
|
|
330
|
-
|
|
331
|
-
Per-segment Oodle1 decode dictionary holding the adaptive symbol windows for literal and back-reference decoding.
|
|
332
|
-
|
|
333
|
-
- Export: `None`
|
|
334
|
-
- Source: `src/formats/gr2/core/oodle1.js`
|
|
335
|
-
- Visibility: Internal
|
|
336
|
-
- Kind: Internal implementation class
|
|
337
|
-
|
|
338
|
-
<!-- class:FrequencyModel -->
|
|
339
|
-
## `FrequencyModel`
|
|
340
|
-
|
|
341
|
-
Adaptive 15-bit-precision frequency model with cumulative tables and a fast symbol lookup used by the clean-room BitKnit2 decompressor.
|
|
342
|
-
|
|
343
|
-
- Export: `None`
|
|
344
|
-
- Source: `src/formats/gr2/core/bitknit2.js`
|
|
345
|
-
- Visibility: Internal
|
|
346
|
-
- Kind: Internal implementation class
|
|
347
|
-
|
|
348
|
-
<!-- class:WeighWindow -->
|
|
349
|
-
## `WeighWindow`
|
|
350
|
-
|
|
351
|
-
Adaptive weighted symbol window that Oodle1 dictionaries use to model symbol probabilities.
|
|
352
|
-
|
|
353
|
-
- Export: `None`
|
|
354
|
-
- Source: `src/formats/gr2/core/oodle1.js`
|
|
355
|
-
- Visibility: Internal
|
|
356
|
-
- Kind: Internal implementation class
|
|
357
|
-
|
|
358
|
-
### hlsl
|
|
359
|
-
|
|
360
|
-
<!-- class:CjsHlslFormat -->
|
|
361
|
-
## `CjsHlslFormat`
|
|
362
|
-
|
|
363
|
-
Compiled Carbon effect format profile that reads .sm_* shader packages into permutation, technique, and stage metadata.
|
|
364
|
-
|
|
365
|
-
- Export: `@carbonenginejs/runtime-resource/formats/hlsl`
|
|
366
|
-
- Source: `src/formats/hlsl/CjsHlslFormat.js`
|
|
367
|
-
- Visibility: Public
|
|
368
|
-
- Kind: Original CarbonEngineJS class
|
|
369
|
-
|
|
370
|
-
<!-- class:HlslReader -->
|
|
371
|
-
## `HlslReader`
|
|
372
|
-
|
|
373
|
-
Bounded little-endian byte cursor over compiled effect payloads, with shared string-table resolution.
|
|
374
|
-
|
|
375
|
-
- Export: `None`
|
|
376
|
-
- Source: `src/formats/hlsl/core/HlslReader.js`
|
|
377
|
-
- Visibility: Internal
|
|
378
|
-
- Kind: Internal implementation class
|
|
379
|
-
|
|
380
|
-
<!-- class:HlslEffectReadError -->
|
|
381
|
-
## `HlslEffectReadError`
|
|
382
|
-
|
|
383
|
-
Error raised when compiled effect bytes are malformed, truncated, or an unsupported version.
|
|
384
|
-
|
|
385
|
-
- Export: `None`
|
|
386
|
-
- Source: `src/formats/hlsl/core/HlslEffectReadError.js`
|
|
387
|
-
- Visibility: Internal
|
|
388
|
-
- Kind: Internal implementation class
|
|
389
|
-
|
|
390
|
-
<!-- class:HlslEffectStateManager -->
|
|
391
|
-
## `HlslEffectStateManager`
|
|
392
|
-
|
|
393
|
-
Resolves and caches render-state setups referenced by a compiled effect while it is read.
|
|
394
|
-
|
|
395
|
-
- Export: `None`
|
|
396
|
-
- Source: `src/formats/hlsl/core/HlslEffectStateManager.js`
|
|
397
|
-
- Visibility: Internal
|
|
398
|
-
- Kind: Internal implementation class
|
|
399
|
-
|
|
400
|
-
<!-- class:HlslRenderStateSetup -->
|
|
401
|
-
## `HlslRenderStateSetup`
|
|
402
|
-
|
|
403
|
-
Ordered render-state key and value records attached to one pass.
|
|
404
|
-
|
|
405
|
-
- Export: `None`
|
|
406
|
-
- Source: `src/formats/hlsl/core/HlslRenderStateSetup.js`
|
|
407
|
-
- Visibility: Internal
|
|
408
|
-
- Kind: Internal implementation class
|
|
409
|
-
|
|
410
|
-
<!-- class:HlslResourceSetDescription -->
|
|
411
|
-
## `HlslResourceSetDescription`
|
|
412
|
-
|
|
413
|
-
Describes one resource set bound by a compiled effect stage.
|
|
414
|
-
|
|
415
|
-
- Export: `None`
|
|
416
|
-
- Source: `src/formats/hlsl/core/HlslResourceSetDescription.js`
|
|
417
|
-
- Visibility: Internal
|
|
418
|
-
- Kind: Internal implementation class
|
|
419
|
-
|
|
420
|
-
<!-- class:HlslShaderBytecode -->
|
|
421
|
-
## `HlslShaderBytecode`
|
|
422
|
-
|
|
423
|
-
Stage bytecode payload carried by a compiled effect, with its stage type and name.
|
|
424
|
-
|
|
425
|
-
- Export: `None`
|
|
426
|
-
- Source: `src/formats/hlsl/core/HlslShaderBytecode.js`
|
|
427
|
-
- Visibility: Internal
|
|
428
|
-
- Kind: Internal implementation class
|
|
429
|
-
|
|
430
|
-
<!-- class:HlslEffectRes -->
|
|
431
|
-
## `HlslEffectRes`
|
|
432
|
-
|
|
433
|
-
Parsed compiled effect resource: permutation axes, body offsets, and lazily decoded shader bodies.
|
|
434
|
-
|
|
435
|
-
- Export: `None`
|
|
436
|
-
- Source: `src/formats/hlsl/core/tr2/resources/HlslEffectRes.js`
|
|
437
|
-
- Visibility: Internal
|
|
438
|
-
- Kind: Internal implementation class
|
|
439
|
-
|
|
440
|
-
<!-- class:HlslShaderPermutation -->
|
|
441
|
-
## `HlslShaderPermutation`
|
|
442
|
-
|
|
443
|
-
One permutation axis of a compiled effect, with its ordered options and default.
|
|
444
|
-
|
|
445
|
-
- Export: `None`
|
|
446
|
-
- Source: `src/formats/hlsl/core/tr2/resources/HlslShaderPermutation.js`
|
|
447
|
-
- Visibility: Internal
|
|
448
|
-
- Kind: Internal implementation class
|
|
449
|
-
|
|
450
|
-
<!-- class:HlslEffectBindingManifest -->
|
|
451
|
-
## `HlslEffectBindingManifest`
|
|
452
|
-
|
|
453
|
-
Flattened per-stage binding manifest derived from a resolved effect description.
|
|
454
|
-
|
|
455
|
-
- Export: `None`
|
|
456
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectBindingManifest.js`
|
|
457
|
-
- Visibility: Internal
|
|
458
|
-
- Kind: Internal implementation class
|
|
459
|
-
|
|
460
|
-
<!-- class:HlslEffectConstant -->
|
|
461
|
-
## `HlslEffectConstant`
|
|
462
|
-
|
|
463
|
-
Reflected shader constant: name, offset, size, type, dimension, and element count.
|
|
464
|
-
|
|
465
|
-
- Export: `None`
|
|
466
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectConstant.js`
|
|
467
|
-
- Visibility: Internal
|
|
468
|
-
- Kind: Internal implementation class
|
|
469
|
-
|
|
470
|
-
<!-- class:HlslEffectDescription -->
|
|
471
|
-
## `HlslEffectDescription`
|
|
472
|
-
|
|
473
|
-
Decoded effect body: techniques, passes, stages, libraries, and top-level annotations.
|
|
474
|
-
|
|
475
|
-
- Export: `None`
|
|
476
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectDescription.js`
|
|
477
|
-
- Visibility: Internal
|
|
478
|
-
- Kind: Internal implementation class
|
|
479
|
-
|
|
480
|
-
<!-- class:HlslEffectLibrary -->
|
|
481
|
-
## `HlslEffectLibrary`
|
|
482
|
-
|
|
483
|
-
Ray-tracing shader library record with its exports, payload size, and stage inputs.
|
|
484
|
-
|
|
485
|
-
- Export: `None`
|
|
486
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectLibrary.js`
|
|
487
|
-
- Visibility: Internal
|
|
488
|
-
- Kind: Internal implementation class
|
|
489
|
-
|
|
490
|
-
<!-- class:HlslEffectParameterAnnotation -->
|
|
491
|
-
## `HlslEffectParameterAnnotation`
|
|
492
|
-
|
|
493
|
-
Typed annotation attached to a reflected effect parameter.
|
|
494
|
-
|
|
495
|
-
- Export: `None`
|
|
496
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectParameterAnnotation.js`
|
|
497
|
-
- Visibility: Internal
|
|
498
|
-
- Kind: Internal implementation class
|
|
499
|
-
|
|
500
|
-
<!-- class:HlslEffectResource -->
|
|
501
|
-
## `HlslEffectResource`
|
|
502
|
-
|
|
503
|
-
Reflected shader resource or UAV binding with its register identity and array count.
|
|
504
|
-
|
|
505
|
-
- Export: `None`
|
|
506
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectResource.js`
|
|
507
|
-
- Visibility: Internal
|
|
508
|
-
- Kind: Internal implementation class
|
|
509
|
-
|
|
510
|
-
<!-- class:HlslEffectStageInput -->
|
|
511
|
-
## `HlslEffectStageInput`
|
|
512
|
-
|
|
513
|
-
Reflected stage input: constants, resources, samplers, signatures, and default constant bytes.
|
|
514
|
-
|
|
515
|
-
- Export: `None`
|
|
516
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectStageInput.js`
|
|
517
|
-
- Visibility: Internal
|
|
518
|
-
- Kind: Internal implementation class
|
|
519
|
-
|
|
520
|
-
<!-- class:HlslEffectTechnique -->
|
|
521
|
-
## `HlslEffectTechnique`
|
|
522
|
-
|
|
523
|
-
Named technique of a compiled effect body and its ordered passes.
|
|
524
|
-
|
|
525
|
-
- Export: `None`
|
|
526
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectTechnique.js`
|
|
527
|
-
- Visibility: Internal
|
|
528
|
-
- Kind: Internal implementation class
|
|
529
|
-
|
|
530
|
-
<!-- class:HlslPass -->
|
|
531
|
-
## `HlslPass`
|
|
532
|
-
|
|
533
|
-
One pass of a technique, carrying its stage inputs and render states.
|
|
534
|
-
|
|
535
|
-
- Export: `None`
|
|
536
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslPass.js`
|
|
537
|
-
- Visibility: Internal
|
|
538
|
-
- Kind: Internal implementation class
|
|
539
|
-
|
|
540
|
-
<!-- class:HlslSamplerDescription -->
|
|
541
|
-
## `HlslSamplerDescription`
|
|
542
|
-
|
|
543
|
-
Sampler state description: filters, address modes, LOD bounds, and comparison function.
|
|
544
|
-
|
|
545
|
-
- Export: `None`
|
|
546
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslSamplerDescription.js`
|
|
547
|
-
- Visibility: Internal
|
|
548
|
-
- Kind: Internal implementation class
|
|
549
|
-
|
|
550
|
-
<!-- class:HlslSamplerSetup -->
|
|
551
|
-
## `HlslSamplerSetup`
|
|
552
|
-
|
|
553
|
-
Named or static sampler setup bound by a compiled effect stage.
|
|
554
|
-
|
|
555
|
-
- Export: `None`
|
|
556
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslSamplerSetup.js`
|
|
557
|
-
- Visibility: Internal
|
|
558
|
-
- Kind: Internal implementation class
|
|
559
|
-
|
|
560
|
-
<!-- class:HlslShader -->
|
|
561
|
-
## `HlslShader`
|
|
562
|
-
|
|
563
|
-
Decoded shader body for one permutation index, wrapping its effect description.
|
|
564
|
-
|
|
565
|
-
- Export: `None`
|
|
566
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslShader.js`
|
|
567
|
-
- Visibility: Internal
|
|
568
|
-
- Kind: Internal implementation class
|
|
569
|
-
|
|
570
|
-
<!-- class:HlslShaderOption -->
|
|
571
|
-
## `HlslShaderOption`
|
|
572
|
-
|
|
573
|
-
One option value of a permutation axis.
|
|
574
|
-
|
|
575
|
-
- Export: `None`
|
|
576
|
-
- Source: `src/formats/hlsl/core/tr2/shader/HlslShaderOption.js`
|
|
577
|
-
- Visibility: Internal
|
|
578
|
-
- Kind: Internal implementation class
|
|
579
|
-
|
|
580
|
-
### jpeg
|
|
581
|
-
|
|
582
|
-
<!-- class:CjsJpegFormat -->
|
|
583
|
-
## `CjsJpegFormat`
|
|
584
|
-
|
|
585
|
-
JPEG format profile that inspects marker and header metadata and reads baseline JPEG bytes into raw, debug JSON, or RGBA payloads through the in-project baseline decoder.
|
|
586
|
-
|
|
587
|
-
- Export: `@carbonenginejs/runtime-resource/formats/jpeg`
|
|
588
|
-
- Source: `src/formats/jpeg/CjsJpegFormat.js`
|
|
589
|
-
- Visibility: Public
|
|
590
|
-
- Kind: Original CarbonEngineJS class
|
|
591
|
-
|
|
592
|
-
<!-- class:BaselineJpegDecoder -->
|
|
593
|
-
## `BaselineJpegDecoder`
|
|
594
|
-
|
|
595
|
-
Pure-JS baseline sequential JPEG decoder that parses markers, quantization and Huffman tables, and entropy-coded scans into RGBA pixels.
|
|
596
|
-
|
|
597
|
-
- Export: `None`
|
|
598
|
-
- Source: `src/formats/jpeg/core/jpeg.js`
|
|
599
|
-
- Visibility: Internal
|
|
600
|
-
- Kind: Internal implementation class
|
|
601
|
-
|
|
602
|
-
<!-- class:EntropyReader -->
|
|
603
|
-
## `EntropyReader`
|
|
604
|
-
|
|
605
|
-
Bit-level reader over JPEG entropy-coded data that handles byte stuffing and restart markers for the baseline decoder.
|
|
606
|
-
|
|
607
|
-
- Export: `None`
|
|
608
|
-
- Source: `src/formats/jpeg/core/jpeg.js`
|
|
609
|
-
- Visibility: Internal
|
|
610
|
-
- Kind: Internal implementation class
|
|
611
|
-
|
|
612
|
-
### mp3
|
|
613
|
-
|
|
614
|
-
<!-- class:CjsMp3Format -->
|
|
615
|
-
## `CjsMp3Format`
|
|
616
|
-
|
|
617
|
-
MP3 audio format profile that inspects frame and tag metadata and emits raw container bytes or debug JSON, with PCM decoding not implemented.
|
|
618
|
-
|
|
619
|
-
- Export: `@carbonenginejs/runtime-resource/formats/mp3`
|
|
620
|
-
- Source: `src/formats/mp3/CjsMp3Format.js`
|
|
621
|
-
- Visibility: Public
|
|
622
|
-
- Kind: Original CarbonEngineJS class
|
|
623
|
-
|
|
624
|
-
### mp4
|
|
625
|
-
|
|
626
|
-
<!-- class:CjsMp4Format -->
|
|
627
|
-
## `CjsMp4Format`
|
|
628
|
-
|
|
629
|
-
MP4 container format profile that inspects box and track structure and emits raw bytes, debug JSON, or a container-only video payload with codec and duration summaries but no frame decoding.
|
|
630
|
-
|
|
631
|
-
- Export: `@carbonenginejs/runtime-resource/formats/mp4`
|
|
632
|
-
- Source: `src/formats/mp4/CjsMp4Format.js`
|
|
633
|
-
- Visibility: Public
|
|
634
|
-
- Kind: Original CarbonEngineJS class
|
|
635
|
-
|
|
636
|
-
### obj
|
|
637
|
-
|
|
638
|
-
<!-- class:CjsObjFormat -->
|
|
639
|
-
## `CjsObjFormat`
|
|
640
|
-
|
|
641
|
-
OBJ format class that parses Wavefront OBJ text and rebuilds it into shared-mesh, GR2, or CMF output plus debug JSON through its core helpers.
|
|
642
|
-
|
|
643
|
-
- Export: `@carbonenginejs/runtime-resource/formats/obj`
|
|
644
|
-
- Source: `src/formats/obj/CjsObjFormat.js`
|
|
645
|
-
- Visibility: Public
|
|
646
|
-
- Kind: Original CarbonEngineJS class
|
|
647
|
-
|
|
648
|
-
### ogg
|
|
649
|
-
|
|
650
|
-
<!-- class:CjsOggFormat -->
|
|
651
|
-
## `CjsOggFormat`
|
|
652
|
-
|
|
653
|
-
Ogg container format profile that inspects page and stream metadata and decodes Ogg Vorbis audio to PCM with the in-project pure-JS Vorbis decoder, alongside raw and debug JSON output.
|
|
654
|
-
|
|
655
|
-
- Export: `@carbonenginejs/runtime-resource/formats/ogg`
|
|
656
|
-
- Source: `src/formats/ogg/CjsOggFormat.js`
|
|
657
|
-
- Visibility: Public
|
|
658
|
-
- Kind: Original CarbonEngineJS class
|
|
659
|
-
|
|
660
|
-
<!-- class:Codebook -->
|
|
661
|
-
## `Codebook`
|
|
662
|
-
|
|
663
|
-
Vorbis codebook that builds Huffman decode trees and VQ lookup vectors for scalar and vector packet decoding.
|
|
664
|
-
|
|
665
|
-
- Export: `None`
|
|
666
|
-
- Source: `src/formats/ogg/core/vorbis.js`
|
|
667
|
-
- Visibility: Internal
|
|
668
|
-
- Kind: Internal implementation class
|
|
669
|
-
|
|
670
|
-
<!-- class:PacketReader -->
|
|
671
|
-
## `PacketReader`
|
|
672
|
-
|
|
673
|
-
LSB-first bit reader over one Vorbis packet's bytes for the pure-JS Vorbis decoder.
|
|
674
|
-
|
|
675
|
-
- Export: `None`
|
|
676
|
-
- Source: `src/formats/ogg/core/vorbis.js`
|
|
677
|
-
- Visibility: Internal
|
|
678
|
-
- Kind: Internal implementation class
|
|
679
|
-
|
|
680
|
-
### pickle
|
|
681
|
-
|
|
682
|
-
<!-- class:CjsPickleFormat -->
|
|
683
|
-
## `CjsPickleFormat`
|
|
684
|
-
|
|
685
|
-
Data-only Python pickle format facade that currently decodes protocol 0 into JSON-compatible values or identity-preserving payload graphs while rejecting callable and object-construction opcodes.
|
|
686
|
-
|
|
687
|
-
- Export: `@carbonenginejs/runtime-resource/formats/pickle`
|
|
688
|
-
- Source: `src/formats/pickle/CjsPickleFormat.js`
|
|
689
|
-
- Visibility: Public
|
|
690
|
-
- Kind: Original CarbonEngineJS class
|
|
691
|
-
|
|
692
|
-
<!-- class:CjsPickleProtocol0Reader -->
|
|
693
|
-
## `CjsPickleProtocol0Reader`
|
|
694
|
-
|
|
695
|
-
Construction-bound decoder for the inert data subset of Python pickle protocol 0.
|
|
696
|
-
|
|
697
|
-
- Export: `None`
|
|
698
|
-
- Source: `src/formats/pickle/core/CjsPickleProtocol0Reader.js`
|
|
699
|
-
- Visibility: Internal
|
|
700
|
-
- Kind: Internal implementation class
|
|
701
|
-
|
|
702
|
-
### png
|
|
703
|
-
|
|
704
|
-
<!-- class:CjsPngFormat -->
|
|
705
|
-
## `CjsPngFormat`
|
|
706
|
-
|
|
707
|
-
PNG format profile that synchronously inspects chunk and header metadata and emits raw bytes or debug JSON, with RGBA decoding available on the asynchronous read path.
|
|
708
|
-
|
|
709
|
-
- Export: `@carbonenginejs/runtime-resource/formats/png`
|
|
710
|
-
- Source: `src/formats/png/CjsPngFormat.js`
|
|
711
|
-
- Visibility: Public
|
|
712
|
-
- Kind: Original CarbonEngineJS class
|
|
713
|
-
|
|
714
|
-
### red
|
|
715
|
-
|
|
716
|
-
<!-- class:CjsRedFormat -->
|
|
717
|
-
## `CjsRedFormat`
|
|
718
|
-
|
|
719
|
-
Red format profile that reads type-discriminated, self-referential Red YAML object graphs and emits a compact public payload, a neutral raw graph, or caller-supplied runtime classes through the runtime-utils hydration adapter.
|
|
720
|
-
|
|
721
|
-
- Export: `@carbonenginejs/runtime-resource/formats/red`
|
|
722
|
-
- Source: `src/formats/red/CjsRedFormat.js`
|
|
723
|
-
- Visibility: Public
|
|
724
|
-
- Kind: Original CarbonEngineJS class
|
|
725
|
-
|
|
726
|
-
<!-- class:CjsRedReader -->
|
|
727
|
-
## `CjsRedReader`
|
|
728
|
-
|
|
729
|
-
Reader that walks a Red (YAML) type-discriminated, self-referential graph into payload, raw, or runtime shapes, sharing repeated nodes and stripping authoring-tool keys.
|
|
730
|
-
|
|
731
|
-
- Export: `None`
|
|
732
|
-
- Source: `src/formats/red/core/CjsRedReader.js`
|
|
733
|
-
- Visibility: Internal
|
|
734
|
-
- Kind: Internal implementation class
|
|
735
|
-
|
|
736
|
-
### stl
|
|
737
|
-
|
|
738
|
-
<!-- class:CjsStlFormat -->
|
|
739
|
-
## `CjsStlFormat`
|
|
740
|
-
|
|
741
|
-
STL format class that parses ASCII and binary STL, writes STL from shared meshes, and inspects printability, emitting shared-mesh, GR2, or CMF output plus debug JSON.
|
|
742
|
-
|
|
743
|
-
- Export: `@carbonenginejs/runtime-resource/formats/stl`
|
|
744
|
-
- Source: `src/formats/stl/CjsStlFormat.js`
|
|
745
|
-
- Visibility: Public
|
|
746
|
-
- Kind: Original CarbonEngineJS class
|
|
747
|
-
|
|
748
|
-
<!-- class:DisjointSet -->
|
|
749
|
-
## `DisjointSet`
|
|
750
|
-
|
|
751
|
-
Union-find structure with path compression used to group edge-connected triangles during STL printability inspection.
|
|
752
|
-
|
|
753
|
-
- Export: `None`
|
|
754
|
-
- Source: `src/formats/stl/core/stl.js`
|
|
755
|
-
- Visibility: Internal
|
|
756
|
-
- Kind: Internal implementation class
|
|
757
|
-
|
|
758
|
-
### tga
|
|
759
|
-
|
|
760
|
-
<!-- class:CjsTgaFormat -->
|
|
761
|
-
## `CjsTgaFormat`
|
|
762
|
-
|
|
763
|
-
TGA format profile that inspects header metadata and reads TGA bytes into raw, debug JSON, or decoded RGBA image payloads.
|
|
764
|
-
|
|
765
|
-
- Export: `@carbonenginejs/runtime-resource/formats/tga`
|
|
766
|
-
- Source: `src/formats/tga/CjsTgaFormat.js`
|
|
767
|
-
- Visibility: Public
|
|
768
|
-
- Kind: Original CarbonEngineJS class
|
|
769
|
-
|
|
770
|
-
### wav
|
|
771
|
-
|
|
772
|
-
<!-- class:CjsWavFormat -->
|
|
773
|
-
## `CjsWavFormat`
|
|
774
|
-
|
|
775
|
-
WAV audio format profile that inspects RIFF chunk metadata and reads supported WAV bytes into PCM or audio payloads, alongside raw and debug JSON output.
|
|
776
|
-
|
|
777
|
-
- Export: `@carbonenginejs/runtime-resource/formats/wav`
|
|
778
|
-
- Source: `src/formats/wav/CjsWavFormat.js`
|
|
779
|
-
- Visibility: Public
|
|
780
|
-
- Kind: Original CarbonEngineJS class
|
|
781
|
-
|
|
782
|
-
### shared effect layer
|
|
783
|
-
|
|
784
|
-
### webgl
|
|
785
|
-
|
|
786
|
-
<!-- class:CjsWebglFormat -->
|
|
787
|
-
## `CjsWebglFormat`
|
|
788
|
-
|
|
789
|
-
WebGL shader format profile that translates compiled Carbon effects into Carbon v15 containers carrying GLSL programs and a per-pass backend block.
|
|
790
|
-
|
|
791
|
-
- Export: `@carbonenginejs/runtime-resource/formats/webgl`
|
|
792
|
-
- Source: `src/formats/webgl/CjsWebglFormat.js`
|
|
793
|
-
- Visibility: Public
|
|
794
|
-
- Kind: Original CarbonEngineJS class
|
|
795
|
-
|
|
796
|
-
<!-- class:WebglReadError -->
|
|
797
|
-
## `WebglReadError`
|
|
798
|
-
|
|
799
|
-
Error raised when container bytes or their backend blocks are malformed or inconsistent.
|
|
800
|
-
|
|
801
|
-
- Export: `None`
|
|
802
|
-
- Source: `src/formats/webgl/core/errors.js`
|
|
803
|
-
- Visibility: Internal
|
|
804
|
-
- Kind: Internal implementation class
|
|
805
|
-
|
|
806
|
-
<!-- class:DxbcGlslEmitter -->
|
|
807
|
-
## `DxbcGlslEmitter`
|
|
808
|
-
|
|
809
|
-
Translates decoded DXBC shader programs into GLSL for the WebGL backend.
|
|
810
|
-
|
|
811
|
-
- Export: `None`
|
|
812
|
-
- Source: `src/formats/webgl/core/glsl/DxbcGlslEmitter.js`
|
|
813
|
-
- Visibility: Internal
|
|
814
|
-
- Kind: Internal implementation class
|
|
815
|
-
|
|
816
|
-
<!-- class:DxbcGlslHelperRegistry -->
|
|
817
|
-
## `DxbcGlslHelperRegistry`
|
|
818
|
-
|
|
819
|
-
Collects and emits the GLSL helper functions a translated program requires.
|
|
820
|
-
|
|
821
|
-
- Export: `None`
|
|
822
|
-
- Source: `src/formats/webgl/core/glsl/DxbcGlslHelpers.js`
|
|
823
|
-
- Visibility: Internal
|
|
824
|
-
- Kind: Internal implementation class
|
|
825
|
-
|
|
826
|
-
<!-- class:DxbcGlslOperandFormatter -->
|
|
827
|
-
## `DxbcGlslOperandFormatter`
|
|
828
|
-
|
|
829
|
-
Formats DXBC operands, swizzles, and modifiers as GLSL expressions.
|
|
830
|
-
|
|
831
|
-
- Export: `None`
|
|
832
|
-
- Source: `src/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js`
|
|
833
|
-
- Visibility: Internal
|
|
834
|
-
- Kind: Internal implementation class
|
|
835
|
-
|
|
836
|
-
### webgpu
|
|
837
|
-
|
|
838
|
-
<!-- class:CjsWebgpuFormat -->
|
|
839
|
-
## `CjsWebgpuFormat`
|
|
840
|
-
|
|
841
|
-
WebGPU shader format profile that translates compiled Carbon effects into Carbon WebGPU containers carrying WGSL programs and bind-group layouts.
|
|
842
|
-
|
|
843
|
-
- Export: `@carbonenginejs/runtime-resource/formats/webgpu`
|
|
844
|
-
- Source: `src/formats/webgpu/CjsWebgpuFormat.js`
|
|
845
|
-
- Visibility: Public
|
|
846
|
-
- Kind: Original CarbonEngineJS class
|
|
847
|
-
|
|
848
|
-
<!-- class:CarbonWebgpuContainer -->
|
|
849
|
-
## `CarbonWebgpuContainer`
|
|
850
|
-
|
|
851
|
-
Reader over one WebGPU effect container.
|
|
852
|
-
|
|
853
|
-
- Export: `None`
|
|
854
|
-
- Source: `src/formats/webgpu/core/carbonWebgpu/CarbonWebgpuContainer.js`
|
|
855
|
-
- Visibility: Internal
|
|
856
|
-
- Kind: Internal implementation class
|
|
857
|
-
|
|
858
|
-
<!-- class:WebgpuReadError -->
|
|
859
|
-
## `WebgpuReadError`
|
|
860
|
-
|
|
861
|
-
Error raised when Carbon WebGPU bytes or package documents are malformed or inconsistent.
|
|
862
|
-
|
|
863
|
-
- Export: `None`
|
|
864
|
-
- Source: `src/formats/webgpu/core/errors.js`
|
|
865
|
-
- Visibility: Internal
|
|
866
|
-
- Kind: Internal implementation class
|
|
867
|
-
|
|
868
|
-
### webm
|
|
869
|
-
|
|
870
|
-
<!-- class:CjsWebmFormat -->
|
|
871
|
-
## `CjsWebmFormat`
|
|
872
|
-
|
|
873
|
-
WebM container format profile that inspects EBML segment and track structure and emits raw bytes, debug JSON, or a container-only video payload with codec and duration summaries but no frame decoding.
|
|
874
|
-
|
|
875
|
-
- Export: `@carbonenginejs/runtime-resource/formats/webm`
|
|
876
|
-
- Source: `src/formats/webm/CjsWebmFormat.js`
|
|
877
|
-
- Visibility: Public
|
|
878
|
-
- Kind: Original CarbonEngineJS class
|
|
879
|
-
|
|
880
|
-
### webp
|
|
881
|
-
|
|
882
|
-
<!-- class:CjsWebpFormat -->
|
|
883
|
-
## `CjsWebpFormat`
|
|
884
|
-
|
|
885
|
-
Metadata-only WebP format profile that inspects RIFF chunk headers and emits raw container bytes or debug JSON without decoding pixels.
|
|
886
|
-
|
|
887
|
-
- Export: `@carbonenginejs/runtime-resource/formats/webp`
|
|
888
|
-
- Source: `src/formats/webp/CjsWebpFormat.js`
|
|
889
|
-
- Visibility: Public
|
|
890
|
-
- Kind: Original CarbonEngineJS class
|
|
891
|
-
|
|
892
|
-
### wem
|
|
893
|
-
|
|
894
|
-
<!-- class:CjsWemFormat -->
|
|
895
|
-
## `CjsWemFormat`
|
|
896
|
-
|
|
897
|
-
Reader for Audiokinetic Wwise media (`.wem`) containers that inspects codec, channel/rate layout, and Vorbis duration, and reads out raw container bytes, a ww2ogg-style Ogg repack of Wwise Vorbis, or decoded PCM.
|
|
898
|
-
|
|
899
|
-
- Export: `@carbonenginejs/runtime-resource/formats/wem`
|
|
900
|
-
- Source: `src/formats/wem/CjsWemFormat.js`
|
|
901
|
-
- Visibility: Public
|
|
902
|
-
- Kind: Original CarbonEngineJS class
|
|
903
|
-
|
|
904
|
-
<!-- class:BitReader -->
|
|
905
|
-
## `BitReader`
|
|
906
|
-
|
|
907
|
-
LSB-first bit reader over Wwise Vorbis packet bytes for the Ogg repacking path.
|
|
908
|
-
|
|
909
|
-
- Export: `None`
|
|
910
|
-
- Source: `src/formats/wem/core/bitStream.js`
|
|
911
|
-
- Visibility: Internal
|
|
912
|
-
- Kind: Internal implementation class
|
|
913
|
-
|
|
914
|
-
<!-- class:OggPageWriter -->
|
|
915
|
-
## `OggPageWriter`
|
|
916
|
-
|
|
917
|
-
LSB-first bit writer that assembles repacked Wwise Vorbis packets into standard Ogg pages, one page per packet, matching ww2ogg behavior.
|
|
918
|
-
|
|
919
|
-
- Export: `None`
|
|
920
|
-
- Source: `src/formats/wem/core/bitStream.js`
|
|
921
|
-
- Visibility: Internal
|
|
922
|
-
- Kind: Internal implementation class
|
|
923
|
-
|
|
924
|
-
### yaml
|
|
925
|
-
|
|
926
|
-
<!-- class:CjsYamlFormat -->
|
|
927
|
-
## `CjsYamlFormat`
|
|
928
|
-
|
|
929
|
-
YAML format profile that parses YAML text or strict UTF-8 bytes into payload, JSON-graph, raw, or document output with configurable tag policies, alias limits, and identity/reference markers.
|
|
930
|
-
|
|
931
|
-
- Export: `@carbonenginejs/runtime-resource/formats/yaml`
|
|
932
|
-
- Source: `src/formats/yaml/CjsYamlFormat.js`
|
|
933
|
-
- Visibility: Public
|
|
934
|
-
- Kind: Original CarbonEngineJS class
|
|
935
|
-
|
|
936
|
-
<!-- class:CjsYamlReader -->
|
|
937
|
-
## `CjsYamlReader`
|
|
938
|
-
|
|
939
|
-
Construction-bound reader that parses one YAML source with the `yaml` library and produces the format's payload, raw, or document graphs while enforcing tag policy and alias limits.
|
|
940
|
-
|
|
941
|
-
- Export: `None`
|
|
942
|
-
- Source: `src/formats/yaml/core/CjsYamlReader.js`
|
|
943
|
-
- Visibility: Internal
|
|
944
|
-
- Kind: Internal implementation class
|
|
1
|
+
# Formats class catalog
|
|
2
|
+
|
|
3
|
+
Status: Evolving
|
|
4
|
+
Scope: `@carbonenginejs/runtime-resource` classes under `src/formats`
|
|
5
|
+
Audience: Users, maintainers, and automated readers
|
|
6
|
+
Summary: Provides one-sentence purpose descriptors for maintained classes under `src/formats`.
|
|
7
|
+
|
|
8
|
+
### black
|
|
9
|
+
|
|
10
|
+
<!-- class:CjsBlackFormat -->
|
|
11
|
+
## `CjsBlackFormat`
|
|
12
|
+
|
|
13
|
+
Black format profile that reads `.black` binary object graphs into payload, document, raw, or runtime output using CarbonEngineJS canonical schemas or caller-supplied source-shape registries.
|
|
14
|
+
|
|
15
|
+
- Export: `@carbonenginejs/runtime-resource/formats/black`
|
|
16
|
+
- Source: `src/formats/black/CjsBlackFormat.js`
|
|
17
|
+
- Visibility: Public
|
|
18
|
+
- Kind: Original CarbonEngineJS class
|
|
19
|
+
|
|
20
|
+
<!-- class:CjsBlackBinaryReader -->
|
|
21
|
+
## `CjsBlackBinaryReader`
|
|
22
|
+
|
|
23
|
+
Bounds-aware `DataView` cursor that provides the primitive reads and end-of-stream checks the Black transport decodes with.
|
|
24
|
+
|
|
25
|
+
- Export: `None`
|
|
26
|
+
- Source: `src/formats/black/core/CjsBlackBinaryReader.js`
|
|
27
|
+
- Visibility: Internal
|
|
28
|
+
- Kind: Internal implementation class
|
|
29
|
+
|
|
30
|
+
<!-- class:CjsBlackPropertyReaders -->
|
|
31
|
+
## `CjsBlackPropertyReaders`
|
|
32
|
+
|
|
33
|
+
Static set of read and skip routines that decode or skip individual Black property values (primitives, strings, arrays, structure lists, dictionaries, and binary blocks) from their type descriptors.
|
|
34
|
+
|
|
35
|
+
- Export: `None`
|
|
36
|
+
- Source: `src/formats/black/core/CjsBlackPropertyReaders.js`
|
|
37
|
+
- Visibility: Internal
|
|
38
|
+
- Kind: Internal implementation class
|
|
39
|
+
|
|
40
|
+
<!-- class:CjsBlackReader -->
|
|
41
|
+
## `CjsBlackReader`
|
|
42
|
+
|
|
43
|
+
Transport that reads a `.black` stream into a payload, document, or runtime graph, owning the binary buffer, string tables, numeric references, and binary read cursor.
|
|
44
|
+
|
|
45
|
+
- Export: `None`
|
|
46
|
+
- Source: `src/formats/black/core/CjsBlackReader.js`
|
|
47
|
+
- Visibility: Internal
|
|
48
|
+
- Kind: Internal implementation class
|
|
49
|
+
|
|
50
|
+
<!-- class:CjsBlackSchemaRegistry -->
|
|
51
|
+
## `CjsBlackSchemaRegistry`
|
|
52
|
+
|
|
53
|
+
Registry that normalizes caller-supplied schemas into per-class source shapes the Black reader uses to resolve persisted fields.
|
|
54
|
+
|
|
55
|
+
- Export: `None`
|
|
56
|
+
- Source: `src/formats/black/core/CjsBlackSchemaRegistry.js`
|
|
57
|
+
- Visibility: Internal
|
|
58
|
+
- Kind: Internal implementation class
|
|
59
|
+
|
|
60
|
+
### bnk
|
|
61
|
+
|
|
62
|
+
<!-- class:CjsBnkFormat -->
|
|
63
|
+
## `CjsBnkFormat`
|
|
64
|
+
|
|
65
|
+
Reader for Audiokinetic Wwise soundbank (`.bnk`) containers that inspects the bank header, embedded media index, object hierarchy, and referenced bank names without copying payloads, and reads out the raw bank, debug JSON, or undecoded embedded media items.
|
|
66
|
+
|
|
67
|
+
- Export: `@carbonenginejs/runtime-resource/formats/bnk`
|
|
68
|
+
- Source: `src/formats/bnk/CjsBnkFormat.js`
|
|
69
|
+
- Visibility: Public
|
|
70
|
+
- Kind: Original CarbonEngineJS class
|
|
71
|
+
|
|
72
|
+
<!-- class:MusicCursor -->
|
|
73
|
+
## `MusicCursor`
|
|
74
|
+
|
|
75
|
+
Little-endian byte cursor over HIRC payload bytes used to decode Wwise interactive-music node payloads with exact-end validation.
|
|
76
|
+
|
|
77
|
+
- Export: `None`
|
|
78
|
+
- Source: `src/formats/bnk/core/musicNodes.js`
|
|
79
|
+
- Visibility: Internal
|
|
80
|
+
- Kind: Internal implementation class
|
|
81
|
+
|
|
82
|
+
<!-- class:WwiseCursor -->
|
|
83
|
+
## `WwiseCursor`
|
|
84
|
+
|
|
85
|
+
Bounds-aware little-endian cursor used for exact Wwise v150 NodeBase, authored-SFX, and attenuation decoding.
|
|
86
|
+
|
|
87
|
+
- Export: `None`
|
|
88
|
+
- Source: `src/formats/bnk/core/nodeBase.js`
|
|
89
|
+
- Visibility: Internal
|
|
90
|
+
- Kind: Internal implementation class
|
|
91
|
+
|
|
92
|
+
<!-- class:GlobalSettingsCursor -->
|
|
93
|
+
## `GlobalSettingsCursor`
|
|
94
|
+
|
|
95
|
+
Bounds-aware little-endian cursor over one Wwise Global Settings payload.
|
|
96
|
+
|
|
97
|
+
- Export: `None`
|
|
98
|
+
- Source: `src/formats/bnk/core/globalSettings.js`
|
|
99
|
+
- Visibility: Internal
|
|
100
|
+
- Kind: Internal implementation class
|
|
101
|
+
|
|
102
|
+
<!-- class:ActionCursor -->
|
|
103
|
+
## `ActionCursor`
|
|
104
|
+
|
|
105
|
+
Bounds-aware byte cursor used for exact Wwise v150 Event Action decoding.
|
|
106
|
+
|
|
107
|
+
- Export: `None`
|
|
108
|
+
- Source: `src/formats/bnk/core/eventAction.js`
|
|
109
|
+
- Visibility: Internal
|
|
110
|
+
- Kind: Internal implementation class
|
|
111
|
+
|
|
112
|
+
### cmf
|
|
113
|
+
|
|
114
|
+
<!-- class:CjsCmfFormat -->
|
|
115
|
+
## `CjsCmfFormat`
|
|
116
|
+
|
|
117
|
+
CMF geometry-container format class that reads, inspects, constructs, and writes CMF data, emitting CMF-native output by default alongside GR2, shared-mesh, and debug JSON targets.
|
|
118
|
+
|
|
119
|
+
- Export: `@carbonenginejs/runtime-resource/formats/cmf`
|
|
120
|
+
- Source: `src/formats/cmf/CjsCmfFormat.js`
|
|
121
|
+
- Visibility: Public
|
|
122
|
+
- Kind: Original CarbonEngineJS class
|
|
123
|
+
|
|
124
|
+
<!-- class:BinaryReader -->
|
|
125
|
+
## `BinaryReader`
|
|
126
|
+
|
|
127
|
+
Bounds-checked little-endian offset reader over CMF file bytes, including 64-bit integer reads guarded against unsafe values.
|
|
128
|
+
|
|
129
|
+
- Export: `None`
|
|
130
|
+
- Source: `src/formats/cmf/core/binary.js`
|
|
131
|
+
- Visibility: Internal
|
|
132
|
+
- Kind: Internal implementation class
|
|
133
|
+
|
|
134
|
+
<!-- class:Flattener -->
|
|
135
|
+
## `Flattener`
|
|
136
|
+
|
|
137
|
+
Writer-side helper that flattens a CMF object graph into the binary Data section with self-relative tagged span offsets, depth-first ordering, chunk alignment, and duplicate-leaf deduplication, mirroring CarbonEngine's `cmf::BuildFile`.
|
|
138
|
+
|
|
139
|
+
- Export: `None`
|
|
140
|
+
- Source: `src/formats/cmf/core/writer.js`
|
|
141
|
+
- Visibility: Internal
|
|
142
|
+
- Kind: Internal implementation class
|
|
143
|
+
|
|
144
|
+
### dds
|
|
145
|
+
|
|
146
|
+
<!-- class:CjsDdsFormat -->
|
|
147
|
+
## `CjsDdsFormat`
|
|
148
|
+
|
|
149
|
+
DDS texture format profile that inspects header metadata, probes output support, and reads DDS bytes into raw, GPU-free texture, image, or software-decoded RGBA and float payloads (BC1-BC5, BC7, and BC6H included).
|
|
150
|
+
|
|
151
|
+
- Export: `@carbonenginejs/runtime-resource/formats/dds`
|
|
152
|
+
- Source: `src/formats/dds/CjsDdsFormat.js`
|
|
153
|
+
- Visibility: Public
|
|
154
|
+
- Kind: Original CarbonEngineJS class
|
|
155
|
+
|
|
156
|
+
<!-- class:Bc7BitReader -->
|
|
157
|
+
## `Bc7BitReader`
|
|
158
|
+
|
|
159
|
+
LSB-first bit reader over a single 128-bit BC7 block bitstream for the software BC7 decoder.
|
|
160
|
+
|
|
161
|
+
- Export: `None`
|
|
162
|
+
- Source: `src/formats/dds/core/bc7.js`
|
|
163
|
+
- Visibility: Internal
|
|
164
|
+
- Kind: Internal implementation class
|
|
165
|
+
|
|
166
|
+
### dxbc
|
|
167
|
+
|
|
168
|
+
<!-- class:CjsDxbcFormat -->
|
|
169
|
+
## `CjsDxbcFormat`
|
|
170
|
+
|
|
171
|
+
DXBC shader-bytecode format profile that reads container chunks, signatures, and the decoded shader program from compiled Direct3D bytecode.
|
|
172
|
+
|
|
173
|
+
- Export: `@carbonenginejs/runtime-resource/formats/dxbc`
|
|
174
|
+
- Source: `src/formats/dxbc/CjsDxbcFormat.js`
|
|
175
|
+
- Visibility: Public
|
|
176
|
+
- Kind: Original CarbonEngineJS class
|
|
177
|
+
|
|
178
|
+
<!-- class:DxbcReader -->
|
|
179
|
+
## `DxbcReader`
|
|
180
|
+
|
|
181
|
+
Bounded little-endian byte cursor over DXBC payloads, with optional shared string-table resolution.
|
|
182
|
+
|
|
183
|
+
- Export: `None`
|
|
184
|
+
- Source: `src/formats/dxbc/core/DxbcReader.js`
|
|
185
|
+
- Visibility: Internal
|
|
186
|
+
- Kind: Internal implementation class
|
|
187
|
+
|
|
188
|
+
<!-- class:DxbcContainer -->
|
|
189
|
+
## `DxbcContainer`
|
|
190
|
+
|
|
191
|
+
Parsed DXBC container that locates and exposes its four-character-code chunks.
|
|
192
|
+
|
|
193
|
+
- Export: `None`
|
|
194
|
+
- Source: `src/formats/dxbc/core/container.js`
|
|
195
|
+
- Visibility: Internal
|
|
196
|
+
- Kind: Internal implementation class
|
|
197
|
+
|
|
198
|
+
<!-- class:DxbcInstructionDecoder -->
|
|
199
|
+
## `DxbcInstructionDecoder`
|
|
200
|
+
|
|
201
|
+
Decodes the DXBC shader token stream into structured instructions, operands, and declarations.
|
|
202
|
+
|
|
203
|
+
- Export: `None`
|
|
204
|
+
- Source: `src/formats/dxbc/core/decoder.js`
|
|
205
|
+
- Visibility: Internal
|
|
206
|
+
- Kind: Internal implementation class
|
|
207
|
+
|
|
208
|
+
<!-- class:DxbcReadError -->
|
|
209
|
+
## `DxbcReadError`
|
|
210
|
+
|
|
211
|
+
Error raised when DXBC bytes are malformed, truncated, or structurally invalid.
|
|
212
|
+
|
|
213
|
+
- Export: `None`
|
|
214
|
+
- Source: `src/formats/dxbc/core/errors.js`
|
|
215
|
+
- Visibility: Internal
|
|
216
|
+
- Kind: Internal implementation class
|
|
217
|
+
|
|
218
|
+
<!-- class:DxbcShaderProgram -->
|
|
219
|
+
## `DxbcShaderProgram`
|
|
220
|
+
|
|
221
|
+
Decoded DXBC shader program: version, stage type, and its ordered instruction stream.
|
|
222
|
+
|
|
223
|
+
- Export: `None`
|
|
224
|
+
- Source: `src/formats/dxbc/core/program.js`
|
|
225
|
+
- Visibility: Internal
|
|
226
|
+
- Kind: Internal implementation class
|
|
227
|
+
|
|
228
|
+
<!-- class:DxbcSignatureChunk -->
|
|
229
|
+
## `DxbcSignatureChunk`
|
|
230
|
+
|
|
231
|
+
Parsed DXBC input, output, or patch-constant signature chunk and its parameter records.
|
|
232
|
+
|
|
233
|
+
- Export: `None`
|
|
234
|
+
- Source: `src/formats/dxbc/core/signature.js`
|
|
235
|
+
- Visibility: Internal
|
|
236
|
+
- Kind: Internal implementation class
|
|
237
|
+
|
|
238
|
+
### fbx
|
|
239
|
+
|
|
240
|
+
<!-- class:CjsFbxFormat -->
|
|
241
|
+
## `CjsFbxFormat`
|
|
242
|
+
|
|
243
|
+
FBX format surface that recognizes and inspects FBX files and emits basic static-mesh GR2 or CMF output in pure JavaScript, ahead of full CarbonEngine-equivalent importer coverage.
|
|
244
|
+
|
|
245
|
+
- Export: `@carbonenginejs/runtime-resource/formats/fbx`
|
|
246
|
+
- Source: `src/formats/fbx/CjsFbxFormat.js`
|
|
247
|
+
- Visibility: Public
|
|
248
|
+
- Kind: Original CarbonEngineJS class
|
|
249
|
+
|
|
250
|
+
<!-- class:DeflateBitReader -->
|
|
251
|
+
## `DeflateBitReader`
|
|
252
|
+
|
|
253
|
+
Bit reader over a zlib/deflate stream used to inflate compressed FBX property arrays.
|
|
254
|
+
|
|
255
|
+
- Export: `None`
|
|
256
|
+
- Source: `src/formats/fbx/core/helpers.js`
|
|
257
|
+
- Visibility: Internal
|
|
258
|
+
- Kind: Internal implementation class
|
|
259
|
+
|
|
260
|
+
<!-- class:DeflateHuffmanTable -->
|
|
261
|
+
## `DeflateHuffmanTable`
|
|
262
|
+
|
|
263
|
+
Canonical Huffman decode table built from deflate code lengths for inflating compressed FBX property arrays.
|
|
264
|
+
|
|
265
|
+
- Export: `None`
|
|
266
|
+
- Source: `src/formats/fbx/core/helpers.js`
|
|
267
|
+
- Visibility: Internal
|
|
268
|
+
- Kind: Internal implementation class
|
|
269
|
+
|
|
270
|
+
### flac
|
|
271
|
+
|
|
272
|
+
<!-- class:CjsFlacFormat -->
|
|
273
|
+
## `CjsFlacFormat`
|
|
274
|
+
|
|
275
|
+
Metadata-only FLAC format profile that validates the stream signature, inspects stream metadata, and emits raw container bytes or debug JSON without decoding PCM.
|
|
276
|
+
|
|
277
|
+
- Export: `@carbonenginejs/runtime-resource/formats/flac`
|
|
278
|
+
- Source: `src/formats/flac/CjsFlacFormat.js`
|
|
279
|
+
- Visibility: Public
|
|
280
|
+
- Kind: Original CarbonEngineJS class
|
|
281
|
+
|
|
282
|
+
### gif
|
|
283
|
+
|
|
284
|
+
<!-- class:CjsGifFormat -->
|
|
285
|
+
## `CjsGifFormat`
|
|
286
|
+
|
|
287
|
+
GIF format profile that inspects header and frame metadata and reads GIF bytes into raw, debug JSON, or LZW-decoded RGBA frame payloads.
|
|
288
|
+
|
|
289
|
+
- Export: `@carbonenginejs/runtime-resource/formats/gif`
|
|
290
|
+
- Source: `src/formats/gif/CjsGifFormat.js`
|
|
291
|
+
- Visibility: Public
|
|
292
|
+
- Kind: Original CarbonEngineJS class
|
|
293
|
+
|
|
294
|
+
### gltf
|
|
295
|
+
|
|
296
|
+
<!-- class:CjsGltfFormat -->
|
|
297
|
+
## `CjsGltfFormat`
|
|
298
|
+
|
|
299
|
+
glTF/GLB format class that parses documents, decodes accessors, and converts meshes, skins, and animations into shared-mesh, GR2, or CMF output plus debug JSON.
|
|
300
|
+
|
|
301
|
+
- Export: `@carbonenginejs/runtime-resource/formats/gltf`
|
|
302
|
+
- Source: `src/formats/gltf/CjsGltfFormat.js`
|
|
303
|
+
- Visibility: Public
|
|
304
|
+
- Kind: Original CarbonEngineJS class
|
|
305
|
+
|
|
306
|
+
### gr2
|
|
307
|
+
|
|
308
|
+
<!-- class:CjsGr2Format -->
|
|
309
|
+
## `CjsGr2Format`
|
|
310
|
+
|
|
311
|
+
Runtime GR2/GSF format class that wraps the migrated `format-gr2` engine under core/ with the runtime-resource format-contract statics ResMan uses for byte probing and async reads.
|
|
312
|
+
|
|
313
|
+
- Export: `@carbonenginejs/runtime-resource/formats/gr2`
|
|
314
|
+
- Source: `src/formats/gr2/CjsGr2Format.js`
|
|
315
|
+
- Visibility: Public
|
|
316
|
+
- Kind: Original CarbonEngineJS class
|
|
317
|
+
|
|
318
|
+
<!-- class:Decoder -->
|
|
319
|
+
## `Decoder`
|
|
320
|
+
|
|
321
|
+
Arithmetic decoder over the Oodle1 7-bit-per-byte compressed bitstream for GR2 section decompression.
|
|
322
|
+
|
|
323
|
+
- Export: `None`
|
|
324
|
+
- Source: `src/formats/gr2/core/oodle1.js`
|
|
325
|
+
- Visibility: Internal
|
|
326
|
+
- Kind: Internal implementation class
|
|
327
|
+
|
|
328
|
+
<!-- class:Dictionary -->
|
|
329
|
+
## `Dictionary`
|
|
330
|
+
|
|
331
|
+
Per-segment Oodle1 decode dictionary holding the adaptive symbol windows for literal and back-reference decoding.
|
|
332
|
+
|
|
333
|
+
- Export: `None`
|
|
334
|
+
- Source: `src/formats/gr2/core/oodle1.js`
|
|
335
|
+
- Visibility: Internal
|
|
336
|
+
- Kind: Internal implementation class
|
|
337
|
+
|
|
338
|
+
<!-- class:FrequencyModel -->
|
|
339
|
+
## `FrequencyModel`
|
|
340
|
+
|
|
341
|
+
Adaptive 15-bit-precision frequency model with cumulative tables and a fast symbol lookup used by the clean-room BitKnit2 decompressor.
|
|
342
|
+
|
|
343
|
+
- Export: `None`
|
|
344
|
+
- Source: `src/formats/gr2/core/bitknit2.js`
|
|
345
|
+
- Visibility: Internal
|
|
346
|
+
- Kind: Internal implementation class
|
|
347
|
+
|
|
348
|
+
<!-- class:WeighWindow -->
|
|
349
|
+
## `WeighWindow`
|
|
350
|
+
|
|
351
|
+
Adaptive weighted symbol window that Oodle1 dictionaries use to model symbol probabilities.
|
|
352
|
+
|
|
353
|
+
- Export: `None`
|
|
354
|
+
- Source: `src/formats/gr2/core/oodle1.js`
|
|
355
|
+
- Visibility: Internal
|
|
356
|
+
- Kind: Internal implementation class
|
|
357
|
+
|
|
358
|
+
### hlsl
|
|
359
|
+
|
|
360
|
+
<!-- class:CjsHlslFormat -->
|
|
361
|
+
## `CjsHlslFormat`
|
|
362
|
+
|
|
363
|
+
Compiled Carbon effect format profile that reads .sm_* shader packages into permutation, technique, and stage metadata.
|
|
364
|
+
|
|
365
|
+
- Export: `@carbonenginejs/runtime-resource/formats/hlsl`
|
|
366
|
+
- Source: `src/formats/hlsl/CjsHlslFormat.js`
|
|
367
|
+
- Visibility: Public
|
|
368
|
+
- Kind: Original CarbonEngineJS class
|
|
369
|
+
|
|
370
|
+
<!-- class:HlslReader -->
|
|
371
|
+
## `HlslReader`
|
|
372
|
+
|
|
373
|
+
Bounded little-endian byte cursor over compiled effect payloads, with shared string-table resolution.
|
|
374
|
+
|
|
375
|
+
- Export: `None`
|
|
376
|
+
- Source: `src/formats/hlsl/core/HlslReader.js`
|
|
377
|
+
- Visibility: Internal
|
|
378
|
+
- Kind: Internal implementation class
|
|
379
|
+
|
|
380
|
+
<!-- class:HlslEffectReadError -->
|
|
381
|
+
## `HlslEffectReadError`
|
|
382
|
+
|
|
383
|
+
Error raised when compiled effect bytes are malformed, truncated, or an unsupported version.
|
|
384
|
+
|
|
385
|
+
- Export: `None`
|
|
386
|
+
- Source: `src/formats/hlsl/core/HlslEffectReadError.js`
|
|
387
|
+
- Visibility: Internal
|
|
388
|
+
- Kind: Internal implementation class
|
|
389
|
+
|
|
390
|
+
<!-- class:HlslEffectStateManager -->
|
|
391
|
+
## `HlslEffectStateManager`
|
|
392
|
+
|
|
393
|
+
Resolves and caches render-state setups referenced by a compiled effect while it is read.
|
|
394
|
+
|
|
395
|
+
- Export: `None`
|
|
396
|
+
- Source: `src/formats/hlsl/core/HlslEffectStateManager.js`
|
|
397
|
+
- Visibility: Internal
|
|
398
|
+
- Kind: Internal implementation class
|
|
399
|
+
|
|
400
|
+
<!-- class:HlslRenderStateSetup -->
|
|
401
|
+
## `HlslRenderStateSetup`
|
|
402
|
+
|
|
403
|
+
Ordered render-state key and value records attached to one pass.
|
|
404
|
+
|
|
405
|
+
- Export: `None`
|
|
406
|
+
- Source: `src/formats/hlsl/core/HlslRenderStateSetup.js`
|
|
407
|
+
- Visibility: Internal
|
|
408
|
+
- Kind: Internal implementation class
|
|
409
|
+
|
|
410
|
+
<!-- class:HlslResourceSetDescription -->
|
|
411
|
+
## `HlslResourceSetDescription`
|
|
412
|
+
|
|
413
|
+
Describes one resource set bound by a compiled effect stage.
|
|
414
|
+
|
|
415
|
+
- Export: `None`
|
|
416
|
+
- Source: `src/formats/hlsl/core/HlslResourceSetDescription.js`
|
|
417
|
+
- Visibility: Internal
|
|
418
|
+
- Kind: Internal implementation class
|
|
419
|
+
|
|
420
|
+
<!-- class:HlslShaderBytecode -->
|
|
421
|
+
## `HlslShaderBytecode`
|
|
422
|
+
|
|
423
|
+
Stage bytecode payload carried by a compiled effect, with its stage type and name.
|
|
424
|
+
|
|
425
|
+
- Export: `None`
|
|
426
|
+
- Source: `src/formats/hlsl/core/HlslShaderBytecode.js`
|
|
427
|
+
- Visibility: Internal
|
|
428
|
+
- Kind: Internal implementation class
|
|
429
|
+
|
|
430
|
+
<!-- class:HlslEffectRes -->
|
|
431
|
+
## `HlslEffectRes`
|
|
432
|
+
|
|
433
|
+
Parsed compiled effect resource: permutation axes, body offsets, and lazily decoded shader bodies.
|
|
434
|
+
|
|
435
|
+
- Export: `None`
|
|
436
|
+
- Source: `src/formats/hlsl/core/tr2/resources/HlslEffectRes.js`
|
|
437
|
+
- Visibility: Internal
|
|
438
|
+
- Kind: Internal implementation class
|
|
439
|
+
|
|
440
|
+
<!-- class:HlslShaderPermutation -->
|
|
441
|
+
## `HlslShaderPermutation`
|
|
442
|
+
|
|
443
|
+
One permutation axis of a compiled effect, with its ordered options and default.
|
|
444
|
+
|
|
445
|
+
- Export: `None`
|
|
446
|
+
- Source: `src/formats/hlsl/core/tr2/resources/HlslShaderPermutation.js`
|
|
447
|
+
- Visibility: Internal
|
|
448
|
+
- Kind: Internal implementation class
|
|
449
|
+
|
|
450
|
+
<!-- class:HlslEffectBindingManifest -->
|
|
451
|
+
## `HlslEffectBindingManifest`
|
|
452
|
+
|
|
453
|
+
Flattened per-stage binding manifest derived from a resolved effect description.
|
|
454
|
+
|
|
455
|
+
- Export: `None`
|
|
456
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectBindingManifest.js`
|
|
457
|
+
- Visibility: Internal
|
|
458
|
+
- Kind: Internal implementation class
|
|
459
|
+
|
|
460
|
+
<!-- class:HlslEffectConstant -->
|
|
461
|
+
## `HlslEffectConstant`
|
|
462
|
+
|
|
463
|
+
Reflected shader constant: name, offset, size, type, dimension, and element count.
|
|
464
|
+
|
|
465
|
+
- Export: `None`
|
|
466
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectConstant.js`
|
|
467
|
+
- Visibility: Internal
|
|
468
|
+
- Kind: Internal implementation class
|
|
469
|
+
|
|
470
|
+
<!-- class:HlslEffectDescription -->
|
|
471
|
+
## `HlslEffectDescription`
|
|
472
|
+
|
|
473
|
+
Decoded effect body: techniques, passes, stages, libraries, and top-level annotations.
|
|
474
|
+
|
|
475
|
+
- Export: `None`
|
|
476
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectDescription.js`
|
|
477
|
+
- Visibility: Internal
|
|
478
|
+
- Kind: Internal implementation class
|
|
479
|
+
|
|
480
|
+
<!-- class:HlslEffectLibrary -->
|
|
481
|
+
## `HlslEffectLibrary`
|
|
482
|
+
|
|
483
|
+
Ray-tracing shader library record with its exports, payload size, and stage inputs.
|
|
484
|
+
|
|
485
|
+
- Export: `None`
|
|
486
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectLibrary.js`
|
|
487
|
+
- Visibility: Internal
|
|
488
|
+
- Kind: Internal implementation class
|
|
489
|
+
|
|
490
|
+
<!-- class:HlslEffectParameterAnnotation -->
|
|
491
|
+
## `HlslEffectParameterAnnotation`
|
|
492
|
+
|
|
493
|
+
Typed annotation attached to a reflected effect parameter.
|
|
494
|
+
|
|
495
|
+
- Export: `None`
|
|
496
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectParameterAnnotation.js`
|
|
497
|
+
- Visibility: Internal
|
|
498
|
+
- Kind: Internal implementation class
|
|
499
|
+
|
|
500
|
+
<!-- class:HlslEffectResource -->
|
|
501
|
+
## `HlslEffectResource`
|
|
502
|
+
|
|
503
|
+
Reflected shader resource or UAV binding with its register identity and array count.
|
|
504
|
+
|
|
505
|
+
- Export: `None`
|
|
506
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectResource.js`
|
|
507
|
+
- Visibility: Internal
|
|
508
|
+
- Kind: Internal implementation class
|
|
509
|
+
|
|
510
|
+
<!-- class:HlslEffectStageInput -->
|
|
511
|
+
## `HlslEffectStageInput`
|
|
512
|
+
|
|
513
|
+
Reflected stage input: constants, resources, samplers, signatures, and default constant bytes.
|
|
514
|
+
|
|
515
|
+
- Export: `None`
|
|
516
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectStageInput.js`
|
|
517
|
+
- Visibility: Internal
|
|
518
|
+
- Kind: Internal implementation class
|
|
519
|
+
|
|
520
|
+
<!-- class:HlslEffectTechnique -->
|
|
521
|
+
## `HlslEffectTechnique`
|
|
522
|
+
|
|
523
|
+
Named technique of a compiled effect body and its ordered passes.
|
|
524
|
+
|
|
525
|
+
- Export: `None`
|
|
526
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslEffectTechnique.js`
|
|
527
|
+
- Visibility: Internal
|
|
528
|
+
- Kind: Internal implementation class
|
|
529
|
+
|
|
530
|
+
<!-- class:HlslPass -->
|
|
531
|
+
## `HlslPass`
|
|
532
|
+
|
|
533
|
+
One pass of a technique, carrying its stage inputs and render states.
|
|
534
|
+
|
|
535
|
+
- Export: `None`
|
|
536
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslPass.js`
|
|
537
|
+
- Visibility: Internal
|
|
538
|
+
- Kind: Internal implementation class
|
|
539
|
+
|
|
540
|
+
<!-- class:HlslSamplerDescription -->
|
|
541
|
+
## `HlslSamplerDescription`
|
|
542
|
+
|
|
543
|
+
Sampler state description: filters, address modes, LOD bounds, and comparison function.
|
|
544
|
+
|
|
545
|
+
- Export: `None`
|
|
546
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslSamplerDescription.js`
|
|
547
|
+
- Visibility: Internal
|
|
548
|
+
- Kind: Internal implementation class
|
|
549
|
+
|
|
550
|
+
<!-- class:HlslSamplerSetup -->
|
|
551
|
+
## `HlslSamplerSetup`
|
|
552
|
+
|
|
553
|
+
Named or static sampler setup bound by a compiled effect stage.
|
|
554
|
+
|
|
555
|
+
- Export: `None`
|
|
556
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslSamplerSetup.js`
|
|
557
|
+
- Visibility: Internal
|
|
558
|
+
- Kind: Internal implementation class
|
|
559
|
+
|
|
560
|
+
<!-- class:HlslShader -->
|
|
561
|
+
## `HlslShader`
|
|
562
|
+
|
|
563
|
+
Decoded shader body for one permutation index, wrapping its effect description.
|
|
564
|
+
|
|
565
|
+
- Export: `None`
|
|
566
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslShader.js`
|
|
567
|
+
- Visibility: Internal
|
|
568
|
+
- Kind: Internal implementation class
|
|
569
|
+
|
|
570
|
+
<!-- class:HlslShaderOption -->
|
|
571
|
+
## `HlslShaderOption`
|
|
572
|
+
|
|
573
|
+
One option value of a permutation axis.
|
|
574
|
+
|
|
575
|
+
- Export: `None`
|
|
576
|
+
- Source: `src/formats/hlsl/core/tr2/shader/HlslShaderOption.js`
|
|
577
|
+
- Visibility: Internal
|
|
578
|
+
- Kind: Internal implementation class
|
|
579
|
+
|
|
580
|
+
### jpeg
|
|
581
|
+
|
|
582
|
+
<!-- class:CjsJpegFormat -->
|
|
583
|
+
## `CjsJpegFormat`
|
|
584
|
+
|
|
585
|
+
JPEG format profile that inspects marker and header metadata and reads baseline JPEG bytes into raw, debug JSON, or RGBA payloads through the in-project baseline decoder.
|
|
586
|
+
|
|
587
|
+
- Export: `@carbonenginejs/runtime-resource/formats/jpeg`
|
|
588
|
+
- Source: `src/formats/jpeg/CjsJpegFormat.js`
|
|
589
|
+
- Visibility: Public
|
|
590
|
+
- Kind: Original CarbonEngineJS class
|
|
591
|
+
|
|
592
|
+
<!-- class:BaselineJpegDecoder -->
|
|
593
|
+
## `BaselineJpegDecoder`
|
|
594
|
+
|
|
595
|
+
Pure-JS baseline sequential JPEG decoder that parses markers, quantization and Huffman tables, and entropy-coded scans into RGBA pixels.
|
|
596
|
+
|
|
597
|
+
- Export: `None`
|
|
598
|
+
- Source: `src/formats/jpeg/core/jpeg.js`
|
|
599
|
+
- Visibility: Internal
|
|
600
|
+
- Kind: Internal implementation class
|
|
601
|
+
|
|
602
|
+
<!-- class:EntropyReader -->
|
|
603
|
+
## `EntropyReader`
|
|
604
|
+
|
|
605
|
+
Bit-level reader over JPEG entropy-coded data that handles byte stuffing and restart markers for the baseline decoder.
|
|
606
|
+
|
|
607
|
+
- Export: `None`
|
|
608
|
+
- Source: `src/formats/jpeg/core/jpeg.js`
|
|
609
|
+
- Visibility: Internal
|
|
610
|
+
- Kind: Internal implementation class
|
|
611
|
+
|
|
612
|
+
### mp3
|
|
613
|
+
|
|
614
|
+
<!-- class:CjsMp3Format -->
|
|
615
|
+
## `CjsMp3Format`
|
|
616
|
+
|
|
617
|
+
MP3 audio format profile that inspects frame and tag metadata and emits raw container bytes or debug JSON, with PCM decoding not implemented.
|
|
618
|
+
|
|
619
|
+
- Export: `@carbonenginejs/runtime-resource/formats/mp3`
|
|
620
|
+
- Source: `src/formats/mp3/CjsMp3Format.js`
|
|
621
|
+
- Visibility: Public
|
|
622
|
+
- Kind: Original CarbonEngineJS class
|
|
623
|
+
|
|
624
|
+
### mp4
|
|
625
|
+
|
|
626
|
+
<!-- class:CjsMp4Format -->
|
|
627
|
+
## `CjsMp4Format`
|
|
628
|
+
|
|
629
|
+
MP4 container format profile that inspects box and track structure and emits raw bytes, debug JSON, or a container-only video payload with codec and duration summaries but no frame decoding.
|
|
630
|
+
|
|
631
|
+
- Export: `@carbonenginejs/runtime-resource/formats/mp4`
|
|
632
|
+
- Source: `src/formats/mp4/CjsMp4Format.js`
|
|
633
|
+
- Visibility: Public
|
|
634
|
+
- Kind: Original CarbonEngineJS class
|
|
635
|
+
|
|
636
|
+
### obj
|
|
637
|
+
|
|
638
|
+
<!-- class:CjsObjFormat -->
|
|
639
|
+
## `CjsObjFormat`
|
|
640
|
+
|
|
641
|
+
OBJ format class that parses Wavefront OBJ text and rebuilds it into shared-mesh, GR2, or CMF output plus debug JSON through its core helpers.
|
|
642
|
+
|
|
643
|
+
- Export: `@carbonenginejs/runtime-resource/formats/obj`
|
|
644
|
+
- Source: `src/formats/obj/CjsObjFormat.js`
|
|
645
|
+
- Visibility: Public
|
|
646
|
+
- Kind: Original CarbonEngineJS class
|
|
647
|
+
|
|
648
|
+
### ogg
|
|
649
|
+
|
|
650
|
+
<!-- class:CjsOggFormat -->
|
|
651
|
+
## `CjsOggFormat`
|
|
652
|
+
|
|
653
|
+
Ogg container format profile that inspects page and stream metadata and decodes Ogg Vorbis audio to PCM with the in-project pure-JS Vorbis decoder, alongside raw and debug JSON output.
|
|
654
|
+
|
|
655
|
+
- Export: `@carbonenginejs/runtime-resource/formats/ogg`
|
|
656
|
+
- Source: `src/formats/ogg/CjsOggFormat.js`
|
|
657
|
+
- Visibility: Public
|
|
658
|
+
- Kind: Original CarbonEngineJS class
|
|
659
|
+
|
|
660
|
+
<!-- class:Codebook -->
|
|
661
|
+
## `Codebook`
|
|
662
|
+
|
|
663
|
+
Vorbis codebook that builds Huffman decode trees and VQ lookup vectors for scalar and vector packet decoding.
|
|
664
|
+
|
|
665
|
+
- Export: `None`
|
|
666
|
+
- Source: `src/formats/ogg/core/vorbis.js`
|
|
667
|
+
- Visibility: Internal
|
|
668
|
+
- Kind: Internal implementation class
|
|
669
|
+
|
|
670
|
+
<!-- class:PacketReader -->
|
|
671
|
+
## `PacketReader`
|
|
672
|
+
|
|
673
|
+
LSB-first bit reader over one Vorbis packet's bytes for the pure-JS Vorbis decoder.
|
|
674
|
+
|
|
675
|
+
- Export: `None`
|
|
676
|
+
- Source: `src/formats/ogg/core/vorbis.js`
|
|
677
|
+
- Visibility: Internal
|
|
678
|
+
- Kind: Internal implementation class
|
|
679
|
+
|
|
680
|
+
### pickle
|
|
681
|
+
|
|
682
|
+
<!-- class:CjsPickleFormat -->
|
|
683
|
+
## `CjsPickleFormat`
|
|
684
|
+
|
|
685
|
+
Data-only Python pickle format facade that currently decodes protocol 0 into JSON-compatible values or identity-preserving payload graphs while rejecting callable and object-construction opcodes.
|
|
686
|
+
|
|
687
|
+
- Export: `@carbonenginejs/runtime-resource/formats/pickle`
|
|
688
|
+
- Source: `src/formats/pickle/CjsPickleFormat.js`
|
|
689
|
+
- Visibility: Public
|
|
690
|
+
- Kind: Original CarbonEngineJS class
|
|
691
|
+
|
|
692
|
+
<!-- class:CjsPickleProtocol0Reader -->
|
|
693
|
+
## `CjsPickleProtocol0Reader`
|
|
694
|
+
|
|
695
|
+
Construction-bound decoder for the inert data subset of Python pickle protocol 0.
|
|
696
|
+
|
|
697
|
+
- Export: `None`
|
|
698
|
+
- Source: `src/formats/pickle/core/CjsPickleProtocol0Reader.js`
|
|
699
|
+
- Visibility: Internal
|
|
700
|
+
- Kind: Internal implementation class
|
|
701
|
+
|
|
702
|
+
### png
|
|
703
|
+
|
|
704
|
+
<!-- class:CjsPngFormat -->
|
|
705
|
+
## `CjsPngFormat`
|
|
706
|
+
|
|
707
|
+
PNG format profile that synchronously inspects chunk and header metadata and emits raw bytes or debug JSON, with RGBA decoding available on the asynchronous read path.
|
|
708
|
+
|
|
709
|
+
- Export: `@carbonenginejs/runtime-resource/formats/png`
|
|
710
|
+
- Source: `src/formats/png/CjsPngFormat.js`
|
|
711
|
+
- Visibility: Public
|
|
712
|
+
- Kind: Original CarbonEngineJS class
|
|
713
|
+
|
|
714
|
+
### red
|
|
715
|
+
|
|
716
|
+
<!-- class:CjsRedFormat -->
|
|
717
|
+
## `CjsRedFormat`
|
|
718
|
+
|
|
719
|
+
Red format profile that reads type-discriminated, self-referential Red YAML object graphs and emits a compact public payload, a neutral raw graph, or caller-supplied runtime classes through the runtime-utils hydration adapter.
|
|
720
|
+
|
|
721
|
+
- Export: `@carbonenginejs/runtime-resource/formats/red`
|
|
722
|
+
- Source: `src/formats/red/CjsRedFormat.js`
|
|
723
|
+
- Visibility: Public
|
|
724
|
+
- Kind: Original CarbonEngineJS class
|
|
725
|
+
|
|
726
|
+
<!-- class:CjsRedReader -->
|
|
727
|
+
## `CjsRedReader`
|
|
728
|
+
|
|
729
|
+
Reader that walks a Red (YAML) type-discriminated, self-referential graph into payload, raw, or runtime shapes, sharing repeated nodes and stripping authoring-tool keys.
|
|
730
|
+
|
|
731
|
+
- Export: `None`
|
|
732
|
+
- Source: `src/formats/red/core/CjsRedReader.js`
|
|
733
|
+
- Visibility: Internal
|
|
734
|
+
- Kind: Internal implementation class
|
|
735
|
+
|
|
736
|
+
### stl
|
|
737
|
+
|
|
738
|
+
<!-- class:CjsStlFormat -->
|
|
739
|
+
## `CjsStlFormat`
|
|
740
|
+
|
|
741
|
+
STL format class that parses ASCII and binary STL, writes STL from shared meshes, and inspects printability, emitting shared-mesh, GR2, or CMF output plus debug JSON.
|
|
742
|
+
|
|
743
|
+
- Export: `@carbonenginejs/runtime-resource/formats/stl`
|
|
744
|
+
- Source: `src/formats/stl/CjsStlFormat.js`
|
|
745
|
+
- Visibility: Public
|
|
746
|
+
- Kind: Original CarbonEngineJS class
|
|
747
|
+
|
|
748
|
+
<!-- class:DisjointSet -->
|
|
749
|
+
## `DisjointSet`
|
|
750
|
+
|
|
751
|
+
Union-find structure with path compression used to group edge-connected triangles during STL printability inspection.
|
|
752
|
+
|
|
753
|
+
- Export: `None`
|
|
754
|
+
- Source: `src/formats/stl/core/stl.js`
|
|
755
|
+
- Visibility: Internal
|
|
756
|
+
- Kind: Internal implementation class
|
|
757
|
+
|
|
758
|
+
### tga
|
|
759
|
+
|
|
760
|
+
<!-- class:CjsTgaFormat -->
|
|
761
|
+
## `CjsTgaFormat`
|
|
762
|
+
|
|
763
|
+
TGA format profile that inspects header metadata and reads TGA bytes into raw, debug JSON, or decoded RGBA image payloads.
|
|
764
|
+
|
|
765
|
+
- Export: `@carbonenginejs/runtime-resource/formats/tga`
|
|
766
|
+
- Source: `src/formats/tga/CjsTgaFormat.js`
|
|
767
|
+
- Visibility: Public
|
|
768
|
+
- Kind: Original CarbonEngineJS class
|
|
769
|
+
|
|
770
|
+
### wav
|
|
771
|
+
|
|
772
|
+
<!-- class:CjsWavFormat -->
|
|
773
|
+
## `CjsWavFormat`
|
|
774
|
+
|
|
775
|
+
WAV audio format profile that inspects RIFF chunk metadata and reads supported WAV bytes into PCM or audio payloads, alongside raw and debug JSON output.
|
|
776
|
+
|
|
777
|
+
- Export: `@carbonenginejs/runtime-resource/formats/wav`
|
|
778
|
+
- Source: `src/formats/wav/CjsWavFormat.js`
|
|
779
|
+
- Visibility: Public
|
|
780
|
+
- Kind: Original CarbonEngineJS class
|
|
781
|
+
|
|
782
|
+
### shared effect layer
|
|
783
|
+
|
|
784
|
+
### webgl
|
|
785
|
+
|
|
786
|
+
<!-- class:CjsWebglFormat -->
|
|
787
|
+
## `CjsWebglFormat`
|
|
788
|
+
|
|
789
|
+
WebGL shader format profile that translates compiled Carbon effects into Carbon v15 containers carrying GLSL programs and a per-pass backend block.
|
|
790
|
+
|
|
791
|
+
- Export: `@carbonenginejs/runtime-resource/formats/webgl`
|
|
792
|
+
- Source: `src/formats/webgl/CjsWebglFormat.js`
|
|
793
|
+
- Visibility: Public
|
|
794
|
+
- Kind: Original CarbonEngineJS class
|
|
795
|
+
|
|
796
|
+
<!-- class:WebglReadError -->
|
|
797
|
+
## `WebglReadError`
|
|
798
|
+
|
|
799
|
+
Error raised when container bytes or their backend blocks are malformed or inconsistent.
|
|
800
|
+
|
|
801
|
+
- Export: `None`
|
|
802
|
+
- Source: `src/formats/webgl/core/errors.js`
|
|
803
|
+
- Visibility: Internal
|
|
804
|
+
- Kind: Internal implementation class
|
|
805
|
+
|
|
806
|
+
<!-- class:DxbcGlslEmitter -->
|
|
807
|
+
## `DxbcGlslEmitter`
|
|
808
|
+
|
|
809
|
+
Translates decoded DXBC shader programs into GLSL for the WebGL backend.
|
|
810
|
+
|
|
811
|
+
- Export: `None`
|
|
812
|
+
- Source: `src/formats/webgl/core/glsl/DxbcGlslEmitter.js`
|
|
813
|
+
- Visibility: Internal
|
|
814
|
+
- Kind: Internal implementation class
|
|
815
|
+
|
|
816
|
+
<!-- class:DxbcGlslHelperRegistry -->
|
|
817
|
+
## `DxbcGlslHelperRegistry`
|
|
818
|
+
|
|
819
|
+
Collects and emits the GLSL helper functions a translated program requires.
|
|
820
|
+
|
|
821
|
+
- Export: `None`
|
|
822
|
+
- Source: `src/formats/webgl/core/glsl/DxbcGlslHelpers.js`
|
|
823
|
+
- Visibility: Internal
|
|
824
|
+
- Kind: Internal implementation class
|
|
825
|
+
|
|
826
|
+
<!-- class:DxbcGlslOperandFormatter -->
|
|
827
|
+
## `DxbcGlslOperandFormatter`
|
|
828
|
+
|
|
829
|
+
Formats DXBC operands, swizzles, and modifiers as GLSL expressions.
|
|
830
|
+
|
|
831
|
+
- Export: `None`
|
|
832
|
+
- Source: `src/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js`
|
|
833
|
+
- Visibility: Internal
|
|
834
|
+
- Kind: Internal implementation class
|
|
835
|
+
|
|
836
|
+
### webgpu
|
|
837
|
+
|
|
838
|
+
<!-- class:CjsWebgpuFormat -->
|
|
839
|
+
## `CjsWebgpuFormat`
|
|
840
|
+
|
|
841
|
+
WebGPU shader format profile that translates compiled Carbon effects into Carbon WebGPU containers carrying WGSL programs and bind-group layouts.
|
|
842
|
+
|
|
843
|
+
- Export: `@carbonenginejs/runtime-resource/formats/webgpu`
|
|
844
|
+
- Source: `src/formats/webgpu/CjsWebgpuFormat.js`
|
|
845
|
+
- Visibility: Public
|
|
846
|
+
- Kind: Original CarbonEngineJS class
|
|
847
|
+
|
|
848
|
+
<!-- class:CarbonWebgpuContainer -->
|
|
849
|
+
## `CarbonWebgpuContainer`
|
|
850
|
+
|
|
851
|
+
Reader over one WebGPU effect container.
|
|
852
|
+
|
|
853
|
+
- Export: `None`
|
|
854
|
+
- Source: `src/formats/webgpu/core/carbonWebgpu/CarbonWebgpuContainer.js`
|
|
855
|
+
- Visibility: Internal
|
|
856
|
+
- Kind: Internal implementation class
|
|
857
|
+
|
|
858
|
+
<!-- class:WebgpuReadError -->
|
|
859
|
+
## `WebgpuReadError`
|
|
860
|
+
|
|
861
|
+
Error raised when Carbon WebGPU bytes or package documents are malformed or inconsistent.
|
|
862
|
+
|
|
863
|
+
- Export: `None`
|
|
864
|
+
- Source: `src/formats/webgpu/core/errors.js`
|
|
865
|
+
- Visibility: Internal
|
|
866
|
+
- Kind: Internal implementation class
|
|
867
|
+
|
|
868
|
+
### webm
|
|
869
|
+
|
|
870
|
+
<!-- class:CjsWebmFormat -->
|
|
871
|
+
## `CjsWebmFormat`
|
|
872
|
+
|
|
873
|
+
WebM container format profile that inspects EBML segment and track structure and emits raw bytes, debug JSON, or a container-only video payload with codec and duration summaries but no frame decoding.
|
|
874
|
+
|
|
875
|
+
- Export: `@carbonenginejs/runtime-resource/formats/webm`
|
|
876
|
+
- Source: `src/formats/webm/CjsWebmFormat.js`
|
|
877
|
+
- Visibility: Public
|
|
878
|
+
- Kind: Original CarbonEngineJS class
|
|
879
|
+
|
|
880
|
+
### webp
|
|
881
|
+
|
|
882
|
+
<!-- class:CjsWebpFormat -->
|
|
883
|
+
## `CjsWebpFormat`
|
|
884
|
+
|
|
885
|
+
Metadata-only WebP format profile that inspects RIFF chunk headers and emits raw container bytes or debug JSON without decoding pixels.
|
|
886
|
+
|
|
887
|
+
- Export: `@carbonenginejs/runtime-resource/formats/webp`
|
|
888
|
+
- Source: `src/formats/webp/CjsWebpFormat.js`
|
|
889
|
+
- Visibility: Public
|
|
890
|
+
- Kind: Original CarbonEngineJS class
|
|
891
|
+
|
|
892
|
+
### wem
|
|
893
|
+
|
|
894
|
+
<!-- class:CjsWemFormat -->
|
|
895
|
+
## `CjsWemFormat`
|
|
896
|
+
|
|
897
|
+
Reader for Audiokinetic Wwise media (`.wem`) containers that inspects codec, channel/rate layout, and Vorbis duration, and reads out raw container bytes, a ww2ogg-style Ogg repack of Wwise Vorbis, or decoded PCM.
|
|
898
|
+
|
|
899
|
+
- Export: `@carbonenginejs/runtime-resource/formats/wem`
|
|
900
|
+
- Source: `src/formats/wem/CjsWemFormat.js`
|
|
901
|
+
- Visibility: Public
|
|
902
|
+
- Kind: Original CarbonEngineJS class
|
|
903
|
+
|
|
904
|
+
<!-- class:BitReader -->
|
|
905
|
+
## `BitReader`
|
|
906
|
+
|
|
907
|
+
LSB-first bit reader over Wwise Vorbis packet bytes for the Ogg repacking path.
|
|
908
|
+
|
|
909
|
+
- Export: `None`
|
|
910
|
+
- Source: `src/formats/wem/core/bitStream.js`
|
|
911
|
+
- Visibility: Internal
|
|
912
|
+
- Kind: Internal implementation class
|
|
913
|
+
|
|
914
|
+
<!-- class:OggPageWriter -->
|
|
915
|
+
## `OggPageWriter`
|
|
916
|
+
|
|
917
|
+
LSB-first bit writer that assembles repacked Wwise Vorbis packets into standard Ogg pages, one page per packet, matching ww2ogg behavior.
|
|
918
|
+
|
|
919
|
+
- Export: `None`
|
|
920
|
+
- Source: `src/formats/wem/core/bitStream.js`
|
|
921
|
+
- Visibility: Internal
|
|
922
|
+
- Kind: Internal implementation class
|
|
923
|
+
|
|
924
|
+
### yaml
|
|
925
|
+
|
|
926
|
+
<!-- class:CjsYamlFormat -->
|
|
927
|
+
## `CjsYamlFormat`
|
|
928
|
+
|
|
929
|
+
YAML format profile that parses YAML text or strict UTF-8 bytes into payload, JSON-graph, raw, or document output with configurable tag policies, alias limits, and identity/reference markers.
|
|
930
|
+
|
|
931
|
+
- Export: `@carbonenginejs/runtime-resource/formats/yaml`
|
|
932
|
+
- Source: `src/formats/yaml/CjsYamlFormat.js`
|
|
933
|
+
- Visibility: Public
|
|
934
|
+
- Kind: Original CarbonEngineJS class
|
|
935
|
+
|
|
936
|
+
<!-- class:CjsYamlReader -->
|
|
937
|
+
## `CjsYamlReader`
|
|
938
|
+
|
|
939
|
+
Construction-bound reader that parses one YAML source with the `yaml` library and produces the format's payload, raw, or document graphs while enforcing tag policy and alias limits.
|
|
940
|
+
|
|
941
|
+
- Export: `None`
|
|
942
|
+
- Source: `src/formats/yaml/core/CjsYamlReader.js`
|
|
943
|
+
- Visibility: Internal
|
|
944
|
+
- Kind: Internal implementation class
|