@carbonenginejs/runtime 0.1.0-alpha.4 → 0.1.0-alpha.5

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.
Files changed (384) hide show
  1. package/dist/global/blue/BlueClasses.js +200 -0
  2. package/dist/global/blue/BlueClasses.js.map +1 -0
  3. package/dist/global/blue/IBlueClasses.js +79 -0
  4. package/dist/global/blue/IBlueClasses.js.map +1 -0
  5. package/dist/global/blue/IBlueDynamicResourceConstructor.js +16 -0
  6. package/dist/global/blue/IBlueDynamicResourceConstructor.js.map +1 -1
  7. package/dist/global/blue/blue.js +8 -2
  8. package/dist/global/blue/blue.js.map +1 -1
  9. package/dist/global/blue/index.js +2 -0
  10. package/dist/global/blue/index.js.map +1 -1
  11. package/dist/global/consts/index.js +0 -1
  12. package/dist/global/consts/index.js.map +1 -1
  13. package/dist/global/consts/renderContext/formats.js +26 -25
  14. package/dist/global/consts/renderContext/formats.js.map +1 -1
  15. package/dist/{trinityal/Tr2BitmapDimensions.js → global/imageio/BitmapDimensions.js} +19 -15
  16. package/dist/global/imageio/BitmapDimensions.js.map +1 -0
  17. package/dist/global/imageio/Cutout.js +28 -0
  18. package/dist/global/imageio/Cutout.js.map +1 -0
  19. package/dist/global/imageio/HostBitmap.js +1106 -0
  20. package/dist/global/imageio/HostBitmap.js.map +1 -0
  21. package/dist/global/imageio/ImageIOResult.js +99 -0
  22. package/dist/global/imageio/ImageIOResult.js.map +1 -0
  23. package/dist/global/imageio/ImageUtility.js +205 -0
  24. package/dist/global/imageio/ImageUtility.js.map +1 -0
  25. package/dist/global/imageio/LoadParameters.js +86 -0
  26. package/dist/global/imageio/LoadParameters.js.map +1 -0
  27. package/dist/global/imageio/Metadata.js +22 -0
  28. package/dist/global/imageio/Metadata.js.map +1 -0
  29. package/dist/global/imageio/index.js +8 -0
  30. package/dist/global/{consts/webgpu → imageio}/index.js.map +1 -1
  31. package/dist/global/index.js +2 -1
  32. package/dist/global/index.js.map +1 -1
  33. package/dist/global/math/color.js +1 -1
  34. package/dist/global/math/color.js.map +1 -1
  35. package/dist/global/schema/CjsSchema.js +8 -0
  36. package/dist/global/schema/CjsSchema.js.map +1 -1
  37. package/dist/index.js +12 -4
  38. package/dist/index.js.map +1 -1
  39. package/dist/resource/CjsResMan.js +47 -7
  40. package/dist/resource/CjsResMan.js.map +1 -1
  41. package/dist/resource/Tr2LightProfileRes.js +37 -0
  42. package/dist/resource/Tr2LightProfileRes.js.map +1 -1
  43. package/dist/resource/format/CjsByteWriter.js +46 -46
  44. package/dist/resource/format/CjsByteWriter.js.map +1 -1
  45. package/dist/resource/format/CjsFormat.js +7 -8
  46. package/dist/resource/format/CjsFormat.js.map +1 -1
  47. package/dist/resource/format/CjsFormatStore.js +8 -8
  48. package/dist/resource/format/CjsFormatStore.js.map +1 -1
  49. package/dist/resource/format/CjsGeometryFormat.js +114 -0
  50. package/dist/resource/format/CjsGeometryFormat.js.map +1 -0
  51. package/dist/resource/format/CjsImageFormat.js +282 -0
  52. package/dist/resource/format/CjsImageFormat.js.map +1 -0
  53. package/dist/resource/format/CjsResourceProbe.js +12 -48
  54. package/dist/resource/format/CjsResourceProbe.js.map +1 -1
  55. package/dist/resource/format/CjsStringTable.js +37 -37
  56. package/dist/resource/format/CjsStringTable.js.map +1 -1
  57. package/dist/resource/format/carbonEffect/CjsCarbonEffectReader.js +10 -10
  58. package/dist/resource/format/carbonEffect/CjsCarbonEffectReader.js.map +1 -1
  59. package/dist/resource/format/carbonEffect/CjsCarbonEffectWriter.js +37 -37
  60. package/dist/resource/format/carbonEffect/CjsCarbonEffectWriter.js.map +1 -1
  61. package/dist/resource/format/carbonEffect/carbonEffectBackendBlock.js +35 -7
  62. package/dist/resource/format/carbonEffect/carbonEffectBackendBlock.js.map +1 -1
  63. package/dist/resource/format/index.js +3 -1
  64. package/dist/resource/format/index.js.map +1 -1
  65. package/dist/resource/formats/black/CjsBlackFormat.js +130 -137
  66. package/dist/resource/formats/black/CjsBlackFormat.js.map +1 -1
  67. package/dist/resource/formats/bnk/CjsBnkFormat.js +12 -19
  68. package/dist/resource/formats/bnk/CjsBnkFormat.js.map +1 -1
  69. package/dist/resource/formats/bnk/core/helpers.js +1 -3
  70. package/dist/resource/formats/bnk/core/helpers.js.map +1 -1
  71. package/dist/resource/formats/cmf/CjsCmfFormat.js +19 -82
  72. package/dist/resource/formats/cmf/CjsCmfFormat.js.map +1 -1
  73. package/dist/resource/formats/cmf/core/constants.js +1 -2
  74. package/dist/resource/formats/cmf/core/constants.js.map +1 -1
  75. package/dist/resource/formats/{stl/core/targets.js → cmf/core/flatShared.js} +9 -8
  76. package/dist/resource/formats/cmf/core/flatShared.js.map +1 -0
  77. package/dist/resource/formats/cmf/core/helpers.js +13 -13
  78. package/dist/resource/formats/cmf/core/helpers.js.map +1 -1
  79. package/dist/resource/formats/cmf/core/writer.js +24 -24
  80. package/dist/resource/formats/cmf/core/writer.js.map +1 -1
  81. package/dist/resource/formats/dds/CjsDdsFormat.js +134 -17
  82. package/dist/resource/formats/dds/CjsDdsFormat.js.map +1 -1
  83. package/dist/resource/formats/dds/core/helpers.js +125 -40
  84. package/dist/resource/formats/dds/core/helpers.js.map +1 -1
  85. package/dist/resource/formats/dxbc/CjsDxbcFormat.js +14 -16
  86. package/dist/resource/formats/dxbc/CjsDxbcFormat.js.map +1 -1
  87. package/dist/resource/formats/dxbc/core/{container.js → DxbcContainer.js} +2 -2
  88. package/dist/resource/formats/dxbc/core/DxbcContainer.js.map +1 -0
  89. package/dist/resource/formats/dxbc/core/{errors.js → DxbcReadError.js} +1 -1
  90. package/dist/resource/formats/dxbc/core/DxbcReadError.js.map +1 -0
  91. package/dist/resource/formats/dxbc/core/DxbcReader.js +1 -1
  92. package/dist/resource/formats/dxbc/core/DxbcReader.js.map +1 -1
  93. package/dist/resource/formats/dxbc/core/{program.js → DxbcShaderProgram.js} +2 -2
  94. package/dist/resource/formats/dxbc/core/DxbcShaderProgram.js.map +1 -0
  95. package/dist/resource/formats/dxbc/core/{signature.js → DxbcSignatureChunk.js} +2 -2
  96. package/dist/resource/formats/dxbc/core/DxbcSignatureChunk.js.map +1 -0
  97. package/dist/resource/formats/dxbc/core/decoder.js +2 -2
  98. package/dist/resource/formats/dxbc/core/decoder.js.map +1 -1
  99. package/dist/resource/formats/dxbc/core/helpers.js +3 -3
  100. package/dist/resource/formats/dxbc/core/helpers.js.map +1 -1
  101. package/dist/resource/formats/fbx/CjsFbxFormat.js +18 -20
  102. package/dist/resource/formats/fbx/CjsFbxFormat.js.map +1 -1
  103. package/dist/resource/formats/flac/CjsFlacFormat.js +7 -13
  104. package/dist/resource/formats/flac/CjsFlacFormat.js.map +1 -1
  105. package/dist/resource/formats/fsd/32/CjsFsd32Format.js +29 -29
  106. package/dist/resource/formats/fsd/32/CjsFsd32Format.js.map +1 -1
  107. package/dist/resource/formats/fsd/64/CjsFsd64Format.js +3 -3
  108. package/dist/resource/formats/fsd/64/CjsFsd64Format.js.map +1 -1
  109. package/dist/resource/formats/fsd/64/core/CjsFsd64Binary.js +23 -23
  110. package/dist/resource/formats/fsd/64/core/CjsFsd64Binary.js.map +1 -1
  111. package/dist/resource/formats/fsd/64/core/CjsFsd64Reader.js +8 -8
  112. package/dist/resource/formats/fsd/64/core/CjsFsd64Reader.js.map +1 -1
  113. package/dist/resource/formats/fsd/CjsFsdFormat.js +23 -23
  114. package/dist/resource/formats/fsd/CjsFsdFormat.js.map +1 -1
  115. package/dist/resource/formats/gif/CjsGifFormat.js +24 -15
  116. package/dist/resource/formats/gif/CjsGifFormat.js.map +1 -1
  117. package/dist/resource/formats/gltf/CjsGltfFormat.js +33 -98
  118. package/dist/resource/formats/gltf/CjsGltfFormat.js.map +1 -1
  119. package/dist/resource/formats/gltf/core/helpers.js +3 -12
  120. package/dist/resource/formats/gltf/core/helpers.js.map +1 -1
  121. package/dist/resource/formats/gr2/CjsGr2Format.js +27 -91
  122. package/dist/resource/formats/gr2/CjsGr2Format.js.map +1 -1
  123. package/dist/resource/formats/hlsl/CjsHlslFormat.js +22 -25
  124. package/dist/resource/formats/hlsl/CjsHlslFormat.js.map +1 -1
  125. package/dist/resource/formats/hlsl/core/carbonDescriptionToRuntime.js +1 -1
  126. package/dist/resource/formats/hlsl/core/carbonDescriptionToRuntime.js.map +1 -1
  127. package/dist/resource/formats/hlsl/core/tr2/shader/HlslEffectStageInput.js +3 -3
  128. package/dist/resource/formats/hlsl/core/tr2/shader/HlslEffectStageInput.js.map +1 -1
  129. package/dist/resource/formats/ies/CjsIESFormat.js +29 -29
  130. package/dist/resource/formats/ies/CjsIESFormat.js.map +1 -1
  131. package/dist/resource/formats/jpeg/CjsJpegFormat.js +24 -15
  132. package/dist/resource/formats/jpeg/CjsJpegFormat.js.map +1 -1
  133. package/dist/resource/formats/jpeg/core/helpers.js +3 -5
  134. package/dist/resource/formats/jpeg/core/helpers.js.map +1 -1
  135. package/dist/resource/formats/jpeg/core/jpeg.js +58 -58
  136. package/dist/resource/formats/jpeg/core/jpeg.js.map +1 -1
  137. package/dist/resource/formats/jsonl/CjsJsonlFormat.js +3 -3
  138. package/dist/resource/formats/jsonl/CjsJsonlFormat.js.map +1 -1
  139. package/dist/resource/formats/mp3/CjsMp3Format.js +7 -14
  140. package/dist/resource/formats/mp3/CjsMp3Format.js.map +1 -1
  141. package/dist/resource/formats/mp3/core/helpers.js +3 -5
  142. package/dist/resource/formats/mp3/core/helpers.js.map +1 -1
  143. package/dist/resource/formats/mp4/CjsMp4Format.js +7 -13
  144. package/dist/resource/formats/mp4/CjsMp4Format.js.map +1 -1
  145. package/dist/resource/formats/mp4/core/helpers.js +3 -5
  146. package/dist/resource/formats/mp4/core/helpers.js.map +1 -1
  147. package/dist/resource/formats/obj/CjsObjFormat.js +92 -157
  148. package/dist/resource/formats/obj/CjsObjFormat.js.map +1 -1
  149. package/dist/resource/formats/obj/core/helpers.js +5 -113
  150. package/dist/resource/formats/obj/core/helpers.js.map +1 -1
  151. package/dist/resource/formats/ogg/CjsOggFormat.js +7 -14
  152. package/dist/resource/formats/ogg/CjsOggFormat.js.map +1 -1
  153. package/dist/resource/formats/pickle/CjsPickleFormat.js +7 -12
  154. package/dist/resource/formats/pickle/CjsPickleFormat.js.map +1 -1
  155. package/dist/resource/formats/pickle/core/CjsPickleProtocol0Reader.js +7 -7
  156. package/dist/resource/formats/pickle/core/CjsPickleProtocol0Reader.js.map +1 -1
  157. package/dist/resource/formats/pickle/core/CjsPickleProtocol4Reader.js +7 -7
  158. package/dist/resource/formats/pickle/core/CjsPickleProtocol4Reader.js.map +1 -1
  159. package/dist/resource/formats/png/CjsPngFormat.js +40 -15
  160. package/dist/resource/formats/png/CjsPngFormat.js.map +1 -1
  161. package/dist/resource/formats/png/core/helpers.js +4 -6
  162. package/dist/resource/formats/png/core/helpers.js.map +1 -1
  163. package/dist/resource/formats/red/CjsRedFormat.js +22 -28
  164. package/dist/resource/formats/red/CjsRedFormat.js.map +1 -1
  165. package/dist/resource/formats/schemabound/CjsSchemaBoundFormat.js +3 -7
  166. package/dist/resource/formats/schemabound/CjsSchemaBoundFormat.js.map +1 -1
  167. package/dist/resource/formats/schemabound/core/schemaBoundValues.js +5 -0
  168. package/dist/resource/formats/schemabound/core/schemaBoundValues.js.map +1 -1
  169. package/dist/resource/formats/sqlite/CjsSqliteFormat.js +4 -9
  170. package/dist/resource/formats/sqlite/CjsSqliteFormat.js.map +1 -1
  171. package/dist/resource/formats/static/CjsStaticFormat.js +4 -4
  172. package/dist/resource/formats/static/CjsStaticFormat.js.map +1 -1
  173. package/dist/resource/formats/stl/CjsStlFormat.js +39 -104
  174. package/dist/resource/formats/stl/CjsStlFormat.js.map +1 -1
  175. package/dist/resource/formats/stl/core/helpers.js +5 -19
  176. package/dist/resource/formats/stl/core/helpers.js.map +1 -1
  177. package/dist/resource/formats/tga/CjsTgaFormat.js +26 -15
  178. package/dist/resource/formats/tga/CjsTgaFormat.js.map +1 -1
  179. package/dist/resource/formats/tga/core/helpers.js +3 -5
  180. package/dist/resource/formats/tga/core/helpers.js.map +1 -1
  181. package/dist/resource/formats/vta/CjsVtaFormat.js +8 -15
  182. package/dist/resource/formats/vta/CjsVtaFormat.js.map +1 -1
  183. package/dist/resource/formats/wav/CjsWavFormat.js +7 -14
  184. package/dist/resource/formats/wav/CjsWavFormat.js.map +1 -1
  185. package/dist/resource/formats/wav/core/helpers.js +3 -5
  186. package/dist/resource/formats/wav/core/helpers.js.map +1 -1
  187. package/dist/resource/formats/webgl/CjsWebglFormat.js +103 -105
  188. package/dist/resource/formats/webgl/CjsWebglFormat.js.map +1 -1
  189. package/dist/resource/formats/webgl/core/{errors.js → WebglReadError.js} +1 -1
  190. package/dist/resource/formats/webgl/core/WebglReadError.js.map +1 -0
  191. package/dist/resource/formats/webgl/core/effectPackage.js +1 -1
  192. package/dist/resource/formats/webgl/core/effectPackage.js.map +1 -1
  193. package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js +3 -3
  194. package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js.map +1 -1
  195. package/dist/resource/formats/webgl/core/glsl/{DxbcGlslHelpers.js → DxbcGlslHelperRegistry.js} +2 -2
  196. package/dist/resource/formats/webgl/core/glsl/DxbcGlslHelperRegistry.js.map +1 -0
  197. package/dist/resource/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js +1 -1
  198. package/dist/resource/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js.map +1 -1
  199. package/dist/resource/formats/webgl/core/glslBackendBlock.js +1 -1
  200. package/dist/resource/formats/webgl/core/glslBackendBlock.js.map +1 -1
  201. package/dist/resource/formats/webgl/core/helpers.js.map +1 -1
  202. package/dist/resource/formats/webgpu/CjsWebgpuFormat.js +28 -29
  203. package/dist/resource/formats/webgpu/CjsWebgpuFormat.js.map +1 -1
  204. package/dist/resource/formats/webgpu/core/{errors.js → WebgpuReadError.js} +1 -1
  205. package/dist/resource/formats/webgpu/core/WebgpuReadError.js.map +1 -0
  206. package/dist/resource/formats/webgpu/core/carbonWebgpu/validateContainer.js +1 -1
  207. package/dist/resource/formats/webgpu/core/carbonWebgpu/validateContainer.js.map +1 -1
  208. package/dist/resource/formats/webgpu/core/helpers.js +1 -1
  209. package/dist/resource/formats/webgpu/core/helpers.js.map +1 -1
  210. package/dist/resource/formats/webgpu/core/ir/lowerDxbcToIr.js +1 -1
  211. package/dist/resource/formats/webgpu/core/ir/lowerDxbcToIr.js.map +1 -1
  212. package/dist/resource/formats/webgpu/core/wgsl/buildWgslSet.js +18 -6
  213. package/dist/resource/formats/webgpu/core/wgsl/buildWgslSet.js.map +1 -1
  214. package/dist/resource/formats/webgpu/core/wgsl/lowerBindingLayout.js +39 -13
  215. package/dist/resource/formats/webgpu/core/wgsl/lowerBindingLayout.js.map +1 -1
  216. package/dist/resource/formats/webgpu/core/wgsl/lowerCreateHistogramsComputeProgram.js +16 -14
  217. package/dist/resource/formats/webgpu/core/wgsl/lowerCreateHistogramsComputeProgram.js.map +1 -1
  218. package/dist/resource/formats/webm/CjsWebmFormat.js +8 -13
  219. package/dist/resource/formats/webm/CjsWebmFormat.js.map +1 -1
  220. package/dist/resource/formats/webm/core/helpers.js +3 -5
  221. package/dist/resource/formats/webm/core/helpers.js.map +1 -1
  222. package/dist/resource/formats/webp/CjsWebpFormat.js +8 -12
  223. package/dist/resource/formats/webp/CjsWebpFormat.js.map +1 -1
  224. package/dist/resource/formats/wem/CjsWemFormat.js +9 -17
  225. package/dist/resource/formats/wem/CjsWemFormat.js.map +1 -1
  226. package/dist/resource/formats/wem/core/bitStream.js +35 -35
  227. package/dist/resource/formats/wem/core/bitStream.js.map +1 -1
  228. package/dist/resource/formats/wem/core/helpers.js +1 -3
  229. package/dist/resource/formats/wem/core/helpers.js.map +1 -1
  230. package/dist/resource/formats/yaml/CjsYamlFormat.js +28 -37
  231. package/dist/resource/formats/yaml/CjsYamlFormat.js.map +1 -1
  232. package/dist/resource/imageio/ImageIO.js +142 -0
  233. package/dist/resource/imageio/ImageIO.js.map +1 -0
  234. package/dist/resource/imageio/index.js +17 -0
  235. package/dist/resource/imageio/index.js.map +1 -0
  236. package/dist/resource/index.js +7 -0
  237. package/dist/resource/index.js.map +1 -1
  238. package/dist/resource/shader/reflection/Tr2EffectResource.js +24 -2
  239. package/dist/resource/shader/reflection/Tr2EffectResource.js.map +1 -1
  240. package/dist/resource/shader/reflection/Tr2Pass.js +76 -5
  241. package/dist/resource/shader/reflection/Tr2Pass.js.map +1 -1
  242. package/dist/resource/texture/CjsTextureArrayConstructor.js +97 -0
  243. package/dist/resource/texture/CjsTextureArrayConstructor.js.map +1 -0
  244. package/dist/resource/texture/CjsTexturePackConstructor.js +160 -0
  245. package/dist/resource/texture/CjsTexturePackConstructor.js.map +1 -0
  246. package/dist/resource/texture/CjsTexturePipelineStepArray.js +72 -0
  247. package/dist/resource/texture/CjsTexturePipelineStepArray.js.map +1 -0
  248. package/dist/resource/texture/CjsTexturePipelineStepConvert.js +73 -0
  249. package/dist/resource/texture/CjsTexturePipelineStepConvert.js.map +1 -0
  250. package/dist/resource/texture/CjsTexturePipelineStepPack.js +71 -0
  251. package/dist/resource/texture/CjsTexturePipelineStepPack.js.map +1 -0
  252. package/dist/resource/texture/CjsTexturePipelineStepResize.js +123 -0
  253. package/dist/resource/texture/CjsTexturePipelineStepResize.js.map +1 -0
  254. package/dist/resource/texture/SolidColorTextureConstructor.js +11 -1
  255. package/dist/resource/texture/SolidColorTextureConstructor.js.map +1 -1
  256. package/dist/resource/texture/Tr2ImageRes.js +100 -68
  257. package/dist/resource/texture/Tr2ImageRes.js.map +1 -1
  258. package/dist/resource/texture/Tr2TexturePipeline.js +45 -25
  259. package/dist/resource/texture/Tr2TexturePipeline.js.map +1 -1
  260. package/dist/resource/texture/Tr2TexturePipelineStepCompress.js +34 -1
  261. package/dist/resource/texture/Tr2TexturePipelineStepCompress.js.map +1 -1
  262. package/dist/resource/texture/Tr2TexturePipelineStepGenerateMips.js +30 -3
  263. package/dist/resource/texture/Tr2TexturePipelineStepGenerateMips.js.map +1 -1
  264. package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js +81 -1
  265. package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js.map +1 -1
  266. package/dist/resource/texture/Tr2TexturePipelineStepLoad.js +36 -1
  267. package/dist/resource/texture/Tr2TexturePipelineStepLoad.js.map +1 -1
  268. package/dist/resource/texture/Tr2TexturePipelineStepPack.js +146 -24
  269. package/dist/resource/texture/Tr2TexturePipelineStepPack.js.map +1 -1
  270. package/dist/resource/texture/TriTextureRes.js +151 -29
  271. package/dist/resource/texture/TriTextureRes.js.map +1 -1
  272. package/dist/resource/texture/index.js +7 -0
  273. package/dist/resource/texture/index.js.map +1 -1
  274. package/dist/resource/texture/registerTextureResources.js +83 -0
  275. package/dist/resource/texture/registerTextureResources.js.map +1 -0
  276. package/dist/resource/texture/solidColorTexture.js +10 -19
  277. package/dist/resource/texture/solidColorTexture.js.map +1 -1
  278. package/dist/sof/EveSOF.js +39 -7
  279. package/dist/sof/EveSOF.js.map +1 -1
  280. package/dist/trinity/core/Tr2GpuResourcePool/Tr2GpuResourcePool.js +2 -2
  281. package/dist/trinity/core/Tr2GpuResourcePool/Tr2GpuResourcePool.js.map +1 -1
  282. package/dist/trinity/core/Tr2ImageIOHelpers.js +80 -17
  283. package/dist/trinity/core/Tr2ImageIOHelpers.js.map +1 -1
  284. package/dist/trinity/core/Tr2RenderUtils.js +1 -1
  285. package/dist/trinity/core/Tr2TextureArray/Tr2TextureArray.js +49 -62
  286. package/dist/trinity/core/Tr2TextureArray/Tr2TextureArray.js.map +1 -1
  287. package/dist/trinity/core/Tr2TextureReference.js +114 -0
  288. package/dist/trinity/core/Tr2TextureReference.js.map +1 -0
  289. package/dist/trinity/core/device/Tr2DepthStencil.js +2 -2
  290. package/dist/trinity/core/device/Tr2DepthStencil.js.map +1 -1
  291. package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js +1 -1
  292. package/dist/trinity/core/index.js +1 -0
  293. package/dist/trinity/core/index.js.map +1 -1
  294. package/dist/trinity/core/lighting/Tr2LightManager.js +5 -4
  295. package/dist/trinity/core/lighting/Tr2LightManager.js.map +1 -1
  296. package/dist/trinity/core/procedural/GradientTextureConstructor.js +5 -4
  297. package/dist/trinity/core/procedural/GradientTextureConstructor.js.map +1 -1
  298. package/dist/trinity/core/procedural/gradientTexture.js +10 -13
  299. package/dist/trinity/core/procedural/gradientTexture.js.map +1 -1
  300. package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js +1 -1
  301. package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js.map +1 -1
  302. package/dist/trinity/eve/EveImpactOverlay.js +102 -50
  303. package/dist/trinity/eve/EveImpactOverlay.js.map +1 -1
  304. package/dist/trinity/eve/EveModularObjectModifier.js +9 -18
  305. package/dist/trinity/eve/EveModularObjectModifier.js.map +1 -1
  306. package/dist/trinity/eve/attachment/turrets/EveTurretSet.js +175 -157
  307. package/dist/trinity/eve/attachment/turrets/EveTurretSet.js.map +1 -1
  308. package/dist/trinity/eve/attachment/turrets/EveTurretTarget.js +100 -83
  309. package/dist/trinity/eve/attachment/turrets/EveTurretTarget.js.map +1 -1
  310. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js +26 -20
  311. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js.map +1 -1
  312. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js +368 -179
  313. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js.map +1 -1
  314. package/dist/trinity/eve/child/EveChildMesh.js +242 -234
  315. package/dist/trinity/eve/child/EveChildMesh.js.map +1 -1
  316. package/dist/trinity/eve/child/EveChildTurret.js +57 -16
  317. package/dist/trinity/eve/child/EveChildTurret.js.map +1 -1
  318. package/dist/trinity/eve/child/EveSpaceObjectChild.js +28 -1
  319. package/dist/trinity/eve/child/EveSpaceObjectChild.js.map +1 -1
  320. package/dist/trinity/eve/index.js +2 -2
  321. package/dist/trinity/eve/overlays/EveDamageOverlay.js +5 -1
  322. package/dist/trinity/eve/overlays/EveDamageOverlay.js.map +1 -1
  323. package/dist/trinity/eve/scene/EveSpaceScene.js +234 -233
  324. package/dist/trinity/eve/scene/EveSpaceScene.js.map +1 -1
  325. package/dist/trinity/eve/scene/EveSpaceSceneRenderDriver.js +2 -0
  326. package/dist/trinity/eve/scene/EveSpaceSceneRenderDriver.js.map +1 -1
  327. package/dist/trinity/eve/spaceObject/EveSpaceObject2.js +492 -437
  328. package/dist/trinity/eve/spaceObject/EveSpaceObject2.js.map +1 -1
  329. package/dist/trinity/generated/index.js +0 -1
  330. package/dist/trinity/generated/index.js.map +1 -1
  331. package/dist/trinity/generated/trinityCore/index.js +0 -1
  332. package/dist/trinity/generated/trinityCore/index.js.map +1 -1
  333. package/dist/trinity/index.js +3 -3
  334. package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js +10 -1
  335. package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js.map +1 -1
  336. package/dist/trinity/shader/Tr2DataTextureManager.js +152 -66
  337. package/dist/trinity/shader/Tr2DataTextureManager.js.map +1 -1
  338. package/dist/trinity/shader/Tr2Material.js +1 -1
  339. package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureSubresource.js +5 -5
  340. package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureSubresource.js.map +1 -1
  341. package/dist/trinityal/index.js +1 -1
  342. package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2RenderContextALStub.js +2 -2
  343. package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2RenderContextALStub.js.map +1 -1
  344. package/dist/trinityal/stub/Tr2SwapChainALStub.js +45 -45
  345. package/dist/trinityal/stub/Tr2SwapChainALStub.js.map +1 -1
  346. package/dist/trinityal/stub/Tr2TextureALStub.js +170 -170
  347. package/dist/trinityal/stub/Tr2TextureALStub.js.map +1 -1
  348. package/dist/trinityal/webgpu/CjsWebgpuDevice.js +234 -164
  349. package/dist/trinityal/webgpu/CjsWebgpuDevice.js.map +1 -1
  350. package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js +7 -0
  351. package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js.map +1 -1
  352. package/dist/trinityal/webgpu/CjsWebgpuTextureAL.js +78 -14
  353. package/dist/trinityal/webgpu/CjsWebgpuTextureAL.js.map +1 -1
  354. package/dist/trinityal/webgpu/core/CjsWebgpuUtils.js +94 -0
  355. package/dist/trinityal/webgpu/core/CjsWebgpuUtils.js.map +1 -0
  356. package/dist/trinityal/webgpu/internal.js +1 -0
  357. package/dist/trinityal/webgpu/internal.js.map +1 -1
  358. package/docs/global/reference/classes/README.md +90 -0
  359. package/docs/resource/concepts/format-capabilities.md +3 -3
  360. package/docs/resource/formats/README.md +1 -1
  361. package/docs/resource/reference/classes/core.md +31 -1
  362. package/docs/resource/reference/classes/formats.md +7 -7
  363. package/docs/resource/reference/classes/resources.md +76 -16
  364. package/docs/trinity/reference/classes/generated.md +0 -10
  365. package/docs/trinity/reference/classes/trinity-core.md +1692 -1682
  366. package/docs/trinityal/reference/classes/README.md +0 -10
  367. package/docs/trinityal/webgpu/reference/classes/README.md +276 -266
  368. package/package.json +4 -3
  369. package/dist/global/consts/webgpu/index.js +0 -2
  370. package/dist/global/consts/webgpu/textureFormats.js +0 -180
  371. package/dist/global/consts/webgpu/textureFormats.js.map +0 -1
  372. package/dist/resource/formats/dxbc/core/container.js.map +0 -1
  373. package/dist/resource/formats/dxbc/core/errors.js.map +0 -1
  374. package/dist/resource/formats/dxbc/core/program.js.map +0 -1
  375. package/dist/resource/formats/dxbc/core/signature.js.map +0 -1
  376. package/dist/resource/formats/stl/core/targets.js.map +0 -1
  377. package/dist/resource/formats/webgl/core/errors.js.map +0 -1
  378. package/dist/resource/formats/webgl/core/glsl/DxbcGlslHelpers.js.map +0 -1
  379. package/dist/resource/formats/webgpu/core/errors.js.map +0 -1
  380. package/dist/resource/texture/texturePipelineBehavior.js +0 -332
  381. package/dist/resource/texture/texturePipelineBehavior.js.map +0 -1
  382. package/dist/trinity/generated/trinityCore/Tr2TextureReference.js +0 -40
  383. package/dist/trinity/generated/trinityCore/Tr2TextureReference.js.map +0 -1
  384. package/dist/trinityal/Tr2BitmapDimensions.js.map +0 -1
@@ -1,1682 +1,1692 @@
1
- # Trinity core, shader, and device classes
2
-
3
- Status: Evolving
4
- Scope: `@carbonenginejs/runtime/trinity/core`, `@carbonenginejs/runtime/trinity/shader`, `@carbonenginejs/runtime/trinity/ui`
5
- Audience: Engine authors and integrators
6
- Summary: Catalogs constant data, shader and material facades, and device-presentation records.
7
-
8
- <!-- class:Tr2Denoiser -->
9
- ## `Tr2Denoiser`
10
-
11
- Runs Carbon's four-pass separable spatial denoiser over a noisy single-channel buffer, preserving edges by weighting neighbouring samples on depth, normal and plane agreement.
12
-
13
- - Export: `@carbonenginejs/runtime/trinity/core`
14
- - Source: `src/trinity/core/Tr2Denoiser.js`
15
- - Visibility: Public
16
- - Kind: CarbonEngineJS
17
-
18
- <!-- class:RawData -->
19
- ## `RawData`
20
-
21
- A packed constant-data slice bound to a resolved layout.
22
-
23
- - Export: `@carbonenginejs/runtime/trinity/core`
24
- - Source: `src/trinity/core/rawData/RawData.js`
25
- - Visibility: Public
26
- - Kind: CarbonEngineJS
27
-
28
- <!-- class:TriPoolAllocator -->
29
- ## `TriPoolAllocator`
30
-
31
- Registers constant-data struct shapes and leases packed payloads from a per-engine arena.
32
-
33
- - Export: `@carbonenginejs/runtime/trinity/core`
34
- - Source: `src/trinity/core/rawData/TriPoolAllocator.js`
35
- - Visibility: Public
36
- - Kind: CarbonEngineJS
37
-
38
- <!-- class:Tr2VertexDefinition -->
39
- ## `Tr2VertexDefinition`
40
-
41
- Describes a mesh's vertex elements and per-stream offsets.
42
-
43
- - Export: `@carbonenginejs/runtime/trinity/core`
44
- - Source: `src/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js`
45
- - Visibility: Public
46
- - Kind: CarbonEngineJS
47
-
48
- <!-- class:Tr2BindingVector3 -->
49
- ## `Tr2BindingVector3`
50
-
51
- Tr2BindingVector3 (trinityCore) - generated from schema shapeHash a8ef1406....
52
-
53
- - Export: @carbonenginejs/runtime/trinity/core
54
- - Source: src/trinity/core/binding/Tr2BindingVector3.js
55
- - Visibility: Public
56
- - Kind: CarbonEngineJS
57
-
58
- <!-- class:ITriReroutable -->
59
- ## `ITriReroutable`
60
-
61
- A value whose storage can be pointed somewhere else, telling its bindings when it moves. Five pure methods; Carbon casts to it, and the five parameter classes that map it are the five that implement it.
62
-
63
- - Export: `@carbonenginejs/runtime/trinity/core`
64
- - Source: `src/trinity/core/ITriReroutable.js`
65
- - Visibility: Public
66
- - Kind: Carbon
67
-
68
- <!-- class:ITr2Renderable -->
69
- ## `ITr2Renderable`
70
-
71
- Trinity-owned contract for objects collected through the renderable path.
72
-
73
- Its Carbon visibility default is concrete; required batch, transparency,
74
- sorting, and per-object-data methods throw until a provider implements them.
75
-
76
- - Export: `@carbonenginejs/runtime/trinity/core`
77
- - Source: `src/trinity/core/ITr2Renderable.js`
78
- - Visibility: Public
79
- - Kind: CarbonEngineJS
80
-
81
- <!-- class:ITr2ImpostorSource -->
82
- ## `ITr2ImpostorSource`
83
-
84
- Contract for an object that can be captured into an impostor atlas.
85
-
86
- - Export: `@carbonenginejs/runtime/trinity/core`
87
- - Source: `src/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js`
88
- - Visibility: Public
89
- - Kind: CarbonEngineJS
90
-
91
- <!-- class:ITr2ImpostorSourceImpostorHash -->
92
- ## `ITr2ImpostorSourceImpostorHash`
93
-
94
- Camera directions used to decide when an impostor must be recaptured.
95
-
96
- - Export: `@carbonenginejs/runtime/trinity/core`
97
- - Source: `src/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSourceImpostorHash.js`
98
- - Visibility: Public
99
- - Kind: CarbonEngineJS
100
-
101
- <!-- class:ITr2InstanceData -->
102
- ## `ITr2InstanceData`
103
-
104
- Contract for a provider of instance-stream data and layout metadata.
105
-
106
- - Export: `@carbonenginejs/runtime/trinity/core`
107
- - Source: `src/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js`
108
- - Visibility: Public
109
- - Kind: CarbonEngineJS
110
-
111
- <!-- class:ITr2InstanceDataInstanceData -->
112
- ## `ITr2InstanceDataInstanceData`
113
-
114
- One realized instance-buffer slice returned by an ITr2InstanceData provider.
115
-
116
- - Export: `@carbonenginejs/runtime/trinity/core`
117
- - Source: `src/trinity/core/mesh/ITr2InstanceData/ITr2InstanceDataInstanceData.js`
118
- - Visibility: Public
119
- - Kind: CarbonEngineJS
120
-
121
- <!-- class:Tr2UpscalingTechniqueInfo -->
122
- ## `Tr2UpscalingTechniqueInfo`
123
-
124
- One device-reported upscaling technique and the quality settings and frame generation support available for it.
125
-
126
- - Export: `@carbonenginejs/runtime/trinity/core`
127
- - Source: `src/trinity/core/device/Tr2UpscalingTechniqueInfo.js`
128
- - Visibility: Public
129
- - Kind: CarbonEngineJS
130
-
131
- <!-- class:Tr2Transform -->
132
- ## `Tr2Transform`
133
-
134
- Provides the common placeable-renderable transform behavior.
135
-
136
- It advances curve sets, composes SRT state, preserves motion history, applies
137
- Carbon's camera modifiers, delegates batches, and computes sort distance.
138
-
139
- - Export: `@carbonenginejs/runtime/trinity/core`
140
- - Source: `src/trinity/core/Tr2Transform.js`
141
- - Visibility: Public
142
- - Kind: CarbonEngineJS
143
-
144
- <!-- class:Tr2ShadowMap -->
145
- ## `Tr2ShadowMap`
146
-
147
- Produces cascaded-shadow endpoints, bounds, frusta, and logical per-split data.
148
-
149
- Physical rendering delegates to the installed shadow executor.
150
-
151
- - Export: `@carbonenginejs/runtime/trinity/core`
152
- - Source: `src/trinity/core/Tr2ShadowMap.js`
153
- - Visibility: Public
154
- - Kind: CarbonEngineJS
155
-
156
- <!-- class:Tr2VolumetricsRenderer -->
157
- ## `Tr2VolumetricsRenderer`
158
-
159
- Blends froxel-fog state and writes Carbon's inline per-frame fog constants.
160
-
161
- Physical fog, volumetric, environment-map, and shadow rendering delegate
162
- through the nominal throwing `CjsVolumetricsExecutor` engine contract.
163
-
164
- - Export: `@carbonenginejs/runtime/trinity/core`
165
- - Source: `src/trinity/core/volumetrics/Tr2VolumetricsRenderer.js`
166
- - Visibility: Public
167
- - Kind: CarbonEngineJS
168
-
169
- <!-- class:Tr2DynamicBinding -->
170
- ## `Tr2DynamicBinding`
171
-
172
- A value binding described by object paths: it resolves both endpoints against its owner's parameter map, builds a weak TriValueBinding and starts copying after a configured delay.
173
-
174
- - Export: @carbonenginejs/runtime/trinity/core
175
- - Source: src/trinity/core/binding/Tr2DynamicBinding.js
176
- - Visibility: Public
177
- - Kind: CarbonEngineJS
178
-
179
- <!-- class:Tr2ExternalParameter -->
180
- ## `Tr2ExternalParameter`
181
-
182
- A named handle onto one attribute - optionally one vector component - of another object, exposing it for type-checked reads and writes.
183
-
184
- - Export: @carbonenginejs/runtime/trinity/core
185
- - Source: src/trinity/core/binding/Tr2ExternalParameter.js
186
- - Visibility: Public
187
- - Kind: CarbonEngineJS
188
-
189
- <!-- class:Tr2PyValueBinding -->
190
- ## `Tr2PyValueBinding`
191
-
192
- Tr2PyValueBinding (trinityCore) - generated from schema shapeHash 435f9fdc....
193
-
194
- - Export: @carbonenginejs/runtime/trinity/core
195
- - Source: src/trinity/core/binding/Tr2PyValueBinding.js
196
- - Visibility: Public
197
- - Kind: CarbonEngineJS
198
-
199
- <!-- class:TriValueBinding -->
200
- ## `TriValueBinding`
201
-
202
- Copies one attribute of a source object onto an attribute of a destination object, applying a scale and per-component offset through a type-checked copy plan built when the endpoints resolve.
203
-
204
- - Export: @carbonenginejs/runtime/trinity/core
205
- - Source: src/trinity/core/binding/TriValueBinding.js
206
- - Visibility: Public
207
- - Kind: CarbonEngineJS
208
-
209
- <!-- class:CjsBatchManager -->
210
- ## `CjsBatchManager`
211
-
212
- Owns the per-library render-batch producer and collector registry and drives the per-frame flow of prepare, build, finalize into one accumulator per batch type.
213
-
214
- - Export: @carbonenginejs/runtime/trinity/core
215
- - Source: src/trinity/core/batch/CjsBatchManager.js
216
- - Visibility: Public
217
- - Kind: CarbonEngineJS
218
-
219
- <!-- class:GrannyBoneOffset -->
220
- ## `GrannyBoneOffset`
221
-
222
- Per-bone rotation and translation offsets layered on top of an animated rig, keyed by bone name until bound into the rig's joint order.
223
-
224
- - Export: @carbonenginejs/runtime/trinity/core
225
- - Source: src/trinity/core/animation/GrannyBoneOffset.js
226
- - Visibility: Public
227
- - Kind: CarbonEngineJS
228
-
229
- <!-- class:ITriRenderBatchAccumulator -->
230
- ## `ITriRenderBatchAccumulator`
231
-
232
- Abstract base for render-batch accumulators: holds the shared rendering mode, user data and per-object-data store, and declares the collect and sort contract concrete accumulators implement.
233
-
234
- - Export: @carbonenginejs/runtime/trinity/core
235
- - Source: src/trinity/core/batch/TriRenderBatch/ITriRenderBatchAccumulator.js
236
- - Visibility: Public
237
- - Kind: CarbonEngineJS
238
-
239
- <!-- class:CjsPerFrameLayouts -->
240
- ## `CjsPerFrameLayouts`
241
-
242
- Resolved per-frame layouts, keyed by struct name.
243
-
244
- - Export: @carbonenginejs/runtime/trinity/perframe
245
- - Source: src/trinity/core/rawData/CjsPerFrameLayouts.js
246
- - Visibility: Public
247
- - Kind: CarbonEngineJS
248
-
249
- <!-- class:CjsPerObjectLayouts -->
250
- ## `CjsPerObjectLayouts`
251
-
252
- Resolved per-object layouts, keyed by struct name.
253
-
254
- - Export: @carbonenginejs/runtime/trinity/perobject
255
- - Source: src/trinity/core/rawData/CjsPerObjectLayouts.js
256
- - Visibility: Public
257
- - Kind: CarbonEngineJS
258
-
259
- <!-- class:Tr2BoundingLineSet -->
260
- ## `Tr2BoundingLineSet`
261
-
262
- A line set that draws an axis-aligned bounding box and its picking volume.
263
-
264
- - Export: @carbonenginejs/runtime/trinity/core
265
- - Source: src/trinity/core/line/Tr2BoundingLineSet.js
266
- - Visibility: Public
267
- - Kind: CarbonEngineJS
268
-
269
- <!-- class:Tr2CurveLineSet -->
270
- ## `Tr2CurveLineSet`
271
-
272
- Owns editable curve-line records and their portable CPU runtime state.
273
-
274
- That state includes Carbon's tessellated segment counts, local bounds,
275
- transparent sorting, and the explicit physical line-stream draw obligation.
276
-
277
- - Export: @carbonenginejs/runtime/trinity/core
278
- - Source: src/trinity/core/line/Tr2CurveLineSet.js
279
- - Visibility: Public
280
- - Kind: CarbonEngineJS
281
-
282
- <!-- class:Tr2DebugRenderer -->
283
- ## `Tr2DebugRenderer`
284
-
285
- Resolves which debug visualisations an object draws, from per-owner options over a default set.
286
-
287
- - Export: @carbonenginejs/runtime/trinity/core
288
- - Source: src/trinity/core/line/Tr2DebugRenderer.js
289
- - Visibility: Public
290
- - Kind: CarbonEngineJS
291
-
292
- <!-- class:Tr2DepthStencil -->
293
- ## `Tr2DepthStencil`
294
-
295
- Tr2DepthStencil (trinityCore) - generated from schema shapeHash 9acb2c99....
296
-
297
- - Export: @carbonenginejs/runtime/trinity/core
298
- - Source: src/trinity/core/device/Tr2DepthStencil.js
299
- - Visibility: Public
300
- - Kind: CarbonEngineJS
301
-
302
- <!-- class:Tr2DirectInstanceData -->
303
- ## `Tr2DirectInstanceData`
304
-
305
- Instance data whose buffer lives entirely on the GPU: Trinity keeps only the CPU-side layout metadata, stride, instance count and bounds.
306
-
307
- - Export: @carbonenginejs/runtime/trinity/core
308
- - Source: src/trinity/core/mesh/Tr2DirectInstanceData.js
309
- - Visibility: Public
310
- - Kind: CarbonEngineJS
311
-
312
- <!-- class:Tr2ExpressionTermInfo -->
313
- ## `Tr2ExpressionTermInfo`
314
-
315
- Describes one term the expression language exposes - a variable, a function or a string function - with its category, argument names and help text.
316
-
317
- - Export: @carbonenginejs/runtime/trinity/core
318
- - Source: src/trinity/core/variable/Tr2ExpressionTermInfo.js
319
- - Visibility: Public
320
- - Kind: CarbonEngineJS
321
-
322
- <!-- class:Tr2GpuBuffer -->
323
- ## `Tr2GpuBuffer`
324
-
325
- Tr2GpuBuffer (trinityCore) - generated from schema shapeHash 7a225a45....
326
-
327
- - Export: @carbonenginejs/runtime/trinity/core
328
- - Source: src/trinity/core/device/Tr2GpuBuffer.js
329
- - Visibility: Public
330
- - Kind: CarbonEngineJS
331
-
332
- <!-- class:ITr2PoseModifier -->
333
- ## `ITr2PoseModifier`
334
-
335
- Carbon's canonical modify-the-sampled-pose hook: implemented by consumers that adjust a freshly sampled animation pose in place (turret aiming, character look-at fixups) and registered non-owning on the animation host.
336
-
337
- - Export: @carbonenginejs/runtime/trinity/core
338
- - Source: src/trinity/core/animation/ITr2PoseModifier.js
339
- - Visibility: Public
340
- - Kind: Carbon
341
-
342
- <!-- class:Tr2GrannyAnimation -->
343
- ## `Tr2GrannyAnimation`
344
-
345
- Tr2GrannyAnimation (trinityCore) - promoted from generated; shapeHash 056bad2a.
346
-
347
- - Export: @carbonenginejs/runtime/trinity/core
348
- - Source: src/trinity/core/animation/Tr2GrannyAnimation.js
349
- - Visibility: Public
350
- - Kind: CarbonEngineJS
351
-
352
- <!-- class:Tr2InstancedMesh -->
353
- ## `Tr2InstancedMesh`
354
-
355
- A mesh drawn once per entry of a separate instance-data stream, with static bounds or bounds expanded by the per-instance size.
356
-
357
- - Export: @carbonenginejs/runtime/trinity/core
358
- - Source: src/trinity/core/mesh/Tr2InstancedMesh.js
359
- - Visibility: Public
360
- - Kind: CarbonEngineJS
361
-
362
- <!-- class:Tr2LineGraph -->
363
- ## `Tr2LineGraph`
364
-
365
- A rolling sample history with named markers and running statistics, drawn as a line graph.
366
-
367
- - Export: @carbonenginejs/runtime/trinity/core
368
- - Source: src/trinity/core/line/Tr2LineGraph.js
369
- - Visibility: Public
370
- - Kind: CarbonEngineJS
371
-
372
- <!-- class:Tr2LineSet -->
373
- ## `Tr2LineSet`
374
-
375
- A set of coloured lines with an accompanying picking-triangle list, submitted as one buffer.
376
-
377
- - Export: @carbonenginejs/runtime/trinity/core
378
- - Source: src/trinity/core/line/Tr2LineSet.js
379
- - Visibility: Public
380
- - Kind: CarbonEngineJS
381
-
382
- <!-- class:Tr2ManipulationTool -->
383
- ## `Tr2ManipulationTool`
384
-
385
- The interactive manipulator base: axis selection, drag handling and the callback a move reports through.
386
-
387
- - Export: @carbonenginejs/runtime/trinity/core
388
- - Source: src/trinity/core/tool/Tr2ManipulationTool.js
389
- - Visibility: Public
390
- - Kind: CarbonEngineJS
391
-
392
- <!-- class:Tr2MaterialParameterStore -->
393
- ## `Tr2MaterialParameterStore`
394
-
395
- Tr2MaterialParameterStore (trinityCore) - generated from schema shapeHash 119f32c2....
396
-
397
- - Export: @carbonenginejs/runtime/trinity/core
398
- - Source: src/trinity/core/Tr2MaterialParameterStore.js
399
- - Visibility: Public
400
- - Kind: CarbonEngineJS
401
-
402
- <!-- class:Tr2Mesh -->
403
- ## `Tr2Mesh`
404
-
405
- A mesh backed by a geometry resource, adding the resource path plus the morph-target weights and baked-morph state on top of Tr2MeshBase.
406
-
407
- - Export: @carbonenginejs/runtime/trinity/core
408
- - Source: src/trinity/core/mesh/Tr2Mesh.js
409
- - Visibility: Public
410
- - Kind: CarbonEngineJS
411
-
412
- <!-- class:Tr2MeshArea -->
413
- ## `Tr2MeshArea`
414
-
415
- One drawable range of a mesh: the index and count of geometry groups plus the effect, shadow, depth and LOD state that decide how the range is batched.
416
-
417
- - Export: @carbonenginejs/runtime/trinity/core
418
- - Source: src/trinity/core/mesh/Tr2MeshArea.js
419
- - Visibility: Public
420
- - Kind: CarbonEngineJS
421
-
422
- <!-- class:Tr2MeshBase -->
423
- ## `Tr2MeshBase`
424
-
425
- Base mesh: owns one mesh-area list per batch type and turns the displayed areas into GPU-free render batches and shadow area blocks.
426
-
427
- - Export: @carbonenginejs/runtime/trinity/core
428
- - Source: src/trinity/core/mesh/Tr2MeshBase.js
429
- - Visibility: Public
430
- - Kind: CarbonEngineJS
431
-
432
- <!-- class:Tr2PerObjectData -->
433
- ## `Tr2PerObjectData`
434
-
435
- Base for per-object render data: the object id a batch is picked and identified by, the virtual that uploads a renderable's constants through the abstraction layer, and the shared mechanism its subclasses use.
436
-
437
- - Export: @carbonenginejs/runtime/trinity/core
438
- - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectData.js
439
- - Visibility: Public
440
- - Kind: CarbonEngineJS
441
-
442
- <!-- class:Tr2PerObjectDataPSBuffer -->
443
- ## `Tr2PerObjectDataPSBuffer`
444
-
445
- Per-object data carrying a pixel payload. Shared storage for the classes that hold one, and it uploads nothing itself, as Carbon's does not.
446
-
447
- - Export: @carbonenginejs/runtime/trinity/core
448
- - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js
449
- - Visibility: Public
450
- - Kind: CarbonEngineJS
451
-
452
- <!-- class:Tr2PerObjectDataStandard -->
453
- ## `Tr2PerObjectDataStandard`
454
-
455
- Per-object data for an ordinary renderable: a vertex payload and a pixel payload, each leased in a named layout and bound at its per-object register.
456
-
457
- - Export: @carbonenginejs/runtime/trinity/core
458
- - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js
459
- - Visibility: Public
460
- - Kind: CarbonEngineJS
461
-
462
- <!-- class:EveBasicPerObjectData -->
463
- ## `EveBasicPerObjectData`
464
-
465
- The world, previous-world and inverse-world matrices every plain Eve transform uploads.
466
-
467
- - Export: @carbonenginejs/runtime/trinity/core
468
- - Source: src/trinity/core/rawData/perObjectData/EveBasicPerObjectData.js
469
- - Visibility: Public
470
- - Kind: CarbonEngineJS
471
-
472
- <!-- class:EveBoosterSetPerObjectData -->
473
- ## `EveBoosterSetPerObjectData`
474
-
475
- A booster set's vertex and pixel payloads.
476
-
477
- - Export: @carbonenginejs/runtime/trinity/core
478
- - Source: src/trinity/core/rawData/perObjectData/EveBoosterSetPerObjectData.js
479
- - Visibility: Public
480
- - Kind: CarbonEngineJS
481
-
482
- <!-- class:EveChildBoosterSetPerObjectData -->
483
- ## `EveChildBoosterSetPerObjectData`
484
-
485
- The child booster set's vertex and pixel payloads.
486
-
487
- - Export: @carbonenginejs/runtime/trinity/core
488
- - Source: src/trinity/core/rawData/perObjectData/EveChildBoosterSetPerObjectData.js
489
- - Visibility: Public
490
- - Kind: CarbonEngineJS
491
-
492
- <!-- class:EveChildBulletStormPerObjectData -->
493
- ## `EveChildBulletStormPerObjectData`
494
-
495
- A bullet storm's transform, effect info and world-space target positions.
496
-
497
- - Export: @carbonenginejs/runtime/trinity/core
498
- - Source: src/trinity/core/rawData/perObjectData/EveChildBulletStormPerObjectData.js
499
- - Visibility: Public
500
- - Kind: CarbonEngineJS
501
-
502
- <!-- class:EveChildSpherePinPerObjectData -->
503
- ## `EveChildSpherePinPerObjectData`
504
-
505
- The child sphere pin's payload, bound to both per-object registers.
506
-
507
- - Export: @carbonenginejs/runtime/trinity/core
508
- - Source: src/trinity/core/rawData/perObjectData/EveChildSpherePinPerObjectData.js
509
- - Visibility: Public
510
- - Kind: CarbonEngineJS
511
-
512
- <!-- class:EveDecalPerObjectData -->
513
- ## `EveDecalPerObjectData`
514
-
515
- A decal's vertex and pixel payloads.
516
-
517
- - Export: @carbonenginejs/runtime/trinity/core
518
- - Source: src/trinity/core/rawData/perObjectData/EveDecalPerObjectData.js
519
- - Visibility: Public
520
- - Kind: CarbonEngineJS
521
-
522
- <!-- class:EveLensflarePerObjectData -->
523
- ## `EveLensflarePerObjectData`
524
-
525
- A lensflare's payload, bound to both per-object registers.
526
-
527
- - Export: @carbonenginejs/runtime/trinity/core
528
- - Source: src/trinity/core/rawData/perObjectData/EveLensflarePerObjectData.js
529
- - Visibility: Public
530
- - Kind: CarbonEngineJS
531
-
532
- <!-- class:EveMissileWarheadPerObjectData -->
533
- ## `EveMissileWarheadPerObjectData`
534
-
535
- A missile warhead's transform payload.
536
-
537
- - Export: @carbonenginejs/runtime/trinity/core
538
- - Source: src/trinity/core/rawData/perObjectData/EveMissileWarheadPerObjectData.js
539
- - Visibility: Public
540
- - Kind: CarbonEngineJS
541
-
542
- <!-- class:EveSceneStaticParticlesPerObjectData -->
543
- ## `EveSceneStaticParticlesPerObjectData`
544
-
545
- The static-particle field's per-draw payload.
546
-
547
- - Export: @carbonenginejs/runtime/trinity/core
548
- - Source: src/trinity/core/rawData/perObjectData/EveSceneStaticParticlesPerObjectData.js
549
- - Visibility: Public
550
- - Kind: CarbonEngineJS
551
-
552
- <!-- class:EveSpherePinPerObjectData -->
553
- ## `EveSpherePinPerObjectData`
554
-
555
- A sphere pin's transform, position, rotation and colour, bound to both registers.
556
-
557
- - Export: @carbonenginejs/runtime/trinity/core
558
- - Source: src/trinity/core/rawData/perObjectData/EveSpherePinPerObjectData.js
559
- - Visibility: Public
560
- - Kind: CarbonEngineJS
561
-
562
- <!-- class:EveTurretSetPerObjectData -->
563
- ## `EveTurretSetPerObjectData`
564
-
565
- A turret set's vertex and pixel payloads.
566
-
567
- - Export: @carbonenginejs/runtime/trinity/core
568
- - Source: src/trinity/core/rawData/perObjectData/EveTurretSetPerObjectData.js
569
- - Visibility: Public
570
- - Kind: CarbonEngineJS
571
-
572
- <!-- class:StretchPerObjectData -->
573
- ## `StretchPerObjectData`
574
-
575
- A stretch's endpoint and effect payload, bound to both registers.
576
-
577
- - Export: @carbonenginejs/runtime/trinity/core
578
- - Source: src/trinity/core/rawData/perObjectData/StretchPerObjectData.js
579
- - Visibility: Public
580
- - Kind: CarbonEngineJS
581
- <!-- class:CjsConstantLayout -->
582
- ## `CjsConstantLayout`
583
-
584
- The declaration vocabulary and resolver shared by the per-object and per-frame constant-data catalogs: declared member types, stage sets, neutral defaults, and the layout builder.
585
-
586
- - Source: src/trinity/core/rawData/CjsConstantLayout.js
587
- - Visibility: Internal
588
- - Kind: CarbonEngineJS
589
- <!-- class:CjsEveBasicLayout -->
590
- ## `CjsEveBasicLayout`
591
-
592
- Per-object constant-buffer layout for `EveBasicPerObjectData`.
593
-
594
- - Source: src/trinity/core/rawData/layouts/CjsEveBasicLayout.js
595
- - Visibility: Internal
596
- - Kind: CarbonEngineJS
597
-
598
- <!-- class:CjsEveBoosterSetLayout -->
599
- ## `CjsEveBoosterSetLayout`
600
-
601
- Per-object constant-buffer layouts for `EveBoosterSetVSData` and `EveBoosterSetPSData`.
602
-
603
- - Source: src/trinity/core/rawData/layouts/CjsEveBoosterSetLayout.js
604
- - Visibility: Internal
605
- - Kind: CarbonEngineJS
606
-
607
- <!-- class:CjsEveChildBoosterSetLayout -->
608
- ## `CjsEveChildBoosterSetLayout`
609
-
610
- Per-object constant-buffer layouts for `EveChildBoosterSetVSData` and `EveChildBoosterSetPSData`.
611
-
612
- - Source: src/trinity/core/rawData/layouts/CjsEveChildBoosterSetLayout.js
613
- - Visibility: Internal
614
- - Kind: CarbonEngineJS
615
-
616
- <!-- class:CjsEveChildBulletStormLayout -->
617
- ## `CjsEveChildBulletStormLayout`
618
-
619
- Per-object constant-buffer layout for `EveChildBulletStormPerObjectData`.
620
-
621
- - Source: src/trinity/core/rawData/layouts/CjsEveChildBulletStormLayout.js
622
- - Visibility: Internal
623
- - Kind: CarbonEngineJS
624
-
625
- <!-- class:CjsEveChildSpherePinLayout -->
626
- ## `CjsEveChildSpherePinLayout`
627
-
628
- Per-object constant-buffer layout for `EveChildSpherePinPerObjectData`.
629
-
630
- - Source: src/trinity/core/rawData/layouts/CjsEveChildSpherePinLayout.js
631
- - Visibility: Internal
632
- - Kind: CarbonEngineJS
633
-
634
- <!-- class:CjsEveLensflareLayout -->
635
- ## `CjsEveLensflareLayout`
636
-
637
- Per-object constant-buffer layout for `EveLensflarePerObjectData`.
638
-
639
- - Source: src/trinity/core/rawData/layouts/CjsEveLensflareLayout.js
640
- - Visibility: Internal
641
- - Kind: CarbonEngineJS
642
-
643
- <!-- class:CjsEveMissileWarheadLayout -->
644
- ## `CjsEveMissileWarheadLayout`
645
-
646
- Per-object constant-buffer layout for `EveMissileWarheadPerObjectData`.
647
-
648
- - Source: src/trinity/core/rawData/layouts/CjsEveMissileWarheadLayout.js
649
- - Visibility: Internal
650
- - Kind: CarbonEngineJS
651
-
652
- <!-- class:CjsEvePerObjectLayout -->
653
- ## `CjsEvePerObjectLayout`
654
-
655
- Per-object constant-buffer layouts for `EvePerObjectVSData` and `EvePerObjectPSData`.
656
-
657
- - Source: src/trinity/core/rawData/layouts/CjsEvePerObjectLayout.js
658
- - Visibility: Internal
659
- - Kind: CarbonEngineJS
660
-
661
- <!-- class:CjsEveSceneStaticParticlesLayout -->
662
- ## `CjsEveSceneStaticParticlesLayout`
663
-
664
- Per-object constant-buffer layout for `EveSceneStaticParticlesPerObjectData`.
665
-
666
- - Source: src/trinity/core/rawData/layouts/CjsEveSceneStaticParticlesLayout.js
667
- - Visibility: Internal
668
- - Kind: CarbonEngineJS
669
-
670
- <!-- class:CjsEveSpaceObjectDecalLayout -->
671
- ## `CjsEveSpaceObjectDecalLayout`
672
-
673
- Per-object constant-buffer layouts for `DecalVSPerObjectData` and `DecalPSPerObjectData`.
674
-
675
- - Source: src/trinity/core/rawData/layouts/CjsEveSpaceObjectDecalLayout.js
676
- - Visibility: Internal
677
- - Kind: CarbonEngineJS
678
-
679
- <!-- class:CjsEveSpaceObjectLayout -->
680
- ## `CjsEveSpaceObjectLayout`
681
-
682
- Per-object constant-buffer layouts for `EveSpaceObjectVSData` and `EveSpaceObjectPSData`.
683
-
684
- - Source: src/trinity/core/rawData/layouts/CjsEveSpaceObjectLayout.js
685
- - Visibility: Internal
686
- - Kind: CarbonEngineJS
687
-
688
- <!-- class:CjsEveSpacePerObjectLayout -->
689
- ## `CjsEveSpacePerObjectLayout`
690
-
691
- Per-object constant-buffer layout for `EveSpacePerObjectData`.
692
-
693
- - Source: src/trinity/core/rawData/layouts/CjsEveSpacePerObjectLayout.js
694
- - Visibility: Internal
695
- - Kind: CarbonEngineJS
696
-
697
- <!-- class:CjsEveSpherePinLayout -->
698
- ## `CjsEveSpherePinLayout`
699
-
700
- Per-object constant-buffer layout for `EveSpherePinPerObjectData`.
701
-
702
- - Source: src/trinity/core/rawData/layouts/CjsEveSpherePinLayout.js
703
- - Visibility: Internal
704
- - Kind: CarbonEngineJS
705
-
706
- <!-- class:CjsEveStretch2Layout -->
707
- ## `CjsEveStretch2Layout`
708
-
709
- Per-object constant-buffer layout for `EveStretch2PerObjectData`.
710
-
711
- - Source: src/trinity/core/rawData/layouts/CjsEveStretch2Layout.js
712
- - Visibility: Internal
713
- - Kind: CarbonEngineJS
714
-
715
- <!-- class:CjsEveTurretSetLayout -->
716
- ## `CjsEveTurretSetLayout`
717
-
718
- Per-object constant-buffer layouts for `EveTurretSetVSData` and `EveTurretSetPSData`.
719
-
720
- - Source: src/trinity/core/rawData/layouts/CjsEveTurretSetLayout.js
721
- - Visibility: Internal
722
- - Kind: CarbonEngineJS
723
-
724
- <!-- class:CjsTr2PerObjectLayout -->
725
- ## `CjsTr2PerObjectLayout`
726
-
727
- Per-object constant-buffer layout for `Tr2PerObjectVSData`.
728
-
729
- - Source: src/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js
730
- - Visibility: Internal
731
- - Kind: CarbonEngineJS
732
- <!-- class:Tr2PrimaryRenderContext -->
733
- ## `Tr2PrimaryRenderContext`
734
-
735
- Tr2PrimaryRenderContext (trinityCore) - generated from schema shapeHash 92b87061....
736
-
737
- - Export: @carbonenginejs/runtime/trinity/core
738
- - Source: src/trinity/core/context/Tr2PrimaryRenderContext.js
739
- - Visibility: Public
740
- - Kind: CarbonEngineJS
741
-
742
- <!-- class:Tr2PrimitiveSet -->
743
- ## `Tr2PrimitiveSet`
744
-
745
- A drawable set of primitives with a world transform, sort value and bounding sphere.
746
-
747
- - Export: @carbonenginejs/runtime/trinity/core
748
- - Source: src/trinity/core/line/Tr2PrimitiveSet.js
749
- - Visibility: Public
750
- - Kind: CarbonEngineJS
751
-
752
- <!-- class:Tr2QuadRenderer -->
753
- ## `Tr2QuadRenderer`
754
-
755
- Collects quads from every registered effect into one merged instance buffer and emits them as batches.
756
-
757
- `AddQuads` copies terminal instance bytes without interpreting them. Producers
758
- that own mixed-width records, such as Eve's 108-byte quad layouts, pack their
759
- float32 rows and float16 tails before submission. Numeric arrays remain a
760
- float32-compatible convenience for uniformly typed records.
761
-
762
- - Export: @carbonenginejs/runtime/trinity/core
763
- - Source: src/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js
764
- - Visibility: Public
765
- - Kind: CarbonEngineJS
766
-
767
- <!-- class:Tr2QuadRendererEffectRecord -->
768
- ## `Tr2QuadRendererEffectRecord`
769
-
770
- One registered quad effect (Carbon Tr2QuadRenderer::EffectRecord).
771
-
772
- - Export: @carbonenginejs/runtime/trinity/core
773
- - Source: src/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js
774
- - Visibility: Public
775
- - Kind: CarbonEngineJS
776
-
777
- <!-- class:Tr2RenderBatch -->
778
- ## `Tr2RenderBatch`
779
-
780
- One draw's worth of CPU descriptor state - material and shader key, geometry binding, draw arguments and sort keys - holding no device resources.
781
-
782
- - Export: @carbonenginejs/runtime/trinity/core
783
- - Source: src/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js
784
- - Visibility: Public
785
- - Kind: CarbonEngineJS
786
-
787
- <!-- class:TriRenderBatchAreaBlock -->
788
- ## `TriRenderBatchAreaBlock`
789
-
790
- A contiguous (startIndex, count) run of mesh groups, as consumed by the shadow and overlay area-block paths.
791
-
792
- - Export: @carbonenginejs/runtime/trinity/core
793
- - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlock.js
794
- - Visibility: Public
795
- - Kind: CarbonEngineJS
796
-
797
- <!-- class:TriRenderBatchAreaBlocksWithSharedMaterial -->
798
- ## `TriRenderBatchAreaBlocksWithSharedMaterial`
799
-
800
- Groups the area blocks that draw with one shared shader material on the shadow and overlay path.
801
-
802
- - Export: @carbonenginejs/runtime/trinity/core
803
- - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlocksWithSharedMaterial.js
804
- - Visibility: Public
805
- - Kind: CarbonEngineJS
806
-
807
- <!-- class:Tr2RenderContext -->
808
- ## `Tr2RenderContext`
809
-
810
- Tr2RenderContext (trinityCore) - generated from schema shapeHash 73e2a4e7....
811
-
812
- - Export: @carbonenginejs/runtime/trinity/core
813
- - Source: src/trinity/core/context/Tr2RenderContext.js
814
- - Visibility: Public
815
- - Kind: CarbonEngineJS
816
-
817
- <!-- class:Tr2RenderTarget -->
818
- ## `Tr2RenderTarget`
819
-
820
- Tr2RenderTarget (trinityCore) - generated from schema shapeHash dc39c914....
821
-
822
- - Export: @carbonenginejs/runtime/trinity/core
823
- - Source: src/trinity/core/device/Tr2RenderTarget.js
824
- - Visibility: Public
825
- - Kind: CarbonEngineJS
826
-
827
- <!-- class:Tr2RuntimeGpuBuffer -->
828
- ## `Tr2RuntimeGpuBuffer`
829
-
830
- Tr2RuntimeGpuBuffer (trinityCore) - generated from schema shapeHash 0cb23744....
831
-
832
- - Export: @carbonenginejs/runtime/trinity/core
833
- - Source: src/trinity/core/device/Tr2RuntimeGpuBuffer.js
834
- - Visibility: Public
835
- - Kind: CarbonEngineJS
836
-
837
- <!-- class:Tr2RotationTool -->
838
- ## `Tr2RotationTool`
839
-
840
- Extends the manipulation tool with quaternion rotation state and angular precision.
841
-
842
- - Export: `@carbonenginejs/runtime/trinity/core`
843
- - Source: `src/trinity/core/tool/Tr2RotationTool.js`
844
- - Visibility: Public
845
- - Kind: CarbonEngineJS
846
-
847
- <!-- class:Tr2RuntimeInstanceData -->
848
- ## `Tr2RuntimeInstanceData`
849
-
850
- Owns a CPU-side instance stream - a vertex element layout, the packed per-instance rows and their bounding box - and can spawn the same rows into a particle system on demand.
851
-
852
- - Export: @carbonenginejs/runtime/trinity/core
853
- - Source: src/trinity/core/mesh/Tr2RuntimeInstanceData.js
854
- - Visibility: Public
855
- - Kind: CarbonEngineJS
856
-
857
- <!-- class:Tr2ScalingTool -->
858
- ## `Tr2ScalingTool`
859
-
860
- An interactive scaling manipulator that turns pointer drags along a selected axis into a scale.
861
-
862
- - Export: @carbonenginejs/runtime/trinity/core
863
- - Source: src/trinity/core/tool/Tr2ScalingTool.js
864
- - Visibility: Public
865
- - Kind: CarbonEngineJS
866
-
867
- <!-- class:Tr2SerializedMorphAnimation -->
868
- ## `Tr2SerializedMorphAnimation`
869
-
870
- Tr2SerializedMorphAnimation (trinityCore) - generated from schema shapeHash 58cefc7b....
871
-
872
- - Export: @carbonenginejs/runtime/trinity/core
873
- - Source: src/trinity/core/mesh/Tr2SerializedMorphAnimation.js
874
- - Visibility: Public
875
- - Kind: CarbonEngineJS
876
-
877
- <!-- class:Tr2ShLightingManager -->
878
- ## `Tr2ShLightingManager`
879
-
880
- Computes the spherical-harmonic coefficients that approximate secondary lighting - a primary light reflected off nearby spheres - for any receiver position in the scene.
881
-
882
- - Export: @carbonenginejs/runtime/trinity/core
883
- - Source: src/trinity/core/lighting/Tr2ShLightingManager.js
884
- - Visibility: Public
885
- - Kind: CarbonEngineJS
886
-
887
- <!-- class:Tr2SolidSet -->
888
- ## `Tr2SolidSet`
889
-
890
- A set of coloured triangles with a running centre of mass, submitted as one buffer.
891
-
892
- - Export: @carbonenginejs/runtime/trinity/core
893
- - Source: src/trinity/core/line/Tr2SolidSet.js
894
- - Visibility: Public
895
- - Kind: CarbonEngineJS
896
-
897
- <!-- class:Tr2SwapChain -->
898
- ## `Tr2SwapChain`
899
-
900
- Tr2SwapChain (trinityCore) - generated from schema shapeHash 955529ab....
901
-
902
- - Export: @carbonenginejs/runtime/trinity/core
903
- - Source: src/trinity/core/device/Tr2SwapChain.js
904
- - Visibility: Public
905
- - Kind: CarbonEngineJS
906
-
907
- <!-- class:Tr2TextureAnimation -->
908
- ## `Tr2TextureAnimation`
909
-
910
- Advances a multi-channel texture flipbook, tracking frame and restart state per channel.
911
-
912
- - Export: @carbonenginejs/runtime/trinity/core
913
- - Source: src/trinity/core/animation/Tr2TextureAnimation.js
914
- - Visibility: Public
915
- - Kind: CarbonEngineJS
916
-
917
- <!-- class:Tr2VariableStore -->
918
- ## `Tr2VariableStore`
919
-
920
- Named-variable collection used by the shader system for binding.
921
-
922
- - Export: @carbonenginejs/runtime/trinity/core
923
- - Source: src/trinity/core/variable/Tr2VariableStore.js
924
- - Visibility: Public
925
- - Kind: CarbonEngineJS
926
-
927
- <!-- class:Tr2VisibilityEvent -->
928
- ## `Tr2VisibilityEvent`
929
-
930
- Carbon's Tr2VisibilityEvent struct - the shared shape producers push into Tr2VisibilityResults and the interior/portal visibility consumers read.
931
-
932
- - Export: @carbonenginejs/runtime/trinity/core
933
- - Source: src/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityEvent.js
934
- - Visibility: Public
935
- - Kind: CarbonEngineJS
936
-
937
- <!-- class:Tr2VisibilityResults -->
938
- ## `Tr2VisibilityResults`
939
-
940
- Collects the visibility events a visibility executor emits, for the interior and portal consumers to read back.
941
-
942
- - Export: @carbonenginejs/runtime/trinity/core
943
- - Source: src/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityResults.js
944
- - Visibility: Public
945
- - Kind: CarbonEngineJS
946
-
947
- <!-- class:TriDevice -->
948
- ## `TriDevice`
949
-
950
- TriDevice (trinityCore) - generated from schema shapeHash 1db3a492....
951
-
952
- - Export: @carbonenginejs/runtime/trinity/core
953
- - Source: src/trinity/core/device/TriDevice.js
954
- - Visibility: Public
955
- - Kind: CarbonEngineJS
956
-
957
- <!-- class:TriFloat -->
958
- ## `TriFloat`
959
-
960
- TriFloat (trinityCore) - generated from schema shapeHash b5384f79....
961
-
962
- - Export: @carbonenginejs/runtime/trinity/core
963
- - Source: src/trinity/core/variable/TriFloat.js
964
- - Visibility: Public
965
- - Kind: CarbonEngineJS
966
-
967
- <!-- class:TriFrustum -->
968
- ## `TriFrustum`
969
-
970
- Carbon TriFrustum (TriFrustum.h:16-77): world-space frustum planes extracted from a composed view*projection matrix, plus the cached projection data used for on-screen pixel-coverage estimates.
971
-
972
- - Export: @carbonenginejs/runtime/trinity/core
973
- - Source: src/trinity/core/view/TriFrustum.js
974
- - Visibility: Public
975
- - Kind: CarbonEngineJS
976
-
977
- <!-- class:TriFrustumOrtho -->
978
- ## `TriFrustumOrtho`
979
-
980
- Carbon TriFrustumOrtho (TriFrustumOrtho.h:9-27): orthographic shadow frustum as view matrix + view-space bounds.
981
-
982
- - Export: @carbonenginejs/runtime/trinity/core
983
- - Source: src/trinity/core/view/TriFrustumOrtho.js
984
- - Visibility: Public
985
- - Kind: CarbonEngineJS
986
-
987
- <!-- class:TriLineSet -->
988
- ## `TriLineSet`
989
-
990
- A debug line set that builds boxes, spheres, cylinders and cones out of coloured line segments.
991
-
992
- - Export: @carbonenginejs/runtime/trinity/core
993
- - Source: src/trinity/core/line/TriLineSet.js
994
- - Visibility: Public
995
- - Kind: CarbonEngineJS
996
-
997
- <!-- class:TriObserverLocal -->
998
- ## `TriObserverLocal`
999
-
1000
- Holds an audio or placement observer at a fixed local position and facing inside an object, and republishes it in world space as the object moves.
1001
-
1002
- - Export: @carbonenginejs/runtime/trinity/core
1003
- - Source: src/trinity/core/variable/TriObserverLocal.js
1004
- - Visibility: Public
1005
- - Kind: CarbonEngineJS
1006
-
1007
- <!-- class:TriProjection -->
1008
- ## `TriProjection`
1009
-
1010
- The camera projection: the selected projection mode with its parameters, plus the 4x4 matrix built from them.
1011
-
1012
- - Export: @carbonenginejs/runtime/trinity/core
1013
- - Source: src/trinity/core/view/TriProjection.js
1014
- - Visibility: Public
1015
- - Kind: CarbonEngineJS
1016
-
1017
- <!-- class:TriRect -->
1018
- ## `TriRect`
1019
-
1020
- An integer screen rectangle given by its left, top, right and bottom edges.
1021
-
1022
- - Export: @carbonenginejs/runtime/trinity/core
1023
- - Source: src/trinity/core/view/TriRect.js
1024
- - Visibility: Public
1025
- - Kind: CarbonEngineJS
1026
-
1027
- <!-- class:TriRenderBatchAccumulator -->
1028
- ## `TriRenderBatchAccumulator`
1029
-
1030
- Concrete GPU-free batch accumulator: collects committed batches into a GDPR-eligible and a plain vector, then sorts and group-counts them on Finalize.
1031
-
1032
- - Export: @carbonenginejs/runtime/trinity/core
1033
- - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAccumulator.js
1034
- - Visibility: Public
1035
- - Kind: CarbonEngineJS
1036
-
1037
- <!-- class:TriRenderBatchMap -->
1038
- ## `TriRenderBatchMap`
1039
-
1040
- One render-batch accumulator per TriBatchType, with the scene-level collect, finalize and clear flow over them.
1041
-
1042
- - Export: @carbonenginejs/runtime/trinity/core
1043
- - Source: src/trinity/core/batch/TriRenderBatchMap.js
1044
- - Visibility: Public
1045
- - Kind: CarbonEngineJS
1046
-
1047
- <!-- class:TriRigidOrientation -->
1048
- ## `TriRigidOrientation`
1049
-
1050
- Integrates torque into an orientation over time, sampling the result at a given moment.
1051
-
1052
- - Export: @carbonenginejs/runtime/trinity/core
1053
- - Source: src/trinity/core/animation/TriRigidOrientation.js
1054
- - Visibility: Public
1055
- - Kind: CarbonEngineJS
1056
-
1057
- <!-- class:TriSettings -->
1058
- ## `TriSettings`
1059
-
1060
- A registry of named boolean, number and string settings with type-checked reads and writes and a Python-style repr.
1061
-
1062
- - Export: @carbonenginejs/runtime/trinity/core
1063
- - Source: src/trinity/core/TriSettings.js
1064
- - Visibility: Public
1065
- - Kind: CarbonEngineJS
1066
-
1067
- <!-- class:TriTorque -->
1068
- ## `TriTorque`
1069
-
1070
- TriTorque (trinityCore) - generated from schema shapeHash 10c5e0d6....
1071
-
1072
- - Export: @carbonenginejs/runtime/trinity/core
1073
- - Source: src/trinity/core/animation/TriTorque.js
1074
- - Visibility: Public
1075
- - Kind: CarbonEngineJS
1076
-
1077
- <!-- class:TriVariable -->
1078
- ## `TriVariable`
1079
-
1080
- One named shader-binding variable: the content type fixed when it was registered, plus the value payload standing in for Carbon's typed union.
1081
-
1082
- - Export: @carbonenginejs/runtime/trinity/core
1083
- - Source: src/trinity/core/variable/TriVariable.js
1084
- - Visibility: Public
1085
- - Kind: CarbonEngineJS
1086
-
1087
- <!-- class:TriView -->
1088
- ## `TriView`
1089
-
1090
- The camera view matrix, together with the look-at helper that builds it.
1091
-
1092
- - Export: @carbonenginejs/runtime/trinity/core
1093
- - Source: src/trinity/core/view/TriView.js
1094
- - Visibility: Public
1095
- - Kind: CarbonEngineJS
1096
-
1097
- <!-- class:TriViewport -->
1098
- ## `TriViewport`
1099
-
1100
- A screen viewport rectangle in pixels together with its minimum and maximum depth.
1101
-
1102
- - Export: @carbonenginejs/runtime/trinity/core
1103
- - Source: src/trinity/core/view/TriViewport.js
1104
- - Visibility: Public
1105
- - Kind: CarbonEngineJS
1106
-
1107
- <!-- class:Tr2KelvinColor -->
1108
- ## `Tr2KelvinColor`
1109
-
1110
- A light colour authored as a temperature in kelvin, a tint, and a white-balance illuminant.
1111
-
1112
- - Export: @carbonenginejs/runtime/trinity/core
1113
- - Source: src/trinity/core/lighting/Tr2KelvinColor.js
1114
- - Visibility: Public
1115
- - Kind: CarbonEngineJS
1116
-
1117
- <!-- class:Tr2TranslationTool -->
1118
- ## `Tr2TranslationTool`
1119
-
1120
- Extends the manipulation tool with the current three-axis translation result.
1121
-
1122
- - Export: `@carbonenginejs/runtime/trinity/core`
1123
- - Source: `src/trinity/core/tool/Tr2TranslationTool.js`
1124
- - Visibility: Public
1125
- - Kind: CarbonEngineJS
1126
-
1127
- <!-- class:CjsTrinityBatchDispatcher -->
1128
- ## `CjsTrinityBatchDispatcher`
1129
-
1130
- Minimum renderer contract for a finalized Trinity batch map.
1131
-
1132
- - Export: `@carbonenginejs/runtime/trinity/core`
1133
- - Source: `src/trinity/core/batch/CjsTrinityBatchDispatcher.js`
1134
- - Visibility: Public
1135
- - Kind: CarbonEngineJS
1136
-
1137
- <!-- class:CjsTrinityBatchResolver -->
1138
- ## `CjsTrinityBatchResolver`
1139
-
1140
- Nominal composition boundary that resolves Trinity CPU batch references for a concrete renderer.
1141
-
1142
- - Export: `@carbonenginejs/runtime/trinity/core`
1143
- - Source: `src/trinity/core/batch/CjsTrinityBatchResolver.js`
1144
- - Visibility: Public
1145
- - Kind: CarbonEngineJS
1146
-
1147
- <!-- class:CjsDirectTrinityStepExecutor -->
1148
- ## `CjsDirectTrinityStepExecutor`
1149
-
1150
- Direct GPU-free executor used whenever no engine recorder is installed.
1151
-
1152
- - Export: `@carbonenginejs/runtime/trinity/core`
1153
- - Source: `src/trinity/core/context/CjsDirectTrinityStepExecutor.js`
1154
- - Visibility: Public
1155
- - Kind: CarbonEngineJS
1156
-
1157
- <!-- class:CjsTrinityStepExecutor -->
1158
- ## `CjsTrinityStepExecutor`
1159
-
1160
- Nominal renderer contract driven by Trinity render contexts and jobs.
1161
-
1162
- - Export: `@carbonenginejs/runtime/trinity/core`
1163
- - Source: `src/trinity/core/context/CjsTrinityStepExecutor.js`
1164
- - Visibility: Public
1165
- - Kind: CarbonEngineJS
1166
-
1167
- <!-- class:Tr2EffectLibraryParameters -->
1168
- ## `Tr2EffectLibraryParameters`
1169
-
1170
- Collects one effect library's local and global stage inputs, rerouted parameters, and resource-set state.
1171
-
1172
- - Export: `@carbonenginejs/runtime/trinity/shader`
1173
- - Source: `src/trinity/shader/material/Tr2EffectLibraryParameters.js`
1174
- - Visibility: Public
1175
- - Kind: Carbon
1176
-
1177
- <!-- class:Tr2EffectParam -->
1178
- ## `Tr2EffectParam`
1179
-
1180
- Maps a named effect value onto a contiguous shader-register span.
1181
-
1182
- - Export: `@carbonenginejs/runtime/trinity/shader`
1183
- - Source: `src/trinity/shader/material/Tr2EffectParam.js`
1184
- - Visibility: Public
1185
- - Kind: Carbon
1186
-
1187
- <!-- class:Tr2EffectPassParameters -->
1188
- ## `Tr2EffectPassParameters`
1189
-
1190
- Collects one effect pass's per-stage inputs, rerouted parameters, used resources, and resource-set state.
1191
-
1192
- - Export: `@carbonenginejs/runtime/trinity/shader`
1193
- - Source: `src/trinity/shader/material/Tr2EffectPassParameters.js`
1194
- - Visibility: Public
1195
- - Kind: Carbon
1196
-
1197
- <!-- class:Tr2EffectTechniqueInputs -->
1198
- ## `Tr2EffectTechniqueInputs`
1199
-
1200
- Groups the pass and library parameter records prepared for one effect technique.
1201
-
1202
- - Export: `@carbonenginejs/runtime/trinity/shader`
1203
- - Source: `src/trinity/shader/material/Tr2EffectTechniqueInputs.js`
1204
- - Visibility: Public
1205
- - Kind: Carbon
1206
-
1207
- <!-- class:Tr2MaterialStageInput -->
1208
- ## `Tr2MaterialStageInput`
1209
-
1210
- Organizes one shader stage's constants, parameters, textures, UAVs, and CPU-side constant mirror.
1211
-
1212
- - Export: `@carbonenginejs/runtime/trinity/shader`
1213
- - Source: `src/trinity/shader/material/Tr2MaterialStageInput.js`
1214
- - Visibility: Public
1215
- - Kind: Carbon
1216
-
1217
- <!-- class:Tr2SharedConstantBuffers -->
1218
- ## `Tr2SharedConstantBuffers`
1219
-
1220
- Tracks shared constant-buffer contents by size and hash together with its backing buffer and reference count.
1221
-
1222
- - Export: `@carbonenginejs/runtime/trinity/shader`
1223
- - Source: `src/trinity/shader/material/Tr2SharedConstantBuffers.js`
1224
- - Visibility: Public
1225
- - Kind: Carbon
1226
-
1227
- <!-- class:CjsParameter -->
1228
- ## `CjsParameter`
1229
-
1230
- Shared base for the shader parameter models: destination-reroute plumbing, effect-reflection lookups and Carbon's FNV1 content hashing.
1231
-
1232
- - Source: `src/trinity/shader/parameter/CjsParameter.js`
1233
- - Visibility: Internal
1234
- - Kind: CarbonEngineJS
1235
-
1236
- <!-- class:CjsVectorParameter -->
1237
- ## `CjsVectorParameter`
1238
-
1239
- Base for the multi-component shader parameters, adding fixed-length destination reads and writes on top of CjsParameter.
1240
-
1241
- - Source: `src/trinity/shader/parameter/CjsVectorParameter.js`
1242
- - Visibility: Internal
1243
- - Kind: CarbonEngineJS
1244
-
1245
- <!-- class:Tr2ConstantEffectParameter -->
1246
- ## `Tr2ConstantEffectParameter`
1247
-
1248
- Stores one named persistent vec4 constant authored directly on an effect.
1249
-
1250
- - Export: `@carbonenginejs/runtime/trinity/shader`
1251
- - Source: `src/trinity/shader/parameter/Tr2ConstantEffectParameter.js`
1252
- - Visibility: Public
1253
- - Kind: Carbon
1254
-
1255
- <!-- class:Tr2FloatParameter -->
1256
- ## `Tr2FloatParameter`
1257
-
1258
- Single float value for a named shader constant, with optional rerouting into an external scalar destination.
1259
-
1260
- - Export: `@carbonenginejs/runtime/trinity/shader`
1261
- - Source: `src/trinity/shader/parameter/Tr2FloatParameter.js`
1262
- - Visibility: Public
1263
- - Kind: Carbon
1264
-
1265
- <!-- class:Tr2GeometryBufferParameter -->
1266
- ## `Tr2GeometryBufferParameter`
1267
-
1268
- Carries a named shader-buffer path for host resolution or a caller-owned GPU buffer reference.
1269
-
1270
- - Export: `@carbonenginejs/runtime/trinity/shader`
1271
- - Source: `src/trinity/shader/parameter/Tr2GeometryBufferParameter.js`
1272
- - Visibility: Public
1273
- - Kind: Carbon
1274
-
1275
- <!-- class:Tr2Matrix4Parameter -->
1276
- ## `Tr2Matrix4Parameter`
1277
-
1278
- 4x4 matrix value for a named shader constant, with optional rerouting into an external 64-byte destination.
1279
-
1280
- - Export: `@carbonenginejs/runtime/trinity/shader`
1281
- - Source: `src/trinity/shader/parameter/Tr2Matrix4Parameter.js`
1282
- - Visibility: Public
1283
- - Kind: Carbon
1284
-
1285
- <!-- class:Tr2RuntimeTextureParameter -->
1286
- ## `Tr2RuntimeTextureParameter`
1287
-
1288
- A named texture slot fed by a runtime-supplied texture provider rather than an authored res path.
1289
-
1290
- - Export: `@carbonenginejs/runtime/trinity/shader`
1291
- - Source: `src/trinity/shader/parameter/Tr2RuntimeTextureParameter.js`
1292
- - Visibility: Public
1293
- - Kind: Carbon
1294
-
1295
- <!-- class:Tr2TextureAnimationParameter -->
1296
- ## `Tr2TextureAnimationParameter`
1297
-
1298
- Exposes one named channel of a texture animation as a shader resource and invalidates attached materials as it changes.
1299
-
1300
- - Export: `@carbonenginejs/runtime/trinity/shader`
1301
- - Source: `src/trinity/shader/parameter/Tr2TextureAnimationParameter.js`
1302
- - Visibility: Public
1303
- - Kind: Carbon
1304
-
1305
- <!-- class:Tr2Vector2Parameter -->
1306
- ## `Tr2Vector2Parameter`
1307
-
1308
- Two-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1309
-
1310
- - Export: `@carbonenginejs/runtime/trinity/shader`
1311
- - Source: `src/trinity/shader/parameter/Tr2Vector2Parameter.js`
1312
- - Visibility: Public
1313
- - Kind: Carbon
1314
-
1315
- <!-- class:Tr2Vector3Parameter -->
1316
- ## `Tr2Vector3Parameter`
1317
-
1318
- Three-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1319
-
1320
- - Export: `@carbonenginejs/runtime/trinity/shader`
1321
- - Source: `src/trinity/shader/parameter/Tr2Vector3Parameter.js`
1322
- - Visibility: Public
1323
- - Kind: Carbon
1324
-
1325
- <!-- class:ITriEffectParameter -->
1326
- ## `ITriEffectParameter`
1327
-
1328
- Contract every shader parameter carries: its authored name, its effect-handle rebuild and its content hash, plus the dirty-notification flag Carbon defaults rather than leaves pure.
1329
-
1330
- - Export: `@carbonenginejs/runtime/trinity/shader`
1331
- - Source: `src/trinity/shader/parameter/ITriEffectParameter.js`
1332
- - Visibility: Public
1333
- - Kind: Carbon
1334
-
1335
- <!-- class:ITriEffectResourceParameter -->
1336
- ## `ITriEffectResourceParameter`
1337
-
1338
- Contract for a shader parameter that holds a resource, told when it joins or leaves a material. Derives from `ITriEffectParameter`; both hooks are empty by default, as in Carbon.
1339
-
1340
- - Export: `@carbonenginejs/runtime/trinity/shader`
1341
- - Source: `src/trinity/shader/parameter/ITriEffectResourceParameter.js`
1342
- - Visibility: Public
1343
- - Kind: Carbon
1344
-
1345
- <!-- class:ITriEffectTextureParameter -->
1346
- ## `ITriEffectTextureParameter`
1347
-
1348
- A resource parameter whose texture takes part in screen-size LOD selection, and the interface `TriTextureParameter` actually derives from. Carries Carbon's `UV_SET_MAX_COUNT` and its spelling of `Loding`.
1349
-
1350
- - Export: `@carbonenginejs/runtime/trinity/shader`
1351
- - Source: `src/trinity/shader/parameter/ITriEffectTextureParameter.js`
1352
- - Visibility: Public
1353
- - Kind: Carbon
1354
-
1355
- <!-- class:Tr2Vector4Parameter -->
1356
- ## `Tr2Vector4Parameter`
1357
-
1358
- Four-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1359
-
1360
- - Export: `@carbonenginejs/runtime/trinity/shader`
1361
- - Source: `src/trinity/shader/parameter/Tr2Vector4Parameter.js`
1362
- - Visibility: Public
1363
- - Kind: Carbon
1364
-
1365
- <!-- class:TriFloatArrayParameter -->
1366
- ## `TriFloatArrayParameter`
1367
-
1368
- An ordered list of vec4 rows uploaded into one named shader constant array.
1369
-
1370
- - Export: `@carbonenginejs/runtime/trinity/shader`
1371
- - Source: `src/trinity/shader/parameter/TriFloatArrayParameter.js`
1372
- - Visibility: Public
1373
- - Kind: Carbon
1374
-
1375
- <!-- class:TriTextureParameter -->
1376
- ## `TriTextureParameter`
1377
-
1378
- A named texture slot on an effect, owning the authored res path, the resolved texture provider and the UV-density scales that drive mip selection.
1379
-
1380
- - Export: `@carbonenginejs/runtime/trinity/shader`
1381
- - Source: `src/trinity/shader/parameter/TriTextureParameter.js`
1382
- - Visibility: Public
1383
- - Kind: Carbon
1384
-
1385
- <!-- class:TriTransformParameter -->
1386
- ## `TriTransformParameter`
1387
-
1388
- Composes authored translation, rotation, scale, and transform-base state into the matrix uploaded to a shader constant.
1389
-
1390
- - Export: `@carbonenginejs/runtime/trinity/shader`
1391
- - Source: `src/trinity/shader/parameter/TriTransformParameter.js`
1392
- - Visibility: Public
1393
- - Kind: Carbon
1394
-
1395
- <!-- class:TriVariableParameter -->
1396
- ## `TriVariableParameter`
1397
-
1398
- Forwards a named variable-store entry into a named effect constant or resource.
1399
-
1400
- - Export: `@carbonenginejs/runtime/trinity/shader`
1401
- - Source: `src/trinity/shader/parameter/TriVariableParameter.js`
1402
- - Visibility: Public
1403
- - Kind: Carbon
1404
-
1405
- <!-- class:TriVector4 -->
1406
- ## `TriVector4`
1407
-
1408
- One vec4 row of a TriFloatArrayParameter's value list.
1409
-
1410
- - Export: `@carbonenginejs/runtime/trinity/shader`
1411
- - Source: `src/trinity/shader/parameter/TriVector4.js`
1412
- - Visibility: Public
1413
- - Kind: Carbon
1414
-
1415
- <!-- class:Tr2ShaderOption -->
1416
- ## `Tr2ShaderOption`
1417
-
1418
- Mutable authored option on the Tr2Effect facade.
1419
-
1420
- - Export: `@carbonenginejs/runtime/trinity/shader`
1421
- - Source: `src/trinity/shader/reflection/Tr2ShaderOption.js`
1422
- - Visibility: Public
1423
- - Kind: Carbon
1424
-
1425
- <!-- class:Tr2SamplerOverride -->
1426
- ## `Tr2SamplerOverride`
1427
-
1428
- Overrides one named sampler's address, filtering, LOD-bias, mip, and anisotropy settings.
1429
-
1430
- - Export: `@carbonenginejs/runtime/trinity/shader`
1431
- - Source: `src/trinity/shader/sampler/Tr2SamplerOverride.js`
1432
- - Visibility: Public
1433
- - Kind: Carbon
1434
-
1435
- <!-- class:Tr2SamplerOverrideData -->
1436
- ## `Tr2SamplerOverrideData`
1437
-
1438
- Associates a shader sampler register with the sampler-state object to bind.
1439
-
1440
- - Export: `@carbonenginejs/runtime/trinity/shader`
1441
- - Source: `src/trinity/shader/sampler/Tr2SamplerOverrideData.js`
1442
- - Visibility: Public
1443
- - Kind: Carbon
1444
-
1445
- <!-- class:Tr2DataTextureManager -->
1446
- ## `Tr2DataTextureManager`
1447
-
1448
- Packs shader-readable data blocks into a shared texture, whose allocation an engine adapter owns.
1449
-
1450
- - Export: `@carbonenginejs/runtime/trinity/shader`
1451
- - Source: `src/trinity/shader/Tr2DataTextureManager.js`
1452
- - Visibility: Public
1453
- - Kind: Carbon
1454
-
1455
- <!-- class:Tr2Effect -->
1456
- ## `Tr2Effect`
1457
-
1458
- Owns the mutable effect facade: shader path and options, authored parameters and resources, sampler overrides, variable-store resolution, and rebuild state.
1459
-
1460
- - Export: `@carbonenginejs/runtime/trinity/shader`
1461
- - Source: `src/trinity/shader/Tr2Effect.js`
1462
- - Visibility: Public
1463
- - Kind: Carbon
1464
-
1465
- <!-- class:Tr2EffectStateManager -->
1466
- ## `Tr2EffectStateManager`
1467
-
1468
- Tracks the portable render, stream, buffer, viewport, and override state used while applying an effect, owns the process-wide shader, shader-program and render-state registration tables its handle fields index, and filters redundant binds out of the Apply* surface that carries those handles to the abstraction layer.
1469
-
1470
- - Export: `@carbonenginejs/runtime/trinity/shader`
1471
- - Source: `src/trinity/shader/Tr2EffectStateManager.js`
1472
- - Visibility: Public
1473
- - Kind: Carbon
1474
-
1475
- <!-- class:Tr2Material -->
1476
- ## `Tr2Material`
1477
-
1478
- Owns a resolved shader's per-technique pass and library bindings, resource invalidation, texture LOD forwarding, and draw-sort state.
1479
-
1480
- - Export: `@carbonenginejs/runtime/trinity/shader`
1481
- - Source: `src/trinity/shader/Tr2Material.js`
1482
- - Visibility: Public
1483
- - Kind: Carbon
1484
-
1485
- <!-- class:Tr2ShaderBuffer -->
1486
- ## `Tr2ShaderBuffer`
1487
-
1488
- Owns a detached byte payload for one shader stage while leaving device binding to the engine.
1489
-
1490
- - Export: `@carbonenginejs/runtime/trinity/shader`
1491
- - Source: `src/trinity/shader/Tr2ShaderBuffer.js`
1492
- - Visibility: Public
1493
- - Kind: Carbon
1494
-
1495
- <!-- class:Tr2PresentParameters -->
1496
- ## `Tr2PresentParameters`
1497
-
1498
- Carries the software-device, back-buffer size, and windowed-mode values used when creating a rendering device.
1499
-
1500
- - Export: `@carbonenginejs/runtime/trinity/ui`
1501
- - Source: `src/trinity/ui/Tr2PresentParameters.js`
1502
- - Visibility: Public
1503
- - Kind: Carbon
1504
-
1505
- <!-- class:Tr2GpuResourcePool -->
1506
- ## `Tr2GpuResourcePool`
1507
-
1508
- Pooled scratch textures and buffers.
1509
-
1510
- - Export: `@carbonenginejs/runtime/trinity/core`
1511
- - Source: `src/trinity/core/Tr2GpuResourcePool/Tr2GpuResourcePool.js`
1512
- - Visibility: Public
1513
- - Kind: Carbon
1514
-
1515
- <!-- class:GpuResourceHandle -->
1516
- ## `GpuResourceHandle`
1517
-
1518
- A borrowed pool resource.
1519
-
1520
- - Export: `@carbonenginejs/runtime/trinity/core`
1521
- - Source: `src/trinity/core/Tr2GpuResourcePool/GpuResourceHandle.js`
1522
- - Visibility: Public
1523
- - Kind: Carbon
1524
-
1525
- <!-- class:TextureSize2D -->
1526
- ## `TextureSize2D`
1527
-
1528
- A width and height, with Carbon's scaling and comparison.
1529
-
1530
- - Export: `@carbonenginejs/runtime/trinity/core`
1531
- - Source: `src/trinity/core/Tr2GpuResourcePool/TextureSize2D.js`
1532
- - Visibility: Public
1533
- - Kind: Carbon
1534
-
1535
- <!-- class:Tr2RingBuffer -->
1536
- ## `Tr2RingBuffer`
1537
-
1538
- One upload arena per data type, fenced by frame, so many objects share one buffer and are handed an offset each.
1539
-
1540
- - Export: `@carbonenginejs/runtime/trinity/core`
1541
- - Source: `src/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js`
1542
- - Visibility: Public
1543
- - Kind: Carbon
1544
-
1545
- <!-- class:Tr2SuballocatedBuffer -->
1546
- ## `Tr2SuballocatedBuffer`
1547
-
1548
- Carbon's shared geometry buffer: one device buffer per block that many allocations share, so a mesh's vertices are a buffer, an offset and a stride rather than a buffer of their own.
1549
-
1550
- - Export: Not exported
1551
- - Source: `src/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBuffer.js`
1552
- - Visibility: Internal
1553
- - Kind: Carbon
1554
-
1555
- <!-- class:Tr2SuballocatedBufferAllocation -->
1556
- ## `Tr2SuballocatedBufferAllocation`
1557
-
1558
- One region of a suballocated buffer: which block, at what offset and stride, with the start index the draw arguments add.
1559
-
1560
- - Export: Not exported
1561
- - Source: `src/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBufferAllocation.js`
1562
- - Visibility: Internal
1563
- - Kind: Carbon
1564
-
1565
- <!-- class:Tr2RingBufferOffsets -->
1566
- ## `Tr2RingBufferOffsets`
1567
-
1568
- One consumer's cursor into a ring buffer, holding where its rows landed this frame and last.
1569
-
1570
- - Export: `@carbonenginejs/runtime/trinity/core`
1571
- - Source: `src/trinity/core/device/Tr2RingBuffer/Tr2RingBufferOffsets.js`
1572
- - Visibility: Public
1573
- - Kind: Carbon
1574
-
1575
- <!-- class:Tr2StreamingBitmapSaver -->
1576
- ## `Tr2StreamingBitmapSaver`
1577
-
1578
- Models Carbon's incremental bitmap saver through its dimensions, pixel format, current offset, and batch-copy entry points.
1579
-
1580
- - Export: `@carbonenginejs/runtime/trinity/core`
1581
- - Source: `src/trinity/core/Tr2StreamingBitmapSaver.js`
1582
- - Visibility: Public
1583
- - Kind: Carbon
1584
-
1585
- <!-- class:Tr2Renderer -->
1586
- ## `Tr2Renderer`
1587
-
1588
- Renderer-wide state: the constant-buffer register map that is the contract between Trinity and every backend.
1589
-
1590
- - Export: `@carbonenginejs/runtime/trinity/core`
1591
- - Source: `src/trinity/core/Tr2Renderer.js`
1592
- - Visibility: Public
1593
- - Kind: Carbon
1594
- <!-- class:ITr2Updateable -->
1595
- ## `ITr2Updateable`
1596
-
1597
- Contract for an object updated once per controller or render-job tick, with `Update(realTime, simTime)` as its single method and no default.
1598
-
1599
- - Export: `@carbonenginejs/runtime/trinity/core`
1600
- - Source: `src/trinity/core/ITr2Updateable.js`
1601
- - Visibility: Public
1602
- - Kind: Carbon
1603
-
1604
- <!-- class:Tr2Blitter -->
1605
- ## `Tr2Blitter`
1606
-
1607
- Draws a four-vertex screen quad with a given material, optionally publishing a source texture as `BlitSource`, for fullscreen shader passes and sub-rectangle blits.
1608
-
1609
- - Export: `@carbonenginejs/runtime/trinity/core`
1610
- - Source: `src/trinity/core/Tr2Blitter.js`
1611
- - Visibility: Public
1612
- - Kind: Carbon
1613
-
1614
- <!-- class:Tr2TextureArray -->
1615
- ## `Tr2TextureArray`
1616
-
1617
- Describes a texture array's elements, dimensions, resource usage, upload increment, backing texture, and change callback.
1618
-
1619
- - Export: `@carbonenginejs/runtime/trinity/core`
1620
- - Source: `src/trinity/core/Tr2TextureArray/Tr2TextureArray.js`
1621
- - Visibility: Public
1622
- - Kind: Carbon
1623
-
1624
- <!-- class:Tr2TextureArrayElement -->
1625
- ## `Tr2TextureArrayElement`
1626
-
1627
- Element handle returned by {@link Tr2TextureArray.AddElement}.
1628
-
1629
- - Export: `@carbonenginejs/runtime/trinity/core`
1630
- - Source: `src/trinity/core/Tr2TextureArray/Tr2TextureArrayElement.js`
1631
- - Visibility: Public
1632
- - Kind: Carbon
1633
-
1634
- <!-- class:Tr2LightManager -->
1635
- ## `Tr2LightManager`
1636
-
1637
- Collects the frame's local-light records, culls and premultiplies them, selects the volumetric and shadow-casting sets, packs the shadow-map atlas, and owns the packed light-buffer bytes the abstraction layer uploads.
1638
-
1639
- - Export: `@carbonenginejs/runtime/trinity/core`
1640
- - Source: `src/trinity/core/lighting/Tr2LightManager.js`
1641
- - Visibility: Public
1642
- - Kind: Carbon
1643
-
1644
- <!-- class:Tr2VertexDefinitionItem -->
1645
- ## `Tr2VertexDefinitionItem`
1646
-
1647
- One element of a vertex definition: its usage name and index, data type, byte offset, stream, and instance step rate.
1648
-
1649
- - Export: `@carbonenginejs/runtime/trinity/core`
1650
- - Source: `src/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinitionItem.js`
1651
- - Visibility: Public
1652
- - Kind: Carbon
1653
-
1654
- <!-- class:DefaultKeyGenerator -->
1655
- ## `DefaultKeyGenerator`
1656
-
1657
- Carbon's DefaultKeyGenerator batch sorting policy.
1658
-
1659
- - Export: `@carbonenginejs/runtime/trinity/core`
1660
- - Source: `src/trinity/core/batch/TriRenderBatch/DefaultKeyGenerator.js`
1661
- - Visibility: Public
1662
- - Kind: Carbon
1663
-
1664
- <!-- class:EffectKeyGenerator -->
1665
- ## `EffectKeyGenerator`
1666
-
1667
- Carbon's EffectKeyGenerator batch sorting policy.
1668
-
1669
- - Export: `@carbonenginejs/runtime/trinity/core`
1670
- - Source: `src/trinity/core/batch/TriRenderBatch/EffectKeyGenerator.js`
1671
- - Visibility: Public
1672
- - Kind: Carbon
1673
-
1674
- <!-- class:GradientTextureConstructor -->
1675
- ## `GradientTextureConstructor`
1676
-
1677
- Carbon's `dynamic:/gradient_1d` resource constructor, which decodes the curve keys a gradient path carries, rasterizes the four scalar curves across the requested width, and publishes the result as the texture's payload.
1678
-
1679
- - Export: @carbonenginejs/runtime/trinity/core
1680
- - Source: `src/trinity/core/procedural/GradientTextureConstructor.js`
1681
- - Visibility: Public
1682
- - Kind: Faithful Carbon port
1
+ # Trinity core, shader, and device classes
2
+
3
+ Status: Evolving
4
+ Scope: `@carbonenginejs/runtime/trinity/core`, `@carbonenginejs/runtime/trinity/shader`, `@carbonenginejs/runtime/trinity/ui`
5
+ Audience: Engine authors and integrators
6
+ Summary: Catalogs constant data, shader and material facades, and device-presentation records.
7
+
8
+ <!-- class:Tr2Denoiser -->
9
+ ## `Tr2Denoiser`
10
+
11
+ Runs Carbon's four-pass separable spatial denoiser over a noisy single-channel buffer, preserving edges by weighting neighbouring samples on depth, normal and plane agreement.
12
+
13
+ - Export: `@carbonenginejs/runtime/trinity/core`
14
+ - Source: `src/trinity/core/Tr2Denoiser.js`
15
+ - Visibility: Public
16
+ - Kind: CarbonEngineJS
17
+
18
+ <!-- class:RawData -->
19
+ ## `RawData`
20
+
21
+ A packed constant-data slice bound to a resolved layout.
22
+
23
+ - Export: `@carbonenginejs/runtime/trinity/core`
24
+ - Source: `src/trinity/core/rawData/RawData.js`
25
+ - Visibility: Public
26
+ - Kind: CarbonEngineJS
27
+
28
+ <!-- class:TriPoolAllocator -->
29
+ ## `TriPoolAllocator`
30
+
31
+ Registers constant-data struct shapes and leases packed payloads from a per-engine arena.
32
+
33
+ - Export: `@carbonenginejs/runtime/trinity/core`
34
+ - Source: `src/trinity/core/rawData/TriPoolAllocator.js`
35
+ - Visibility: Public
36
+ - Kind: CarbonEngineJS
37
+
38
+ <!-- class:Tr2VertexDefinition -->
39
+ ## `Tr2VertexDefinition`
40
+
41
+ Describes a mesh's vertex elements and per-stream offsets.
42
+
43
+ - Export: `@carbonenginejs/runtime/trinity/core`
44
+ - Source: `src/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js`
45
+ - Visibility: Public
46
+ - Kind: CarbonEngineJS
47
+
48
+ <!-- class:Tr2BindingVector3 -->
49
+ ## `Tr2BindingVector3`
50
+
51
+ Tr2BindingVector3 (trinityCore) - generated from schema shapeHash a8ef1406....
52
+
53
+ - Export: @carbonenginejs/runtime/trinity/core
54
+ - Source: src/trinity/core/binding/Tr2BindingVector3.js
55
+ - Visibility: Public
56
+ - Kind: CarbonEngineJS
57
+
58
+ <!-- class:ITriReroutable -->
59
+ ## `ITriReroutable`
60
+
61
+ A value whose storage can be pointed somewhere else, telling its bindings when it moves. Five pure methods; Carbon casts to it, and the five parameter classes that map it are the five that implement it.
62
+
63
+ - Export: `@carbonenginejs/runtime/trinity/core`
64
+ - Source: `src/trinity/core/ITriReroutable.js`
65
+ - Visibility: Public
66
+ - Kind: Carbon
67
+
68
+ <!-- class:ITr2Renderable -->
69
+ ## `ITr2Renderable`
70
+
71
+ Trinity-owned contract for objects collected through the renderable path.
72
+
73
+ Its Carbon visibility default is concrete; required batch, transparency,
74
+ sorting, and per-object-data methods throw until a provider implements them.
75
+
76
+ - Export: `@carbonenginejs/runtime/trinity/core`
77
+ - Source: `src/trinity/core/ITr2Renderable.js`
78
+ - Visibility: Public
79
+ - Kind: CarbonEngineJS
80
+
81
+ <!-- class:ITr2ImpostorSource -->
82
+ ## `ITr2ImpostorSource`
83
+
84
+ Contract for an object that can be captured into an impostor atlas.
85
+
86
+ - Export: `@carbonenginejs/runtime/trinity/core`
87
+ - Source: `src/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js`
88
+ - Visibility: Public
89
+ - Kind: CarbonEngineJS
90
+
91
+ <!-- class:ITr2ImpostorSourceImpostorHash -->
92
+ ## `ITr2ImpostorSourceImpostorHash`
93
+
94
+ Camera directions used to decide when an impostor must be recaptured.
95
+
96
+ - Export: `@carbonenginejs/runtime/trinity/core`
97
+ - Source: `src/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSourceImpostorHash.js`
98
+ - Visibility: Public
99
+ - Kind: CarbonEngineJS
100
+
101
+ <!-- class:ITr2InstanceData -->
102
+ ## `ITr2InstanceData`
103
+
104
+ Contract for a provider of instance-stream data and layout metadata.
105
+
106
+ - Export: `@carbonenginejs/runtime/trinity/core`
107
+ - Source: `src/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js`
108
+ - Visibility: Public
109
+ - Kind: CarbonEngineJS
110
+
111
+ <!-- class:ITr2InstanceDataInstanceData -->
112
+ ## `ITr2InstanceDataInstanceData`
113
+
114
+ One realized instance-buffer slice returned by an ITr2InstanceData provider.
115
+
116
+ - Export: `@carbonenginejs/runtime/trinity/core`
117
+ - Source: `src/trinity/core/mesh/ITr2InstanceData/ITr2InstanceDataInstanceData.js`
118
+ - Visibility: Public
119
+ - Kind: CarbonEngineJS
120
+
121
+ <!-- class:Tr2UpscalingTechniqueInfo -->
122
+ ## `Tr2UpscalingTechniqueInfo`
123
+
124
+ One device-reported upscaling technique and the quality settings and frame generation support available for it.
125
+
126
+ - Export: `@carbonenginejs/runtime/trinity/core`
127
+ - Source: `src/trinity/core/device/Tr2UpscalingTechniqueInfo.js`
128
+ - Visibility: Public
129
+ - Kind: CarbonEngineJS
130
+
131
+ <!-- class:Tr2Transform -->
132
+ ## `Tr2Transform`
133
+
134
+ Provides the common placeable-renderable transform behavior.
135
+
136
+ It advances curve sets, composes SRT state, preserves motion history, applies
137
+ Carbon's camera modifiers, delegates batches, and computes sort distance.
138
+
139
+ - Export: `@carbonenginejs/runtime/trinity/core`
140
+ - Source: `src/trinity/core/Tr2Transform.js`
141
+ - Visibility: Public
142
+ - Kind: CarbonEngineJS
143
+
144
+ <!-- class:Tr2ShadowMap -->
145
+ ## `Tr2ShadowMap`
146
+
147
+ Produces cascaded-shadow endpoints, bounds, frusta, and logical per-split data.
148
+
149
+ Physical rendering delegates to the installed shadow executor.
150
+
151
+ - Export: `@carbonenginejs/runtime/trinity/core`
152
+ - Source: `src/trinity/core/Tr2ShadowMap.js`
153
+ - Visibility: Public
154
+ - Kind: CarbonEngineJS
155
+
156
+ <!-- class:Tr2VolumetricsRenderer -->
157
+ ## `Tr2VolumetricsRenderer`
158
+
159
+ Blends froxel-fog state and writes Carbon's inline per-frame fog constants.
160
+
161
+ Physical fog, volumetric, environment-map, and shadow rendering delegate
162
+ through the nominal throwing `CjsVolumetricsExecutor` engine contract.
163
+
164
+ - Export: `@carbonenginejs/runtime/trinity/core`
165
+ - Source: `src/trinity/core/volumetrics/Tr2VolumetricsRenderer.js`
166
+ - Visibility: Public
167
+ - Kind: CarbonEngineJS
168
+
169
+ <!-- class:Tr2DynamicBinding -->
170
+ ## `Tr2DynamicBinding`
171
+
172
+ A value binding described by object paths: it resolves both endpoints against its owner's parameter map, builds a weak TriValueBinding and starts copying after a configured delay.
173
+
174
+ - Export: @carbonenginejs/runtime/trinity/core
175
+ - Source: src/trinity/core/binding/Tr2DynamicBinding.js
176
+ - Visibility: Public
177
+ - Kind: CarbonEngineJS
178
+
179
+ <!-- class:Tr2ExternalParameter -->
180
+ ## `Tr2ExternalParameter`
181
+
182
+ A named handle onto one attribute - optionally one vector component - of another object, exposing it for type-checked reads and writes.
183
+
184
+ - Export: @carbonenginejs/runtime/trinity/core
185
+ - Source: src/trinity/core/binding/Tr2ExternalParameter.js
186
+ - Visibility: Public
187
+ - Kind: CarbonEngineJS
188
+
189
+ <!-- class:Tr2PyValueBinding -->
190
+ ## `Tr2PyValueBinding`
191
+
192
+ Tr2PyValueBinding (trinityCore) - generated from schema shapeHash 435f9fdc....
193
+
194
+ - Export: @carbonenginejs/runtime/trinity/core
195
+ - Source: src/trinity/core/binding/Tr2PyValueBinding.js
196
+ - Visibility: Public
197
+ - Kind: CarbonEngineJS
198
+
199
+ <!-- class:TriValueBinding -->
200
+ ## `TriValueBinding`
201
+
202
+ Copies one attribute of a source object onto an attribute of a destination object, applying a scale and per-component offset through a type-checked copy plan built when the endpoints resolve.
203
+
204
+ - Export: @carbonenginejs/runtime/trinity/core
205
+ - Source: src/trinity/core/binding/TriValueBinding.js
206
+ - Visibility: Public
207
+ - Kind: CarbonEngineJS
208
+
209
+ <!-- class:CjsBatchManager -->
210
+ ## `CjsBatchManager`
211
+
212
+ Owns the per-library render-batch producer and collector registry and drives the per-frame flow of prepare, build, finalize into one accumulator per batch type.
213
+
214
+ - Export: @carbonenginejs/runtime/trinity/core
215
+ - Source: src/trinity/core/batch/CjsBatchManager.js
216
+ - Visibility: Public
217
+ - Kind: CarbonEngineJS
218
+
219
+ <!-- class:GrannyBoneOffset -->
220
+ ## `GrannyBoneOffset`
221
+
222
+ Per-bone rotation and translation offsets layered on top of an animated rig, keyed by bone name until bound into the rig's joint order.
223
+
224
+ - Export: @carbonenginejs/runtime/trinity/core
225
+ - Source: src/trinity/core/animation/GrannyBoneOffset.js
226
+ - Visibility: Public
227
+ - Kind: CarbonEngineJS
228
+
229
+ <!-- class:ITriRenderBatchAccumulator -->
230
+ ## `ITriRenderBatchAccumulator`
231
+
232
+ Abstract base for render-batch accumulators: holds the shared rendering mode, user data and per-object-data store, and declares the collect and sort contract concrete accumulators implement.
233
+
234
+ - Export: @carbonenginejs/runtime/trinity/core
235
+ - Source: src/trinity/core/batch/TriRenderBatch/ITriRenderBatchAccumulator.js
236
+ - Visibility: Public
237
+ - Kind: CarbonEngineJS
238
+
239
+ <!-- class:CjsPerFrameLayouts -->
240
+ ## `CjsPerFrameLayouts`
241
+
242
+ Resolved per-frame layouts, keyed by struct name.
243
+
244
+ - Export: @carbonenginejs/runtime/trinity/perframe
245
+ - Source: src/trinity/core/rawData/CjsPerFrameLayouts.js
246
+ - Visibility: Public
247
+ - Kind: CarbonEngineJS
248
+
249
+ <!-- class:CjsPerObjectLayouts -->
250
+ ## `CjsPerObjectLayouts`
251
+
252
+ Resolved per-object layouts, keyed by struct name.
253
+
254
+ - Export: @carbonenginejs/runtime/trinity/perobject
255
+ - Source: src/trinity/core/rawData/CjsPerObjectLayouts.js
256
+ - Visibility: Public
257
+ - Kind: CarbonEngineJS
258
+
259
+ <!-- class:Tr2BoundingLineSet -->
260
+ ## `Tr2BoundingLineSet`
261
+
262
+ A line set that draws an axis-aligned bounding box and its picking volume.
263
+
264
+ - Export: @carbonenginejs/runtime/trinity/core
265
+ - Source: src/trinity/core/line/Tr2BoundingLineSet.js
266
+ - Visibility: Public
267
+ - Kind: CarbonEngineJS
268
+
269
+ <!-- class:Tr2CurveLineSet -->
270
+ ## `Tr2CurveLineSet`
271
+
272
+ Owns editable curve-line records and their portable CPU runtime state.
273
+
274
+ That state includes Carbon's tessellated segment counts, local bounds,
275
+ transparent sorting, and the explicit physical line-stream draw obligation.
276
+
277
+ - Export: @carbonenginejs/runtime/trinity/core
278
+ - Source: src/trinity/core/line/Tr2CurveLineSet.js
279
+ - Visibility: Public
280
+ - Kind: CarbonEngineJS
281
+
282
+ <!-- class:Tr2DebugRenderer -->
283
+ ## `Tr2DebugRenderer`
284
+
285
+ Resolves which debug visualisations an object draws, from per-owner options over a default set.
286
+
287
+ - Export: @carbonenginejs/runtime/trinity/core
288
+ - Source: src/trinity/core/line/Tr2DebugRenderer.js
289
+ - Visibility: Public
290
+ - Kind: CarbonEngineJS
291
+
292
+ <!-- class:Tr2DepthStencil -->
293
+ ## `Tr2DepthStencil`
294
+
295
+ Tr2DepthStencil (trinityCore) - generated from schema shapeHash 9acb2c99....
296
+
297
+ - Export: @carbonenginejs/runtime/trinity/core
298
+ - Source: src/trinity/core/device/Tr2DepthStencil.js
299
+ - Visibility: Public
300
+ - Kind: CarbonEngineJS
301
+
302
+ <!-- class:Tr2DirectInstanceData -->
303
+ ## `Tr2DirectInstanceData`
304
+
305
+ Instance data whose buffer lives entirely on the GPU: Trinity keeps only the CPU-side layout metadata, stride, instance count and bounds.
306
+
307
+ - Export: @carbonenginejs/runtime/trinity/core
308
+ - Source: src/trinity/core/mesh/Tr2DirectInstanceData.js
309
+ - Visibility: Public
310
+ - Kind: CarbonEngineJS
311
+
312
+ <!-- class:Tr2ExpressionTermInfo -->
313
+ ## `Tr2ExpressionTermInfo`
314
+
315
+ Describes one term the expression language exposes - a variable, a function or a string function - with its category, argument names and help text.
316
+
317
+ - Export: @carbonenginejs/runtime/trinity/core
318
+ - Source: src/trinity/core/variable/Tr2ExpressionTermInfo.js
319
+ - Visibility: Public
320
+ - Kind: CarbonEngineJS
321
+
322
+ <!-- class:Tr2GpuBuffer -->
323
+ ## `Tr2GpuBuffer`
324
+
325
+ Tr2GpuBuffer (trinityCore) - generated from schema shapeHash 7a225a45....
326
+
327
+ - Export: @carbonenginejs/runtime/trinity/core
328
+ - Source: src/trinity/core/device/Tr2GpuBuffer.js
329
+ - Visibility: Public
330
+ - Kind: CarbonEngineJS
331
+
332
+ <!-- class:ITr2PoseModifier -->
333
+ ## `ITr2PoseModifier`
334
+
335
+ Carbon's canonical modify-the-sampled-pose hook: implemented by consumers that adjust a freshly sampled animation pose in place (turret aiming, character look-at fixups) and registered non-owning on the animation host.
336
+
337
+ - Export: @carbonenginejs/runtime/trinity/core
338
+ - Source: src/trinity/core/animation/ITr2PoseModifier.js
339
+ - Visibility: Public
340
+ - Kind: Carbon
341
+
342
+ <!-- class:Tr2GrannyAnimation -->
343
+ ## `Tr2GrannyAnimation`
344
+
345
+ Tr2GrannyAnimation (trinityCore) - promoted from generated; shapeHash 056bad2a.
346
+
347
+ - Export: @carbonenginejs/runtime/trinity/core
348
+ - Source: src/trinity/core/animation/Tr2GrannyAnimation.js
349
+ - Visibility: Public
350
+ - Kind: CarbonEngineJS
351
+
352
+ <!-- class:Tr2InstancedMesh -->
353
+ ## `Tr2InstancedMesh`
354
+
355
+ A mesh drawn once per entry of a separate instance-data stream, with static bounds or bounds expanded by the per-instance size.
356
+
357
+ - Export: @carbonenginejs/runtime/trinity/core
358
+ - Source: src/trinity/core/mesh/Tr2InstancedMesh.js
359
+ - Visibility: Public
360
+ - Kind: CarbonEngineJS
361
+
362
+ <!-- class:Tr2LineGraph -->
363
+ ## `Tr2LineGraph`
364
+
365
+ A rolling sample history with named markers and running statistics, drawn as a line graph.
366
+
367
+ - Export: @carbonenginejs/runtime/trinity/core
368
+ - Source: src/trinity/core/line/Tr2LineGraph.js
369
+ - Visibility: Public
370
+ - Kind: CarbonEngineJS
371
+
372
+ <!-- class:Tr2LineSet -->
373
+ ## `Tr2LineSet`
374
+
375
+ A set of coloured lines with an accompanying picking-triangle list, submitted as one buffer.
376
+
377
+ - Export: @carbonenginejs/runtime/trinity/core
378
+ - Source: src/trinity/core/line/Tr2LineSet.js
379
+ - Visibility: Public
380
+ - Kind: CarbonEngineJS
381
+
382
+ <!-- class:Tr2ManipulationTool -->
383
+ ## `Tr2ManipulationTool`
384
+
385
+ The interactive manipulator base: axis selection, drag handling and the callback a move reports through.
386
+
387
+ - Export: @carbonenginejs/runtime/trinity/core
388
+ - Source: src/trinity/core/tool/Tr2ManipulationTool.js
389
+ - Visibility: Public
390
+ - Kind: CarbonEngineJS
391
+
392
+ <!-- class:Tr2MaterialParameterStore -->
393
+ ## `Tr2MaterialParameterStore`
394
+
395
+ Tr2MaterialParameterStore (trinityCore) - generated from schema shapeHash 119f32c2....
396
+
397
+ - Export: @carbonenginejs/runtime/trinity/core
398
+ - Source: src/trinity/core/Tr2MaterialParameterStore.js
399
+ - Visibility: Public
400
+ - Kind: CarbonEngineJS
401
+
402
+ <!-- class:Tr2Mesh -->
403
+ ## `Tr2Mesh`
404
+
405
+ A mesh backed by a geometry resource, adding the resource path plus the morph-target weights and baked-morph state on top of Tr2MeshBase.
406
+
407
+ - Export: @carbonenginejs/runtime/trinity/core
408
+ - Source: src/trinity/core/mesh/Tr2Mesh.js
409
+ - Visibility: Public
410
+ - Kind: CarbonEngineJS
411
+
412
+ <!-- class:Tr2MeshArea -->
413
+ ## `Tr2MeshArea`
414
+
415
+ One drawable range of a mesh: the index and count of geometry groups plus the effect, shadow, depth and LOD state that decide how the range is batched.
416
+
417
+ - Export: @carbonenginejs/runtime/trinity/core
418
+ - Source: src/trinity/core/mesh/Tr2MeshArea.js
419
+ - Visibility: Public
420
+ - Kind: CarbonEngineJS
421
+
422
+ <!-- class:Tr2MeshBase -->
423
+ ## `Tr2MeshBase`
424
+
425
+ Base mesh: owns one mesh-area list per batch type and turns the displayed areas into GPU-free render batches and shadow area blocks.
426
+
427
+ - Export: @carbonenginejs/runtime/trinity/core
428
+ - Source: src/trinity/core/mesh/Tr2MeshBase.js
429
+ - Visibility: Public
430
+ - Kind: CarbonEngineJS
431
+
432
+ <!-- class:Tr2PerObjectData -->
433
+ ## `Tr2PerObjectData`
434
+
435
+ Base for per-object render data: the object id a batch is picked and identified by, the virtual that uploads a renderable's constants through the abstraction layer, and the shared mechanism its subclasses use.
436
+
437
+ - Export: @carbonenginejs/runtime/trinity/core
438
+ - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectData.js
439
+ - Visibility: Public
440
+ - Kind: CarbonEngineJS
441
+
442
+ <!-- class:Tr2PerObjectDataPSBuffer -->
443
+ ## `Tr2PerObjectDataPSBuffer`
444
+
445
+ Per-object data carrying a pixel payload. Shared storage for the classes that hold one, and it uploads nothing itself, as Carbon's does not.
446
+
447
+ - Export: @carbonenginejs/runtime/trinity/core
448
+ - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js
449
+ - Visibility: Public
450
+ - Kind: CarbonEngineJS
451
+
452
+ <!-- class:Tr2PerObjectDataStandard -->
453
+ ## `Tr2PerObjectDataStandard`
454
+
455
+ Per-object data for an ordinary renderable: a vertex payload and a pixel payload, each leased in a named layout and bound at its per-object register.
456
+
457
+ - Export: @carbonenginejs/runtime/trinity/core
458
+ - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js
459
+ - Visibility: Public
460
+ - Kind: CarbonEngineJS
461
+
462
+ <!-- class:EveBasicPerObjectData -->
463
+ ## `EveBasicPerObjectData`
464
+
465
+ The world, previous-world and inverse-world matrices every plain Eve transform uploads.
466
+
467
+ - Export: @carbonenginejs/runtime/trinity/core
468
+ - Source: src/trinity/core/rawData/perObjectData/EveBasicPerObjectData.js
469
+ - Visibility: Public
470
+ - Kind: CarbonEngineJS
471
+
472
+ <!-- class:EveBoosterSetPerObjectData -->
473
+ ## `EveBoosterSetPerObjectData`
474
+
475
+ A booster set's vertex and pixel payloads.
476
+
477
+ - Export: @carbonenginejs/runtime/trinity/core
478
+ - Source: src/trinity/core/rawData/perObjectData/EveBoosterSetPerObjectData.js
479
+ - Visibility: Public
480
+ - Kind: CarbonEngineJS
481
+
482
+ <!-- class:EveChildBoosterSetPerObjectData -->
483
+ ## `EveChildBoosterSetPerObjectData`
484
+
485
+ The child booster set's vertex and pixel payloads.
486
+
487
+ - Export: @carbonenginejs/runtime/trinity/core
488
+ - Source: src/trinity/core/rawData/perObjectData/EveChildBoosterSetPerObjectData.js
489
+ - Visibility: Public
490
+ - Kind: CarbonEngineJS
491
+
492
+ <!-- class:EveChildBulletStormPerObjectData -->
493
+ ## `EveChildBulletStormPerObjectData`
494
+
495
+ A bullet storm's transform, effect info and world-space target positions.
496
+
497
+ - Export: @carbonenginejs/runtime/trinity/core
498
+ - Source: src/trinity/core/rawData/perObjectData/EveChildBulletStormPerObjectData.js
499
+ - Visibility: Public
500
+ - Kind: CarbonEngineJS
501
+
502
+ <!-- class:EveChildSpherePinPerObjectData -->
503
+ ## `EveChildSpherePinPerObjectData`
504
+
505
+ The child sphere pin's payload, bound to both per-object registers.
506
+
507
+ - Export: @carbonenginejs/runtime/trinity/core
508
+ - Source: src/trinity/core/rawData/perObjectData/EveChildSpherePinPerObjectData.js
509
+ - Visibility: Public
510
+ - Kind: CarbonEngineJS
511
+
512
+ <!-- class:EveDecalPerObjectData -->
513
+ ## `EveDecalPerObjectData`
514
+
515
+ A decal's vertex and pixel payloads.
516
+
517
+ - Export: @carbonenginejs/runtime/trinity/core
518
+ - Source: src/trinity/core/rawData/perObjectData/EveDecalPerObjectData.js
519
+ - Visibility: Public
520
+ - Kind: CarbonEngineJS
521
+
522
+ <!-- class:EveLensflarePerObjectData -->
523
+ ## `EveLensflarePerObjectData`
524
+
525
+ A lensflare's payload, bound to both per-object registers.
526
+
527
+ - Export: @carbonenginejs/runtime/trinity/core
528
+ - Source: src/trinity/core/rawData/perObjectData/EveLensflarePerObjectData.js
529
+ - Visibility: Public
530
+ - Kind: CarbonEngineJS
531
+
532
+ <!-- class:EveMissileWarheadPerObjectData -->
533
+ ## `EveMissileWarheadPerObjectData`
534
+
535
+ A missile warhead's transform payload.
536
+
537
+ - Export: @carbonenginejs/runtime/trinity/core
538
+ - Source: src/trinity/core/rawData/perObjectData/EveMissileWarheadPerObjectData.js
539
+ - Visibility: Public
540
+ - Kind: CarbonEngineJS
541
+
542
+ <!-- class:EveSceneStaticParticlesPerObjectData -->
543
+ ## `EveSceneStaticParticlesPerObjectData`
544
+
545
+ The static-particle field's per-draw payload.
546
+
547
+ - Export: @carbonenginejs/runtime/trinity/core
548
+ - Source: src/trinity/core/rawData/perObjectData/EveSceneStaticParticlesPerObjectData.js
549
+ - Visibility: Public
550
+ - Kind: CarbonEngineJS
551
+
552
+ <!-- class:EveSpherePinPerObjectData -->
553
+ ## `EveSpherePinPerObjectData`
554
+
555
+ A sphere pin's transform, position, rotation and colour, bound to both registers.
556
+
557
+ - Export: @carbonenginejs/runtime/trinity/core
558
+ - Source: src/trinity/core/rawData/perObjectData/EveSpherePinPerObjectData.js
559
+ - Visibility: Public
560
+ - Kind: CarbonEngineJS
561
+
562
+ <!-- class:EveTurretSetPerObjectData -->
563
+ ## `EveTurretSetPerObjectData`
564
+
565
+ A turret set's vertex and pixel payloads.
566
+
567
+ - Export: @carbonenginejs/runtime/trinity/core
568
+ - Source: src/trinity/core/rawData/perObjectData/EveTurretSetPerObjectData.js
569
+ - Visibility: Public
570
+ - Kind: CarbonEngineJS
571
+
572
+ <!-- class:StretchPerObjectData -->
573
+ ## `StretchPerObjectData`
574
+
575
+ A stretch's endpoint and effect payload, bound to both registers.
576
+
577
+ - Export: @carbonenginejs/runtime/trinity/core
578
+ - Source: src/trinity/core/rawData/perObjectData/StretchPerObjectData.js
579
+ - Visibility: Public
580
+ - Kind: CarbonEngineJS
581
+ <!-- class:CjsConstantLayout -->
582
+ ## `CjsConstantLayout`
583
+
584
+ The declaration vocabulary and resolver shared by the per-object and per-frame constant-data catalogs: declared member types, stage sets, neutral defaults, and the layout builder.
585
+
586
+ - Source: src/trinity/core/rawData/CjsConstantLayout.js
587
+ - Visibility: Internal
588
+ - Kind: CarbonEngineJS
589
+ <!-- class:CjsEveBasicLayout -->
590
+ ## `CjsEveBasicLayout`
591
+
592
+ Per-object constant-buffer layout for `EveBasicPerObjectData`.
593
+
594
+ - Source: src/trinity/core/rawData/layouts/CjsEveBasicLayout.js
595
+ - Visibility: Internal
596
+ - Kind: CarbonEngineJS
597
+
598
+ <!-- class:CjsEveBoosterSetLayout -->
599
+ ## `CjsEveBoosterSetLayout`
600
+
601
+ Per-object constant-buffer layouts for `EveBoosterSetVSData` and `EveBoosterSetPSData`.
602
+
603
+ - Source: src/trinity/core/rawData/layouts/CjsEveBoosterSetLayout.js
604
+ - Visibility: Internal
605
+ - Kind: CarbonEngineJS
606
+
607
+ <!-- class:CjsEveChildBoosterSetLayout -->
608
+ ## `CjsEveChildBoosterSetLayout`
609
+
610
+ Per-object constant-buffer layouts for `EveChildBoosterSetVSData` and `EveChildBoosterSetPSData`.
611
+
612
+ - Source: src/trinity/core/rawData/layouts/CjsEveChildBoosterSetLayout.js
613
+ - Visibility: Internal
614
+ - Kind: CarbonEngineJS
615
+
616
+ <!-- class:CjsEveChildBulletStormLayout -->
617
+ ## `CjsEveChildBulletStormLayout`
618
+
619
+ Per-object constant-buffer layout for `EveChildBulletStormPerObjectData`.
620
+
621
+ - Source: src/trinity/core/rawData/layouts/CjsEveChildBulletStormLayout.js
622
+ - Visibility: Internal
623
+ - Kind: CarbonEngineJS
624
+
625
+ <!-- class:CjsEveChildSpherePinLayout -->
626
+ ## `CjsEveChildSpherePinLayout`
627
+
628
+ Per-object constant-buffer layout for `EveChildSpherePinPerObjectData`.
629
+
630
+ - Source: src/trinity/core/rawData/layouts/CjsEveChildSpherePinLayout.js
631
+ - Visibility: Internal
632
+ - Kind: CarbonEngineJS
633
+
634
+ <!-- class:CjsEveLensflareLayout -->
635
+ ## `CjsEveLensflareLayout`
636
+
637
+ Per-object constant-buffer layout for `EveLensflarePerObjectData`.
638
+
639
+ - Source: src/trinity/core/rawData/layouts/CjsEveLensflareLayout.js
640
+ - Visibility: Internal
641
+ - Kind: CarbonEngineJS
642
+
643
+ <!-- class:CjsEveMissileWarheadLayout -->
644
+ ## `CjsEveMissileWarheadLayout`
645
+
646
+ Per-object constant-buffer layout for `EveMissileWarheadPerObjectData`.
647
+
648
+ - Source: src/trinity/core/rawData/layouts/CjsEveMissileWarheadLayout.js
649
+ - Visibility: Internal
650
+ - Kind: CarbonEngineJS
651
+
652
+ <!-- class:CjsEvePerObjectLayout -->
653
+ ## `CjsEvePerObjectLayout`
654
+
655
+ Per-object constant-buffer layouts for `EvePerObjectVSData` and `EvePerObjectPSData`.
656
+
657
+ - Source: src/trinity/core/rawData/layouts/CjsEvePerObjectLayout.js
658
+ - Visibility: Internal
659
+ - Kind: CarbonEngineJS
660
+
661
+ <!-- class:CjsEveSceneStaticParticlesLayout -->
662
+ ## `CjsEveSceneStaticParticlesLayout`
663
+
664
+ Per-object constant-buffer layout for `EveSceneStaticParticlesPerObjectData`.
665
+
666
+ - Source: src/trinity/core/rawData/layouts/CjsEveSceneStaticParticlesLayout.js
667
+ - Visibility: Internal
668
+ - Kind: CarbonEngineJS
669
+
670
+ <!-- class:CjsEveSpaceObjectDecalLayout -->
671
+ ## `CjsEveSpaceObjectDecalLayout`
672
+
673
+ Per-object constant-buffer layouts for `DecalVSPerObjectData` and `DecalPSPerObjectData`.
674
+
675
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpaceObjectDecalLayout.js
676
+ - Visibility: Internal
677
+ - Kind: CarbonEngineJS
678
+
679
+ <!-- class:CjsEveSpaceObjectLayout -->
680
+ ## `CjsEveSpaceObjectLayout`
681
+
682
+ Per-object constant-buffer layouts for `EveSpaceObjectVSData` and `EveSpaceObjectPSData`.
683
+
684
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpaceObjectLayout.js
685
+ - Visibility: Internal
686
+ - Kind: CarbonEngineJS
687
+
688
+ <!-- class:CjsEveSpacePerObjectLayout -->
689
+ ## `CjsEveSpacePerObjectLayout`
690
+
691
+ Per-object constant-buffer layout for `EveSpacePerObjectData`.
692
+
693
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpacePerObjectLayout.js
694
+ - Visibility: Internal
695
+ - Kind: CarbonEngineJS
696
+
697
+ <!-- class:CjsEveSpherePinLayout -->
698
+ ## `CjsEveSpherePinLayout`
699
+
700
+ Per-object constant-buffer layout for `EveSpherePinPerObjectData`.
701
+
702
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpherePinLayout.js
703
+ - Visibility: Internal
704
+ - Kind: CarbonEngineJS
705
+
706
+ <!-- class:CjsEveStretch2Layout -->
707
+ ## `CjsEveStretch2Layout`
708
+
709
+ Per-object constant-buffer layout for `EveStretch2PerObjectData`.
710
+
711
+ - Source: src/trinity/core/rawData/layouts/CjsEveStretch2Layout.js
712
+ - Visibility: Internal
713
+ - Kind: CarbonEngineJS
714
+
715
+ <!-- class:CjsEveTurretSetLayout -->
716
+ ## `CjsEveTurretSetLayout`
717
+
718
+ Per-object constant-buffer layouts for `EveTurretSetVSData` and `EveTurretSetPSData`.
719
+
720
+ - Source: src/trinity/core/rawData/layouts/CjsEveTurretSetLayout.js
721
+ - Visibility: Internal
722
+ - Kind: CarbonEngineJS
723
+
724
+ <!-- class:CjsTr2PerObjectLayout -->
725
+ ## `CjsTr2PerObjectLayout`
726
+
727
+ Per-object constant-buffer layout for `Tr2PerObjectVSData`.
728
+
729
+ - Source: src/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js
730
+ - Visibility: Internal
731
+ - Kind: CarbonEngineJS
732
+ <!-- class:Tr2PrimaryRenderContext -->
733
+ ## `Tr2PrimaryRenderContext`
734
+
735
+ Tr2PrimaryRenderContext (trinityCore) - generated from schema shapeHash 92b87061....
736
+
737
+ - Export: @carbonenginejs/runtime/trinity/core
738
+ - Source: src/trinity/core/context/Tr2PrimaryRenderContext.js
739
+ - Visibility: Public
740
+ - Kind: CarbonEngineJS
741
+
742
+ <!-- class:Tr2PrimitiveSet -->
743
+ ## `Tr2PrimitiveSet`
744
+
745
+ A drawable set of primitives with a world transform, sort value and bounding sphere.
746
+
747
+ - Export: @carbonenginejs/runtime/trinity/core
748
+ - Source: src/trinity/core/line/Tr2PrimitiveSet.js
749
+ - Visibility: Public
750
+ - Kind: CarbonEngineJS
751
+
752
+ <!-- class:Tr2QuadRenderer -->
753
+ ## `Tr2QuadRenderer`
754
+
755
+ Collects quads from every registered effect into one merged instance buffer and emits them as batches.
756
+
757
+ `AddQuads` copies terminal instance bytes without interpreting them. Producers
758
+ that own mixed-width records, such as Eve's 108-byte quad layouts, pack their
759
+ float32 rows and float16 tails before submission. Numeric arrays remain a
760
+ float32-compatible convenience for uniformly typed records.
761
+
762
+ - Export: @carbonenginejs/runtime/trinity/core
763
+ - Source: src/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js
764
+ - Visibility: Public
765
+ - Kind: CarbonEngineJS
766
+
767
+ <!-- class:Tr2QuadRendererEffectRecord -->
768
+ ## `Tr2QuadRendererEffectRecord`
769
+
770
+ One registered quad effect (Carbon Tr2QuadRenderer::EffectRecord).
771
+
772
+ - Export: @carbonenginejs/runtime/trinity/core
773
+ - Source: src/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js
774
+ - Visibility: Public
775
+ - Kind: CarbonEngineJS
776
+
777
+ <!-- class:Tr2RenderBatch -->
778
+ ## `Tr2RenderBatch`
779
+
780
+ One draw's worth of CPU descriptor state - material and shader key, geometry binding, draw arguments and sort keys - holding no device resources.
781
+
782
+ - Export: @carbonenginejs/runtime/trinity/core
783
+ - Source: src/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js
784
+ - Visibility: Public
785
+ - Kind: CarbonEngineJS
786
+
787
+ <!-- class:TriRenderBatchAreaBlock -->
788
+ ## `TriRenderBatchAreaBlock`
789
+
790
+ A contiguous (startIndex, count) run of mesh groups, as consumed by the shadow and overlay area-block paths.
791
+
792
+ - Export: @carbonenginejs/runtime/trinity/core
793
+ - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlock.js
794
+ - Visibility: Public
795
+ - Kind: CarbonEngineJS
796
+
797
+ <!-- class:TriRenderBatchAreaBlocksWithSharedMaterial -->
798
+ ## `TriRenderBatchAreaBlocksWithSharedMaterial`
799
+
800
+ Groups the area blocks that draw with one shared shader material on the shadow and overlay path.
801
+
802
+ - Export: @carbonenginejs/runtime/trinity/core
803
+ - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlocksWithSharedMaterial.js
804
+ - Visibility: Public
805
+ - Kind: CarbonEngineJS
806
+
807
+ <!-- class:Tr2RenderContext -->
808
+ ## `Tr2RenderContext`
809
+
810
+ Tr2RenderContext (trinityCore) - generated from schema shapeHash 73e2a4e7....
811
+
812
+ - Export: @carbonenginejs/runtime/trinity/core
813
+ - Source: src/trinity/core/context/Tr2RenderContext.js
814
+ - Visibility: Public
815
+ - Kind: CarbonEngineJS
816
+
817
+ <!-- class:Tr2RenderTarget -->
818
+ ## `Tr2RenderTarget`
819
+
820
+ Tr2RenderTarget (trinityCore) - generated from schema shapeHash dc39c914....
821
+
822
+ - Export: @carbonenginejs/runtime/trinity/core
823
+ - Source: src/trinity/core/device/Tr2RenderTarget.js
824
+ - Visibility: Public
825
+ - Kind: CarbonEngineJS
826
+
827
+ <!-- class:Tr2RuntimeGpuBuffer -->
828
+ ## `Tr2RuntimeGpuBuffer`
829
+
830
+ Tr2RuntimeGpuBuffer (trinityCore) - generated from schema shapeHash 0cb23744....
831
+
832
+ - Export: @carbonenginejs/runtime/trinity/core
833
+ - Source: src/trinity/core/device/Tr2RuntimeGpuBuffer.js
834
+ - Visibility: Public
835
+ - Kind: CarbonEngineJS
836
+
837
+ <!-- class:Tr2RotationTool -->
838
+ ## `Tr2RotationTool`
839
+
840
+ Extends the manipulation tool with quaternion rotation state and angular precision.
841
+
842
+ - Export: `@carbonenginejs/runtime/trinity/core`
843
+ - Source: `src/trinity/core/tool/Tr2RotationTool.js`
844
+ - Visibility: Public
845
+ - Kind: CarbonEngineJS
846
+
847
+ <!-- class:Tr2RuntimeInstanceData -->
848
+ ## `Tr2RuntimeInstanceData`
849
+
850
+ Owns a CPU-side instance stream - a vertex element layout, the packed per-instance rows and their bounding box - and can spawn the same rows into a particle system on demand.
851
+
852
+ - Export: @carbonenginejs/runtime/trinity/core
853
+ - Source: src/trinity/core/mesh/Tr2RuntimeInstanceData.js
854
+ - Visibility: Public
855
+ - Kind: CarbonEngineJS
856
+
857
+ <!-- class:Tr2ScalingTool -->
858
+ ## `Tr2ScalingTool`
859
+
860
+ An interactive scaling manipulator that turns pointer drags along a selected axis into a scale.
861
+
862
+ - Export: @carbonenginejs/runtime/trinity/core
863
+ - Source: src/trinity/core/tool/Tr2ScalingTool.js
864
+ - Visibility: Public
865
+ - Kind: CarbonEngineJS
866
+
867
+ <!-- class:Tr2SerializedMorphAnimation -->
868
+ ## `Tr2SerializedMorphAnimation`
869
+
870
+ Tr2SerializedMorphAnimation (trinityCore) - generated from schema shapeHash 58cefc7b....
871
+
872
+ - Export: @carbonenginejs/runtime/trinity/core
873
+ - Source: src/trinity/core/mesh/Tr2SerializedMorphAnimation.js
874
+ - Visibility: Public
875
+ - Kind: CarbonEngineJS
876
+
877
+ <!-- class:Tr2ShLightingManager -->
878
+ ## `Tr2ShLightingManager`
879
+
880
+ Computes the spherical-harmonic coefficients that approximate secondary lighting - a primary light reflected off nearby spheres - for any receiver position in the scene.
881
+
882
+ - Export: @carbonenginejs/runtime/trinity/core
883
+ - Source: src/trinity/core/lighting/Tr2ShLightingManager.js
884
+ - Visibility: Public
885
+ - Kind: CarbonEngineJS
886
+
887
+ <!-- class:Tr2SolidSet -->
888
+ ## `Tr2SolidSet`
889
+
890
+ A set of coloured triangles with a running centre of mass, submitted as one buffer.
891
+
892
+ - Export: @carbonenginejs/runtime/trinity/core
893
+ - Source: src/trinity/core/line/Tr2SolidSet.js
894
+ - Visibility: Public
895
+ - Kind: CarbonEngineJS
896
+
897
+ <!-- class:Tr2SwapChain -->
898
+ ## `Tr2SwapChain`
899
+
900
+ Tr2SwapChain (trinityCore) - generated from schema shapeHash 955529ab....
901
+
902
+ - Export: @carbonenginejs/runtime/trinity/core
903
+ - Source: src/trinity/core/device/Tr2SwapChain.js
904
+ - Visibility: Public
905
+ - Kind: CarbonEngineJS
906
+
907
+ <!-- class:Tr2TextureAnimation -->
908
+ ## `Tr2TextureAnimation`
909
+
910
+ Advances a multi-channel texture flipbook, tracking frame and restart state per channel.
911
+
912
+ - Export: @carbonenginejs/runtime/trinity/core
913
+ - Source: src/trinity/core/animation/Tr2TextureAnimation.js
914
+ - Visibility: Public
915
+ - Kind: CarbonEngineJS
916
+
917
+ <!-- class:Tr2VariableStore -->
918
+ ## `Tr2VariableStore`
919
+
920
+ Named-variable collection used by the shader system for binding.
921
+
922
+ - Export: @carbonenginejs/runtime/trinity/core
923
+ - Source: src/trinity/core/variable/Tr2VariableStore.js
924
+ - Visibility: Public
925
+ - Kind: CarbonEngineJS
926
+
927
+ <!-- class:Tr2VisibilityEvent -->
928
+ ## `Tr2VisibilityEvent`
929
+
930
+ Carbon's Tr2VisibilityEvent struct - the shared shape producers push into Tr2VisibilityResults and the interior/portal visibility consumers read.
931
+
932
+ - Export: @carbonenginejs/runtime/trinity/core
933
+ - Source: src/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityEvent.js
934
+ - Visibility: Public
935
+ - Kind: CarbonEngineJS
936
+
937
+ <!-- class:Tr2VisibilityResults -->
938
+ ## `Tr2VisibilityResults`
939
+
940
+ Collects the visibility events a visibility executor emits, for the interior and portal consumers to read back.
941
+
942
+ - Export: @carbonenginejs/runtime/trinity/core
943
+ - Source: src/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityResults.js
944
+ - Visibility: Public
945
+ - Kind: CarbonEngineJS
946
+
947
+ <!-- class:TriDevice -->
948
+ ## `TriDevice`
949
+
950
+ TriDevice (trinityCore) - generated from schema shapeHash 1db3a492....
951
+
952
+ - Export: @carbonenginejs/runtime/trinity/core
953
+ - Source: src/trinity/core/device/TriDevice.js
954
+ - Visibility: Public
955
+ - Kind: CarbonEngineJS
956
+
957
+ <!-- class:TriFloat -->
958
+ ## `TriFloat`
959
+
960
+ TriFloat (trinityCore) - generated from schema shapeHash b5384f79....
961
+
962
+ - Export: @carbonenginejs/runtime/trinity/core
963
+ - Source: src/trinity/core/variable/TriFloat.js
964
+ - Visibility: Public
965
+ - Kind: CarbonEngineJS
966
+
967
+ <!-- class:TriFrustum -->
968
+ ## `TriFrustum`
969
+
970
+ Carbon TriFrustum (TriFrustum.h:16-77): world-space frustum planes extracted from a composed view*projection matrix, plus the cached projection data used for on-screen pixel-coverage estimates.
971
+
972
+ - Export: @carbonenginejs/runtime/trinity/core
973
+ - Source: src/trinity/core/view/TriFrustum.js
974
+ - Visibility: Public
975
+ - Kind: CarbonEngineJS
976
+
977
+ <!-- class:TriFrustumOrtho -->
978
+ ## `TriFrustumOrtho`
979
+
980
+ Carbon TriFrustumOrtho (TriFrustumOrtho.h:9-27): orthographic shadow frustum as view matrix + view-space bounds.
981
+
982
+ - Export: @carbonenginejs/runtime/trinity/core
983
+ - Source: src/trinity/core/view/TriFrustumOrtho.js
984
+ - Visibility: Public
985
+ - Kind: CarbonEngineJS
986
+
987
+ <!-- class:TriLineSet -->
988
+ ## `TriLineSet`
989
+
990
+ A debug line set that builds boxes, spheres, cylinders and cones out of coloured line segments.
991
+
992
+ - Export: @carbonenginejs/runtime/trinity/core
993
+ - Source: src/trinity/core/line/TriLineSet.js
994
+ - Visibility: Public
995
+ - Kind: CarbonEngineJS
996
+
997
+ <!-- class:TriObserverLocal -->
998
+ ## `TriObserverLocal`
999
+
1000
+ Holds an audio or placement observer at a fixed local position and facing inside an object, and republishes it in world space as the object moves.
1001
+
1002
+ - Export: @carbonenginejs/runtime/trinity/core
1003
+ - Source: src/trinity/core/variable/TriObserverLocal.js
1004
+ - Visibility: Public
1005
+ - Kind: CarbonEngineJS
1006
+
1007
+ <!-- class:TriProjection -->
1008
+ ## `TriProjection`
1009
+
1010
+ The camera projection: the selected projection mode with its parameters, plus the 4x4 matrix built from them.
1011
+
1012
+ - Export: @carbonenginejs/runtime/trinity/core
1013
+ - Source: src/trinity/core/view/TriProjection.js
1014
+ - Visibility: Public
1015
+ - Kind: CarbonEngineJS
1016
+
1017
+ <!-- class:TriRect -->
1018
+ ## `TriRect`
1019
+
1020
+ An integer screen rectangle given by its left, top, right and bottom edges.
1021
+
1022
+ - Export: @carbonenginejs/runtime/trinity/core
1023
+ - Source: src/trinity/core/view/TriRect.js
1024
+ - Visibility: Public
1025
+ - Kind: CarbonEngineJS
1026
+
1027
+ <!-- class:TriRenderBatchAccumulator -->
1028
+ ## `TriRenderBatchAccumulator`
1029
+
1030
+ Concrete GPU-free batch accumulator: collects committed batches into a GDPR-eligible and a plain vector, then sorts and group-counts them on Finalize.
1031
+
1032
+ - Export: @carbonenginejs/runtime/trinity/core
1033
+ - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAccumulator.js
1034
+ - Visibility: Public
1035
+ - Kind: CarbonEngineJS
1036
+
1037
+ <!-- class:TriRenderBatchMap -->
1038
+ ## `TriRenderBatchMap`
1039
+
1040
+ One render-batch accumulator per TriBatchType, with the scene-level collect, finalize and clear flow over them.
1041
+
1042
+ - Export: @carbonenginejs/runtime/trinity/core
1043
+ - Source: src/trinity/core/batch/TriRenderBatchMap.js
1044
+ - Visibility: Public
1045
+ - Kind: CarbonEngineJS
1046
+
1047
+ <!-- class:TriRigidOrientation -->
1048
+ ## `TriRigidOrientation`
1049
+
1050
+ Integrates torque into an orientation over time, sampling the result at a given moment.
1051
+
1052
+ - Export: @carbonenginejs/runtime/trinity/core
1053
+ - Source: src/trinity/core/animation/TriRigidOrientation.js
1054
+ - Visibility: Public
1055
+ - Kind: CarbonEngineJS
1056
+
1057
+ <!-- class:TriSettings -->
1058
+ ## `TriSettings`
1059
+
1060
+ A registry of named boolean, number and string settings with type-checked reads and writes and a Python-style repr.
1061
+
1062
+ - Export: @carbonenginejs/runtime/trinity/core
1063
+ - Source: src/trinity/core/TriSettings.js
1064
+ - Visibility: Public
1065
+ - Kind: CarbonEngineJS
1066
+
1067
+ <!-- class:TriTorque -->
1068
+ ## `TriTorque`
1069
+
1070
+ TriTorque (trinityCore) - generated from schema shapeHash 10c5e0d6....
1071
+
1072
+ - Export: @carbonenginejs/runtime/trinity/core
1073
+ - Source: src/trinity/core/animation/TriTorque.js
1074
+ - Visibility: Public
1075
+ - Kind: CarbonEngineJS
1076
+
1077
+ <!-- class:TriVariable -->
1078
+ ## `TriVariable`
1079
+
1080
+ One named shader-binding variable: the content type fixed when it was registered, plus the value payload standing in for Carbon's typed union.
1081
+
1082
+ - Export: @carbonenginejs/runtime/trinity/core
1083
+ - Source: src/trinity/core/variable/TriVariable.js
1084
+ - Visibility: Public
1085
+ - Kind: CarbonEngineJS
1086
+
1087
+ <!-- class:TriView -->
1088
+ ## `TriView`
1089
+
1090
+ The camera view matrix, together with the look-at helper that builds it.
1091
+
1092
+ - Export: @carbonenginejs/runtime/trinity/core
1093
+ - Source: src/trinity/core/view/TriView.js
1094
+ - Visibility: Public
1095
+ - Kind: CarbonEngineJS
1096
+
1097
+ <!-- class:TriViewport -->
1098
+ ## `TriViewport`
1099
+
1100
+ A screen viewport rectangle in pixels together with its minimum and maximum depth.
1101
+
1102
+ - Export: @carbonenginejs/runtime/trinity/core
1103
+ - Source: src/trinity/core/view/TriViewport.js
1104
+ - Visibility: Public
1105
+ - Kind: CarbonEngineJS
1106
+
1107
+ <!-- class:Tr2KelvinColor -->
1108
+ ## `Tr2KelvinColor`
1109
+
1110
+ A light colour authored as a temperature in kelvin, a tint, and a white-balance illuminant.
1111
+
1112
+ - Export: @carbonenginejs/runtime/trinity/core
1113
+ - Source: src/trinity/core/lighting/Tr2KelvinColor.js
1114
+ - Visibility: Public
1115
+ - Kind: CarbonEngineJS
1116
+
1117
+ <!-- class:Tr2TranslationTool -->
1118
+ ## `Tr2TranslationTool`
1119
+
1120
+ Extends the manipulation tool with the current three-axis translation result.
1121
+
1122
+ - Export: `@carbonenginejs/runtime/trinity/core`
1123
+ - Source: `src/trinity/core/tool/Tr2TranslationTool.js`
1124
+ - Visibility: Public
1125
+ - Kind: CarbonEngineJS
1126
+
1127
+ <!-- class:CjsTrinityBatchDispatcher -->
1128
+ ## `CjsTrinityBatchDispatcher`
1129
+
1130
+ Minimum renderer contract for a finalized Trinity batch map.
1131
+
1132
+ - Export: `@carbonenginejs/runtime/trinity/core`
1133
+ - Source: `src/trinity/core/batch/CjsTrinityBatchDispatcher.js`
1134
+ - Visibility: Public
1135
+ - Kind: CarbonEngineJS
1136
+
1137
+ <!-- class:CjsTrinityBatchResolver -->
1138
+ ## `CjsTrinityBatchResolver`
1139
+
1140
+ Nominal composition boundary that resolves Trinity CPU batch references for a concrete renderer.
1141
+
1142
+ - Export: `@carbonenginejs/runtime/trinity/core`
1143
+ - Source: `src/trinity/core/batch/CjsTrinityBatchResolver.js`
1144
+ - Visibility: Public
1145
+ - Kind: CarbonEngineJS
1146
+
1147
+ <!-- class:CjsDirectTrinityStepExecutor -->
1148
+ ## `CjsDirectTrinityStepExecutor`
1149
+
1150
+ Direct GPU-free executor used whenever no engine recorder is installed.
1151
+
1152
+ - Export: `@carbonenginejs/runtime/trinity/core`
1153
+ - Source: `src/trinity/core/context/CjsDirectTrinityStepExecutor.js`
1154
+ - Visibility: Public
1155
+ - Kind: CarbonEngineJS
1156
+
1157
+ <!-- class:CjsTrinityStepExecutor -->
1158
+ ## `CjsTrinityStepExecutor`
1159
+
1160
+ Nominal renderer contract driven by Trinity render contexts and jobs.
1161
+
1162
+ - Export: `@carbonenginejs/runtime/trinity/core`
1163
+ - Source: `src/trinity/core/context/CjsTrinityStepExecutor.js`
1164
+ - Visibility: Public
1165
+ - Kind: CarbonEngineJS
1166
+
1167
+ <!-- class:Tr2EffectLibraryParameters -->
1168
+ ## `Tr2EffectLibraryParameters`
1169
+
1170
+ Collects one effect library's local and global stage inputs, rerouted parameters, and resource-set state.
1171
+
1172
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1173
+ - Source: `src/trinity/shader/material/Tr2EffectLibraryParameters.js`
1174
+ - Visibility: Public
1175
+ - Kind: Carbon
1176
+
1177
+ <!-- class:Tr2EffectParam -->
1178
+ ## `Tr2EffectParam`
1179
+
1180
+ Maps a named effect value onto a contiguous shader-register span.
1181
+
1182
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1183
+ - Source: `src/trinity/shader/material/Tr2EffectParam.js`
1184
+ - Visibility: Public
1185
+ - Kind: Carbon
1186
+
1187
+ <!-- class:Tr2EffectPassParameters -->
1188
+ ## `Tr2EffectPassParameters`
1189
+
1190
+ Collects one effect pass's per-stage inputs, rerouted parameters, used resources, and resource-set state.
1191
+
1192
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1193
+ - Source: `src/trinity/shader/material/Tr2EffectPassParameters.js`
1194
+ - Visibility: Public
1195
+ - Kind: Carbon
1196
+
1197
+ <!-- class:Tr2EffectTechniqueInputs -->
1198
+ ## `Tr2EffectTechniqueInputs`
1199
+
1200
+ Groups the pass and library parameter records prepared for one effect technique.
1201
+
1202
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1203
+ - Source: `src/trinity/shader/material/Tr2EffectTechniqueInputs.js`
1204
+ - Visibility: Public
1205
+ - Kind: Carbon
1206
+
1207
+ <!-- class:Tr2MaterialStageInput -->
1208
+ ## `Tr2MaterialStageInput`
1209
+
1210
+ Organizes one shader stage's constants, parameters, textures, UAVs, and CPU-side constant mirror.
1211
+
1212
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1213
+ - Source: `src/trinity/shader/material/Tr2MaterialStageInput.js`
1214
+ - Visibility: Public
1215
+ - Kind: Carbon
1216
+
1217
+ <!-- class:Tr2SharedConstantBuffers -->
1218
+ ## `Tr2SharedConstantBuffers`
1219
+
1220
+ Tracks shared constant-buffer contents by size and hash together with its backing buffer and reference count.
1221
+
1222
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1223
+ - Source: `src/trinity/shader/material/Tr2SharedConstantBuffers.js`
1224
+ - Visibility: Public
1225
+ - Kind: Carbon
1226
+
1227
+ <!-- class:CjsParameter -->
1228
+ ## `CjsParameter`
1229
+
1230
+ Shared base for the shader parameter models: destination-reroute plumbing, effect-reflection lookups and Carbon's FNV1 content hashing.
1231
+
1232
+ - Source: `src/trinity/shader/parameter/CjsParameter.js`
1233
+ - Visibility: Internal
1234
+ - Kind: CarbonEngineJS
1235
+
1236
+ <!-- class:CjsVectorParameter -->
1237
+ ## `CjsVectorParameter`
1238
+
1239
+ Base for the multi-component shader parameters, adding fixed-length destination reads and writes on top of CjsParameter.
1240
+
1241
+ - Source: `src/trinity/shader/parameter/CjsVectorParameter.js`
1242
+ - Visibility: Internal
1243
+ - Kind: CarbonEngineJS
1244
+
1245
+ <!-- class:Tr2ConstantEffectParameter -->
1246
+ ## `Tr2ConstantEffectParameter`
1247
+
1248
+ Stores one named persistent vec4 constant authored directly on an effect.
1249
+
1250
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1251
+ - Source: `src/trinity/shader/parameter/Tr2ConstantEffectParameter.js`
1252
+ - Visibility: Public
1253
+ - Kind: Carbon
1254
+
1255
+ <!-- class:Tr2FloatParameter -->
1256
+ ## `Tr2FloatParameter`
1257
+
1258
+ Single float value for a named shader constant, with optional rerouting into an external scalar destination.
1259
+
1260
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1261
+ - Source: `src/trinity/shader/parameter/Tr2FloatParameter.js`
1262
+ - Visibility: Public
1263
+ - Kind: Carbon
1264
+
1265
+ <!-- class:Tr2GeometryBufferParameter -->
1266
+ ## `Tr2GeometryBufferParameter`
1267
+
1268
+ Carries a named shader-buffer path for host resolution or a caller-owned GPU buffer reference.
1269
+
1270
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1271
+ - Source: `src/trinity/shader/parameter/Tr2GeometryBufferParameter.js`
1272
+ - Visibility: Public
1273
+ - Kind: Carbon
1274
+
1275
+ <!-- class:Tr2Matrix4Parameter -->
1276
+ ## `Tr2Matrix4Parameter`
1277
+
1278
+ 4x4 matrix value for a named shader constant, with optional rerouting into an external 64-byte destination.
1279
+
1280
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1281
+ - Source: `src/trinity/shader/parameter/Tr2Matrix4Parameter.js`
1282
+ - Visibility: Public
1283
+ - Kind: Carbon
1284
+
1285
+ <!-- class:Tr2RuntimeTextureParameter -->
1286
+ ## `Tr2RuntimeTextureParameter`
1287
+
1288
+ A named texture slot fed by a runtime-supplied texture provider rather than an authored res path.
1289
+
1290
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1291
+ - Source: `src/trinity/shader/parameter/Tr2RuntimeTextureParameter.js`
1292
+ - Visibility: Public
1293
+ - Kind: Carbon
1294
+
1295
+ <!-- class:Tr2TextureAnimationParameter -->
1296
+ ## `Tr2TextureAnimationParameter`
1297
+
1298
+ Exposes one named channel of a texture animation as a shader resource and invalidates attached materials as it changes.
1299
+
1300
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1301
+ - Source: `src/trinity/shader/parameter/Tr2TextureAnimationParameter.js`
1302
+ - Visibility: Public
1303
+ - Kind: Carbon
1304
+
1305
+ <!-- class:Tr2Vector2Parameter -->
1306
+ ## `Tr2Vector2Parameter`
1307
+
1308
+ Two-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1309
+
1310
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1311
+ - Source: `src/trinity/shader/parameter/Tr2Vector2Parameter.js`
1312
+ - Visibility: Public
1313
+ - Kind: Carbon
1314
+
1315
+ <!-- class:Tr2Vector3Parameter -->
1316
+ ## `Tr2Vector3Parameter`
1317
+
1318
+ Three-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1319
+
1320
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1321
+ - Source: `src/trinity/shader/parameter/Tr2Vector3Parameter.js`
1322
+ - Visibility: Public
1323
+ - Kind: Carbon
1324
+
1325
+ <!-- class:ITriEffectParameter -->
1326
+ ## `ITriEffectParameter`
1327
+
1328
+ Contract every shader parameter carries: its authored name, its effect-handle rebuild and its content hash, plus the dirty-notification flag Carbon defaults rather than leaves pure.
1329
+
1330
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1331
+ - Source: `src/trinity/shader/parameter/ITriEffectParameter.js`
1332
+ - Visibility: Public
1333
+ - Kind: Carbon
1334
+
1335
+ <!-- class:ITriEffectResourceParameter -->
1336
+ ## `ITriEffectResourceParameter`
1337
+
1338
+ Contract for a shader parameter that holds a resource, told when it joins or leaves a material. Derives from `ITriEffectParameter`; both hooks are empty by default, as in Carbon.
1339
+
1340
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1341
+ - Source: `src/trinity/shader/parameter/ITriEffectResourceParameter.js`
1342
+ - Visibility: Public
1343
+ - Kind: Carbon
1344
+
1345
+ <!-- class:ITriEffectTextureParameter -->
1346
+ ## `ITriEffectTextureParameter`
1347
+
1348
+ A resource parameter whose texture takes part in screen-size LOD selection, and the interface `TriTextureParameter` actually derives from. Carries Carbon's `UV_SET_MAX_COUNT` and its spelling of `Loding`.
1349
+
1350
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1351
+ - Source: `src/trinity/shader/parameter/ITriEffectTextureParameter.js`
1352
+ - Visibility: Public
1353
+ - Kind: Carbon
1354
+
1355
+ <!-- class:Tr2Vector4Parameter -->
1356
+ ## `Tr2Vector4Parameter`
1357
+
1358
+ Four-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1359
+
1360
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1361
+ - Source: `src/trinity/shader/parameter/Tr2Vector4Parameter.js`
1362
+ - Visibility: Public
1363
+ - Kind: Carbon
1364
+
1365
+ <!-- class:TriFloatArrayParameter -->
1366
+ ## `TriFloatArrayParameter`
1367
+
1368
+ An ordered list of vec4 rows uploaded into one named shader constant array.
1369
+
1370
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1371
+ - Source: `src/trinity/shader/parameter/TriFloatArrayParameter.js`
1372
+ - Visibility: Public
1373
+ - Kind: Carbon
1374
+
1375
+ <!-- class:TriTextureParameter -->
1376
+ ## `TriTextureParameter`
1377
+
1378
+ A named texture slot on an effect, owning the authored res path, the resolved texture provider and the UV-density scales that drive mip selection.
1379
+
1380
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1381
+ - Source: `src/trinity/shader/parameter/TriTextureParameter.js`
1382
+ - Visibility: Public
1383
+ - Kind: Carbon
1384
+
1385
+ <!-- class:TriTransformParameter -->
1386
+ ## `TriTransformParameter`
1387
+
1388
+ Composes authored translation, rotation, scale, and transform-base state into the matrix uploaded to a shader constant.
1389
+
1390
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1391
+ - Source: `src/trinity/shader/parameter/TriTransformParameter.js`
1392
+ - Visibility: Public
1393
+ - Kind: Carbon
1394
+
1395
+ <!-- class:TriVariableParameter -->
1396
+ ## `TriVariableParameter`
1397
+
1398
+ Forwards a named variable-store entry into a named effect constant or resource.
1399
+
1400
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1401
+ - Source: `src/trinity/shader/parameter/TriVariableParameter.js`
1402
+ - Visibility: Public
1403
+ - Kind: Carbon
1404
+
1405
+ <!-- class:TriVector4 -->
1406
+ ## `TriVector4`
1407
+
1408
+ One vec4 row of a TriFloatArrayParameter's value list.
1409
+
1410
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1411
+ - Source: `src/trinity/shader/parameter/TriVector4.js`
1412
+ - Visibility: Public
1413
+ - Kind: Carbon
1414
+
1415
+ <!-- class:Tr2ShaderOption -->
1416
+ ## `Tr2ShaderOption`
1417
+
1418
+ Mutable authored option on the Tr2Effect facade.
1419
+
1420
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1421
+ - Source: `src/trinity/shader/reflection/Tr2ShaderOption.js`
1422
+ - Visibility: Public
1423
+ - Kind: Carbon
1424
+
1425
+ <!-- class:Tr2SamplerOverride -->
1426
+ ## `Tr2SamplerOverride`
1427
+
1428
+ Overrides one named sampler's address, filtering, LOD-bias, mip, and anisotropy settings.
1429
+
1430
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1431
+ - Source: `src/trinity/shader/sampler/Tr2SamplerOverride.js`
1432
+ - Visibility: Public
1433
+ - Kind: Carbon
1434
+
1435
+ <!-- class:Tr2SamplerOverrideData -->
1436
+ ## `Tr2SamplerOverrideData`
1437
+
1438
+ Associates a shader sampler register with the sampler-state object to bind.
1439
+
1440
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1441
+ - Source: `src/trinity/shader/sampler/Tr2SamplerOverrideData.js`
1442
+ - Visibility: Public
1443
+ - Kind: Carbon
1444
+
1445
+ <!-- class:Tr2DataTextureManager -->
1446
+ ## `Tr2DataTextureManager`
1447
+
1448
+ Packs shader-readable data blocks into the shared impact data texture.
1449
+
1450
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1451
+ - Source: `src/trinity/shader/Tr2DataTextureManager.js`
1452
+ - Visibility: Public
1453
+ - Kind: Carbon
1454
+
1455
+ <!-- class:Tr2Effect -->
1456
+ ## `Tr2Effect`
1457
+
1458
+ Owns the mutable effect facade: shader path and options, authored parameters and resources, sampler overrides, variable-store resolution, and rebuild state.
1459
+
1460
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1461
+ - Source: `src/trinity/shader/Tr2Effect.js`
1462
+ - Visibility: Public
1463
+ - Kind: Carbon
1464
+
1465
+ <!-- class:Tr2EffectStateManager -->
1466
+ ## `Tr2EffectStateManager`
1467
+
1468
+ Tracks the portable render, stream, buffer, viewport, and override state used while applying an effect, owns the process-wide shader, shader-program and render-state registration tables its handle fields index, and filters redundant binds out of the Apply* surface that carries those handles to the abstraction layer.
1469
+
1470
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1471
+ - Source: `src/trinity/shader/Tr2EffectStateManager.js`
1472
+ - Visibility: Public
1473
+ - Kind: Carbon
1474
+
1475
+ <!-- class:Tr2Material -->
1476
+ ## `Tr2Material`
1477
+
1478
+ Owns a resolved shader's per-technique pass and library bindings, resource invalidation, texture LOD forwarding, and draw-sort state.
1479
+
1480
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1481
+ - Source: `src/trinity/shader/Tr2Material.js`
1482
+ - Visibility: Public
1483
+ - Kind: Carbon
1484
+
1485
+ <!-- class:Tr2ShaderBuffer -->
1486
+ ## `Tr2ShaderBuffer`
1487
+
1488
+ Owns a detached byte payload for one shader stage while leaving device binding to the engine.
1489
+
1490
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1491
+ - Source: `src/trinity/shader/Tr2ShaderBuffer.js`
1492
+ - Visibility: Public
1493
+ - Kind: Carbon
1494
+
1495
+ <!-- class:Tr2PresentParameters -->
1496
+ ## `Tr2PresentParameters`
1497
+
1498
+ Carries the software-device, back-buffer size, and windowed-mode values used when creating a rendering device.
1499
+
1500
+ - Export: `@carbonenginejs/runtime/trinity/ui`
1501
+ - Source: `src/trinity/ui/Tr2PresentParameters.js`
1502
+ - Visibility: Public
1503
+ - Kind: Carbon
1504
+
1505
+ <!-- class:Tr2GpuResourcePool -->
1506
+ ## `Tr2GpuResourcePool`
1507
+
1508
+ Pooled scratch textures and buffers.
1509
+
1510
+ - Export: `@carbonenginejs/runtime/trinity/core`
1511
+ - Source: `src/trinity/core/Tr2GpuResourcePool/Tr2GpuResourcePool.js`
1512
+ - Visibility: Public
1513
+ - Kind: Carbon
1514
+
1515
+ <!-- class:GpuResourceHandle -->
1516
+ ## `GpuResourceHandle`
1517
+
1518
+ A borrowed pool resource.
1519
+
1520
+ - Export: `@carbonenginejs/runtime/trinity/core`
1521
+ - Source: `src/trinity/core/Tr2GpuResourcePool/GpuResourceHandle.js`
1522
+ - Visibility: Public
1523
+ - Kind: Carbon
1524
+
1525
+ <!-- class:TextureSize2D -->
1526
+ ## `TextureSize2D`
1527
+
1528
+ A width and height, with Carbon's scaling and comparison.
1529
+
1530
+ - Export: `@carbonenginejs/runtime/trinity/core`
1531
+ - Source: `src/trinity/core/Tr2GpuResourcePool/TextureSize2D.js`
1532
+ - Visibility: Public
1533
+ - Kind: Carbon
1534
+
1535
+ <!-- class:Tr2RingBuffer -->
1536
+ ## `Tr2RingBuffer`
1537
+
1538
+ One upload arena per data type, fenced by frame, so many objects share one buffer and are handed an offset each.
1539
+
1540
+ - Export: `@carbonenginejs/runtime/trinity/core`
1541
+ - Source: `src/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js`
1542
+ - Visibility: Public
1543
+ - Kind: Carbon
1544
+
1545
+ <!-- class:Tr2SuballocatedBuffer -->
1546
+ ## `Tr2SuballocatedBuffer`
1547
+
1548
+ Carbon's shared geometry buffer: one device buffer per block that many allocations share, so a mesh's vertices are a buffer, an offset and a stride rather than a buffer of their own.
1549
+
1550
+ - Export: Not exported
1551
+ - Source: `src/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBuffer.js`
1552
+ - Visibility: Internal
1553
+ - Kind: Carbon
1554
+
1555
+ <!-- class:Tr2SuballocatedBufferAllocation -->
1556
+ ## `Tr2SuballocatedBufferAllocation`
1557
+
1558
+ One region of a suballocated buffer: which block, at what offset and stride, with the start index the draw arguments add.
1559
+
1560
+ - Export: Not exported
1561
+ - Source: `src/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBufferAllocation.js`
1562
+ - Visibility: Internal
1563
+ - Kind: Carbon
1564
+
1565
+ <!-- class:Tr2RingBufferOffsets -->
1566
+ ## `Tr2RingBufferOffsets`
1567
+
1568
+ One consumer's cursor into a ring buffer, holding where its rows landed this frame and last.
1569
+
1570
+ - Export: `@carbonenginejs/runtime/trinity/core`
1571
+ - Source: `src/trinity/core/device/Tr2RingBuffer/Tr2RingBufferOffsets.js`
1572
+ - Visibility: Public
1573
+ - Kind: Carbon
1574
+
1575
+ <!-- class:Tr2StreamingBitmapSaver -->
1576
+ ## `Tr2StreamingBitmapSaver`
1577
+
1578
+ Models Carbon's incremental bitmap saver through its dimensions, pixel format, current offset, and batch-copy entry points.
1579
+
1580
+ - Export: `@carbonenginejs/runtime/trinity/core`
1581
+ - Source: `src/trinity/core/Tr2StreamingBitmapSaver.js`
1582
+ - Visibility: Public
1583
+ - Kind: Carbon
1584
+
1585
+ <!-- class:Tr2Renderer -->
1586
+ ## `Tr2Renderer`
1587
+
1588
+ Renderer-wide state: the constant-buffer register map that is the contract between Trinity and every backend.
1589
+
1590
+ - Export: `@carbonenginejs/runtime/trinity/core`
1591
+ - Source: `src/trinity/core/Tr2Renderer.js`
1592
+ - Visibility: Public
1593
+ - Kind: Carbon
1594
+ <!-- class:ITr2Updateable -->
1595
+ ## `ITr2Updateable`
1596
+
1597
+ Contract for an object updated once per controller or render-job tick, with `Update(realTime, simTime)` as its single method and no default.
1598
+
1599
+ - Export: `@carbonenginejs/runtime/trinity/core`
1600
+ - Source: `src/trinity/core/ITr2Updateable.js`
1601
+ - Visibility: Public
1602
+ - Kind: Carbon
1603
+
1604
+ <!-- class:Tr2Blitter -->
1605
+ ## `Tr2Blitter`
1606
+
1607
+ Draws a four-vertex screen quad with a given material, optionally publishing a source texture as `BlitSource`, for fullscreen shader passes and sub-rectangle blits.
1608
+
1609
+ - Export: `@carbonenginejs/runtime/trinity/core`
1610
+ - Source: `src/trinity/core/Tr2Blitter.js`
1611
+ - Visibility: Public
1612
+ - Kind: Carbon
1613
+
1614
+ <!-- class:Tr2TextureArray -->
1615
+ ## `Tr2TextureArray`
1616
+
1617
+ Describes a texture array's elements, dimensions, resource usage, upload increment, backing texture, and change callback.
1618
+
1619
+ - Export: `@carbonenginejs/runtime/trinity/core`
1620
+ - Source: `src/trinity/core/Tr2TextureArray/Tr2TextureArray.js`
1621
+ - Visibility: Public
1622
+ - Kind: Carbon
1623
+
1624
+ <!-- class:Tr2TextureReference -->
1625
+ ## `Tr2TextureReference`
1626
+
1627
+ Holds one engine texture so it can be published through a variable store and observed for replacement.
1628
+
1629
+ - Export: `@carbonenginejs/runtime/trinity/core`
1630
+ - Source: `src/trinity/core/Tr2TextureReference.js`
1631
+ - Visibility: Public
1632
+ - Kind: Carbon
1633
+
1634
+ <!-- class:Tr2TextureArrayElement -->
1635
+ ## `Tr2TextureArrayElement`
1636
+
1637
+ Element handle returned by {@link Tr2TextureArray.AddElement}.
1638
+
1639
+ - Export: `@carbonenginejs/runtime/trinity/core`
1640
+ - Source: `src/trinity/core/Tr2TextureArray/Tr2TextureArrayElement.js`
1641
+ - Visibility: Public
1642
+ - Kind: Carbon
1643
+
1644
+ <!-- class:Tr2LightManager -->
1645
+ ## `Tr2LightManager`
1646
+
1647
+ Collects the frame's local-light records, culls and premultiplies them, selects the volumetric and shadow-casting sets, packs the shadow-map atlas, and owns the packed light-buffer bytes the abstraction layer uploads.
1648
+
1649
+ - Export: `@carbonenginejs/runtime/trinity/core`
1650
+ - Source: `src/trinity/core/lighting/Tr2LightManager.js`
1651
+ - Visibility: Public
1652
+ - Kind: Carbon
1653
+
1654
+ <!-- class:Tr2VertexDefinitionItem -->
1655
+ ## `Tr2VertexDefinitionItem`
1656
+
1657
+ One element of a vertex definition: its usage name and index, data type, byte offset, stream, and instance step rate.
1658
+
1659
+ - Export: `@carbonenginejs/runtime/trinity/core`
1660
+ - Source: `src/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinitionItem.js`
1661
+ - Visibility: Public
1662
+ - Kind: Carbon
1663
+
1664
+ <!-- class:DefaultKeyGenerator -->
1665
+ ## `DefaultKeyGenerator`
1666
+
1667
+ Carbon's DefaultKeyGenerator batch sorting policy.
1668
+
1669
+ - Export: `@carbonenginejs/runtime/trinity/core`
1670
+ - Source: `src/trinity/core/batch/TriRenderBatch/DefaultKeyGenerator.js`
1671
+ - Visibility: Public
1672
+ - Kind: Carbon
1673
+
1674
+ <!-- class:EffectKeyGenerator -->
1675
+ ## `EffectKeyGenerator`
1676
+
1677
+ Carbon's EffectKeyGenerator batch sorting policy.
1678
+
1679
+ - Export: `@carbonenginejs/runtime/trinity/core`
1680
+ - Source: `src/trinity/core/batch/TriRenderBatch/EffectKeyGenerator.js`
1681
+ - Visibility: Public
1682
+ - Kind: Carbon
1683
+
1684
+ <!-- class:GradientTextureConstructor -->
1685
+ ## `GradientTextureConstructor`
1686
+
1687
+ Carbon's `dynamic:/gradient_1d` resource constructor, which decodes the curve keys a gradient path carries, rasterizes the four scalar curves across the requested width, and publishes the result as the texture's payload.
1688
+
1689
+ - Export: @carbonenginejs/runtime/trinity/core
1690
+ - Source: `src/trinity/core/procedural/GradientTextureConstructor.js`
1691
+ - Visibility: Public
1692
+ - Kind: Faithful Carbon port