@carbonenginejs/runtime 0.1.0-alpha.0 → 0.1.0-alpha.2

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 (935) hide show
  1. package/README.md +58 -125
  2. package/dist/audio/index.js +8 -1
  3. package/dist/audio/index.js.map +1 -1
  4. package/dist/audio/trinity/audio/AudActionLog/AudActionLogCB.js +84 -0
  5. package/dist/audio/trinity/audio/AudActionLog/AudActionLogCB.js.map +1 -0
  6. package/dist/audio/trinity/audio/AudActionLog/AudActionRecord.js +14 -0
  7. package/dist/audio/trinity/audio/AudActionLog/AudActionRecord.js.map +1 -0
  8. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordExecuteActionOnPlayingID.js +26 -0
  9. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordExecuteActionOnPlayingID.js.map +1 -0
  10. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordPostEvent.js +27 -0
  11. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordPostEvent.js.map +1 -0
  12. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetRTPC.js +27 -0
  13. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetRTPC.js.map +1 -0
  14. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetState.js +25 -0
  15. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetState.js.map +1 -0
  16. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetSwitch.js +26 -0
  17. package/dist/audio/trinity/audio/AudActionLog/AudActionRecordSetSwitch.js.map +1 -0
  18. package/dist/audio/trinity/audio/AudActionLog/IAudActionLog.js +58 -0
  19. package/dist/audio/trinity/audio/AudActionLog/IAudActionLog.js.map +1 -0
  20. package/dist/audio/trinity/audio/AudManager.js +1 -1
  21. package/dist/audio/trinity/audio/AudManager.js.map +1 -1
  22. package/dist/audio/trinity/audio/{AudObstructionOcclusion.js → AudObstructionOcclusion/AudObstructionOcclusion.js} +8 -52
  23. package/dist/audio/trinity/audio/AudObstructionOcclusion/AudObstructionOcclusion.js.map +1 -0
  24. package/dist/audio/trinity/audio/AudObstructionOcclusion/EmitterState.js +17 -0
  25. package/dist/audio/trinity/audio/AudObstructionOcclusion/EmitterState.js.map +1 -0
  26. package/dist/audio/trinity/audio/AudObstructionOcclusion/FadingValue.js +46 -0
  27. package/dist/audio/trinity/audio/AudObstructionOcclusion/FadingValue.js.map +1 -0
  28. package/dist/audio/trinity/index.js +8 -1
  29. package/dist/audio/trinity/index.js.map +1 -1
  30. package/dist/character/CjsCharacterAppearanceConstruction.js +5 -0
  31. package/dist/character/CjsCharacterAppearanceConstruction.js.map +1 -1
  32. package/dist/character/CjsCharacterAppearanceManager.js +14 -0
  33. package/dist/character/CjsCharacterAppearanceManager.js.map +1 -1
  34. package/dist/character/CjsCharacterFoundationConstruction.js +5 -0
  35. package/dist/character/CjsCharacterFoundationConstruction.js.map +1 -1
  36. package/dist/character/CjsCharacterTexturePolicy.js +5 -0
  37. package/dist/character/CjsCharacterTexturePolicy.js.map +1 -1
  38. package/dist/character/gles/CjsCharacterGlesAppearanceAL.js +17 -0
  39. package/dist/character/gles/CjsCharacterGlesAppearanceAL.js.map +1 -1
  40. package/dist/character/gles/CjsCharacterGlesAtlasRenderer.js +2 -0
  41. package/dist/character/gles/CjsCharacterGlesAtlasRenderer.js.map +1 -1
  42. package/dist/character/gles/CjsCharacterGlesFoundationTranslator.js +5 -0
  43. package/dist/character/gles/CjsCharacterGlesFoundationTranslator.js.map +1 -1
  44. package/dist/character/gles/CjsCharacterGlesLegacyConstructionTranslator.js +5 -0
  45. package/dist/character/gles/CjsCharacterGlesLegacyConstructionTranslator.js.map +1 -1
  46. package/dist/character/gles/CjsCharacterGlesMorphDeformation.js +2 -0
  47. package/dist/character/gles/CjsCharacterGlesMorphDeformation.js.map +1 -1
  48. package/dist/character/gles/CjsCharacterGlesPaletteCompatibility.js +5 -0
  49. package/dist/character/gles/CjsCharacterGlesPaletteCompatibility.js.map +1 -1
  50. package/dist/character/gles/CjsCharacterGlesTriangleCoverage.js +5 -0
  51. package/dist/character/gles/CjsCharacterGlesTriangleCoverage.js.map +1 -1
  52. package/dist/character/webgl2/CjsCharacterWebgl2EffectRouter.js +9 -0
  53. package/dist/character/webgl2/CjsCharacterWebgl2EffectRouter.js.map +1 -1
  54. package/dist/global/blue/CjsScriptCallback.js +142 -0
  55. package/dist/global/blue/CjsScriptCallback.js.map +1 -0
  56. package/dist/global/blue/index.js +2 -0
  57. package/dist/global/blue/index.js.map +1 -0
  58. package/dist/global/consts/renderContext/formats.js +51 -1
  59. package/dist/global/consts/renderContext/formats.js.map +1 -1
  60. package/dist/global/consts/renderContext/index.js +2 -2
  61. package/dist/global/consts/renderContext/renderStates.js +16 -1
  62. package/dist/global/consts/renderContext/renderStates.js.map +1 -1
  63. package/dist/global/contracts/index.js +0 -1
  64. package/dist/global/contracts/index.js.map +1 -1
  65. package/dist/global/index.js +4 -3
  66. package/dist/global/index.js.map +1 -1
  67. package/dist/global/math/index.js +2 -0
  68. package/dist/global/math/index.js.map +1 -1
  69. package/dist/global/math/mesh.js +70 -16
  70. package/dist/global/math/mesh.js.map +1 -1
  71. package/dist/global/math/noise.js +47 -68
  72. package/dist/global/math/noise.js.map +1 -1
  73. package/dist/global/math/pool.js +18 -3
  74. package/dist/global/math/pool.js.map +1 -1
  75. package/dist/global/math/random.js +52 -0
  76. package/dist/global/math/random.js.map +1 -0
  77. package/dist/global/math/tri3.js +18 -4
  78. package/dist/global/math/tri3.js.map +1 -1
  79. package/dist/global/schema/CjsSchema.js +20 -2
  80. package/dist/global/schema/CjsSchema.js.map +1 -1
  81. package/dist/global/schema/hydration.js +14 -0
  82. package/dist/global/schema/hydration.js.map +1 -1
  83. package/dist/global/utils/bytes.js +22 -4
  84. package/dist/global/utils/bytes.js.map +1 -1
  85. package/dist/global/utils/checksum.js +80 -0
  86. package/dist/global/utils/checksum.js.map +1 -0
  87. package/dist/global/utils/errors/CjsCancellationError.js +36 -0
  88. package/dist/global/utils/errors/CjsCancellationError.js.map +1 -0
  89. package/dist/global/utils/errors/CjsError.js +21 -52
  90. package/dist/global/utils/errors/CjsError.js.map +1 -1
  91. package/dist/global/utils/errors/abort.js +1 -1
  92. package/dist/global/utils/errors/abort.js.map +1 -1
  93. package/dist/global/utils/errors/index.js +2 -1
  94. package/dist/global/utils/errors/index.js.map +1 -1
  95. package/dist/global/utils/index.js +4 -2
  96. package/dist/global/utils/index.js.map +1 -1
  97. package/dist/index.js +95 -35
  98. package/dist/index.js.map +1 -1
  99. package/dist/input/Tr2MainWindow.js +7 -9
  100. package/dist/input/Tr2MainWindow.js.map +1 -1
  101. package/dist/resource/CjsResMan.js +33 -39
  102. package/dist/resource/CjsResMan.js.map +1 -1
  103. package/dist/resource/CjsResource.js +19 -5
  104. package/dist/resource/CjsResource.js.map +1 -1
  105. package/dist/resource/audio/AudioGeometryResData.js +22 -27
  106. package/dist/resource/audio/AudioGeometryResData.js.map +1 -1
  107. package/dist/resource/audio/CjsAudioRes.js +4 -5
  108. package/dist/resource/audio/CjsAudioRes.js.map +1 -1
  109. package/dist/resource/format/CjsBitReader.js +263 -0
  110. package/dist/resource/format/CjsBitReader.js.map +1 -0
  111. package/dist/resource/format/CjsByteReader.js +130 -125
  112. package/dist/resource/format/CjsByteReader.js.map +1 -1
  113. package/dist/resource/format/CjsFormat.js +11 -4
  114. package/dist/resource/format/CjsFormat.js.map +1 -1
  115. package/dist/resource/format/CjsFormatError.js +37 -1
  116. package/dist/resource/format/CjsFormatError.js.map +1 -1
  117. package/dist/resource/format/CjsResourceProbe.js +41 -37
  118. package/dist/resource/format/CjsResourceProbe.js.map +1 -1
  119. package/dist/resource/format/carbonRecordGuard.js +33 -0
  120. package/dist/resource/format/carbonRecordGuard.js.map +1 -0
  121. package/dist/resource/format/imageSignatures.js +202 -0
  122. package/dist/resource/format/imageSignatures.js.map +1 -0
  123. package/dist/resource/format/index.js +2 -1
  124. package/dist/resource/format/index.js.map +1 -1
  125. package/dist/resource/format/jsonPolicies.js +180 -0
  126. package/dist/resource/format/jsonPolicies.js.map +1 -0
  127. package/dist/resource/formats/black/core/helpers.js +18 -29
  128. package/dist/resource/formats/black/core/helpers.js.map +1 -1
  129. package/dist/resource/formats/bnk/CjsBnkFormat.js +4 -3
  130. package/dist/resource/formats/bnk/CjsBnkFormat.js.map +1 -1
  131. package/dist/resource/formats/bnk/core/WwiseCursor.js +218 -0
  132. package/dist/resource/formats/bnk/core/WwiseCursor.js.map +1 -0
  133. package/dist/resource/formats/bnk/core/busNodes.js +2 -1
  134. package/dist/resource/formats/bnk/core/busNodes.js.map +1 -1
  135. package/dist/resource/formats/bnk/core/effectNodes.js +2 -1
  136. package/dist/resource/formats/bnk/core/effectNodes.js.map +1 -1
  137. package/dist/resource/formats/bnk/core/eventAction.js +15 -93
  138. package/dist/resource/formats/bnk/core/eventAction.js.map +1 -1
  139. package/dist/resource/formats/bnk/core/globalSettings.js +19 -94
  140. package/dist/resource/formats/bnk/core/globalSettings.js.map +1 -1
  141. package/dist/resource/formats/bnk/core/helpers.js +2 -48
  142. package/dist/resource/formats/bnk/core/helpers.js.map +1 -1
  143. package/dist/resource/formats/bnk/core/musicNodes.js +42 -134
  144. package/dist/resource/formats/bnk/core/musicNodes.js.map +1 -1
  145. package/dist/resource/formats/bnk/core/nodeBase.js +20 -111
  146. package/dist/resource/formats/bnk/core/nodeBase.js.map +1 -1
  147. package/dist/resource/formats/bnk/core/sfxNodes.js +2 -1
  148. package/dist/resource/formats/bnk/core/sfxNodes.js.map +1 -1
  149. package/dist/resource/formats/cmf/CjsCmfFormat.js +242 -228
  150. package/dist/resource/formats/cmf/CjsCmfFormat.js.map +1 -1
  151. package/dist/resource/formats/cmf/core/binary.js +54 -60
  152. package/dist/resource/formats/cmf/core/binary.js.map +1 -1
  153. package/dist/resource/formats/dds/CjsDdsFormat.js +5 -3
  154. package/dist/resource/formats/dds/CjsDdsFormat.js.map +1 -1
  155. package/dist/resource/formats/dds/core/bc6h.js +16 -18
  156. package/dist/resource/formats/dds/core/bc6h.js.map +1 -1
  157. package/dist/resource/formats/dds/core/bc7.js +28 -24
  158. package/dist/resource/formats/dds/core/bc7.js.map +1 -1
  159. package/dist/resource/formats/dds/core/helpers.js +7 -133
  160. package/dist/resource/formats/dds/core/helpers.js.map +1 -1
  161. package/dist/resource/formats/dxbc/CjsDxbcFormat.js +3 -2
  162. package/dist/resource/formats/dxbc/CjsDxbcFormat.js.map +1 -1
  163. package/dist/resource/formats/dxbc/core/helpers.js +4 -32
  164. package/dist/resource/formats/dxbc/core/helpers.js.map +1 -1
  165. package/dist/resource/formats/fbx/CjsFbxFormat.js +11 -0
  166. package/dist/resource/formats/fbx/CjsFbxFormat.js.map +1 -1
  167. package/dist/resource/formats/fbx/core/helpers.js +18 -12
  168. package/dist/resource/formats/fbx/core/helpers.js.map +1 -1
  169. package/dist/resource/formats/flac/CjsFlacFormat.js +4 -9
  170. package/dist/resource/formats/flac/CjsFlacFormat.js.map +1 -1
  171. package/dist/resource/formats/flac/core/helpers.js +1 -62
  172. package/dist/resource/formats/flac/core/helpers.js.map +1 -1
  173. package/dist/resource/formats/gif/CjsGifFormat.js +4 -9
  174. package/dist/resource/formats/gif/CjsGifFormat.js.map +1 -1
  175. package/dist/resource/formats/gif/core/helpers.js +1 -63
  176. package/dist/resource/formats/gif/core/helpers.js.map +1 -1
  177. package/dist/resource/formats/gltf/CjsGltfFormat.js +4 -3
  178. package/dist/resource/formats/gltf/CjsGltfFormat.js.map +1 -1
  179. package/dist/resource/formats/gltf/core/helpers.js +3 -19
  180. package/dist/resource/formats/gltf/core/helpers.js.map +1 -1
  181. package/dist/resource/formats/gr2/CjsGr2Format.js +105 -92
  182. package/dist/resource/formats/gr2/CjsGr2Format.js.map +1 -1
  183. package/dist/resource/formats/gr2/core/container.js +1 -10
  184. package/dist/resource/formats/gr2/core/container.js.map +1 -1
  185. package/dist/resource/formats/gr2/core/helpers.js +24 -35
  186. package/dist/resource/formats/gr2/core/helpers.js.map +1 -1
  187. package/dist/resource/formats/gr2/core/shared.js +193 -189
  188. package/dist/resource/formats/gr2/core/shared.js.map +1 -1
  189. package/dist/resource/formats/hlsl/CjsHlslFormat.js +4 -3
  190. package/dist/resource/formats/hlsl/CjsHlslFormat.js.map +1 -1
  191. package/dist/resource/formats/hlsl/core/helpers.js +1 -30
  192. package/dist/resource/formats/hlsl/core/helpers.js.map +1 -1
  193. package/dist/resource/formats/jpeg/CjsJpegFormat.js +5 -3
  194. package/dist/resource/formats/jpeg/CjsJpegFormat.js.map +1 -1
  195. package/dist/resource/formats/jpeg/core/helpers.js +7 -134
  196. package/dist/resource/formats/jpeg/core/helpers.js.map +1 -1
  197. package/dist/resource/formats/mp3/CjsMp3Format.js +4 -9
  198. package/dist/resource/formats/mp3/CjsMp3Format.js.map +1 -1
  199. package/dist/resource/formats/mp3/core/helpers.js +1 -64
  200. package/dist/resource/formats/mp3/core/helpers.js.map +1 -1
  201. package/dist/resource/formats/mp4/CjsMp4Format.js +4 -9
  202. package/dist/resource/formats/mp4/CjsMp4Format.js.map +1 -1
  203. package/dist/resource/formats/mp4/core/helpers.js +1 -73
  204. package/dist/resource/formats/mp4/core/helpers.js.map +1 -1
  205. package/dist/resource/formats/obj/CjsObjFormat.js +4 -3
  206. package/dist/resource/formats/obj/CjsObjFormat.js.map +1 -1
  207. package/dist/resource/formats/obj/core/helpers.js +93 -115
  208. package/dist/resource/formats/obj/core/helpers.js.map +1 -1
  209. package/dist/resource/formats/ogg/CjsOggFormat.js +4 -3
  210. package/dist/resource/formats/ogg/CjsOggFormat.js.map +1 -1
  211. package/dist/resource/formats/ogg/core/helpers.js +1 -15
  212. package/dist/resource/formats/ogg/core/helpers.js.map +1 -1
  213. package/dist/resource/formats/ogg/core/vorbis.js +138 -144
  214. package/dist/resource/formats/ogg/core/vorbis.js.map +1 -1
  215. package/dist/resource/formats/pickle/CjsPickleFormat.js +83 -114
  216. package/dist/resource/formats/pickle/CjsPickleFormat.js.map +1 -1
  217. package/dist/resource/formats/png/CjsPngFormat.js +5 -3
  218. package/dist/resource/formats/png/CjsPngFormat.js.map +1 -1
  219. package/dist/resource/formats/png/core/helpers.js +13 -152
  220. package/dist/resource/formats/png/core/helpers.js.map +1 -1
  221. package/dist/resource/formats/png/core/writer.js +3 -27
  222. package/dist/resource/formats/png/core/writer.js.map +1 -1
  223. package/dist/resource/formats/red/core/helpers.js +19 -29
  224. package/dist/resource/formats/red/core/helpers.js.map +1 -1
  225. package/dist/resource/formats/stl/CjsStlFormat.js +158 -147
  226. package/dist/resource/formats/stl/CjsStlFormat.js.map +1 -1
  227. package/dist/resource/formats/stl/core/helpers.js +44 -66
  228. package/dist/resource/formats/stl/core/helpers.js.map +1 -1
  229. package/dist/resource/formats/tga/CjsTgaFormat.js +5 -3
  230. package/dist/resource/formats/tga/CjsTgaFormat.js.map +1 -1
  231. package/dist/resource/formats/tga/core/helpers.js +7 -153
  232. package/dist/resource/formats/tga/core/helpers.js.map +1 -1
  233. package/dist/resource/formats/vta/CjsVtaFormat.js +4 -3
  234. package/dist/resource/formats/vta/CjsVtaFormat.js.map +1 -1
  235. package/dist/resource/formats/vta/core/helpers.js +1 -17
  236. package/dist/resource/formats/vta/core/helpers.js.map +1 -1
  237. package/dist/resource/formats/wav/CjsWavFormat.js +4 -3
  238. package/dist/resource/formats/wav/CjsWavFormat.js.map +1 -1
  239. package/dist/resource/formats/wav/core/helpers.js +1 -15
  240. package/dist/resource/formats/wav/core/helpers.js.map +1 -1
  241. package/dist/resource/formats/webgl/CjsWebglFormat.js +4 -3
  242. package/dist/resource/formats/webgl/CjsWebglFormat.js.map +1 -1
  243. package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js +69 -9
  244. package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js.map +1 -1
  245. package/dist/resource/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js +12 -3
  246. package/dist/resource/formats/webgl/core/glsl/DxbcGlslOperandFormatter.js.map +1 -1
  247. package/dist/resource/formats/webgl/core/helpers.js +39 -68
  248. package/dist/resource/formats/webgl/core/helpers.js.map +1 -1
  249. package/dist/resource/formats/webgpu/CjsWebgpuFormat.js +4 -3
  250. package/dist/resource/formats/webgpu/CjsWebgpuFormat.js.map +1 -1
  251. package/dist/resource/formats/webgpu/core/helpers.js +4 -30
  252. package/dist/resource/formats/webgpu/core/helpers.js.map +1 -1
  253. package/dist/resource/formats/webm/CjsWebmFormat.js +4 -9
  254. package/dist/resource/formats/webm/CjsWebmFormat.js.map +1 -1
  255. package/dist/resource/formats/webm/core/helpers.js +1 -73
  256. package/dist/resource/formats/webm/core/helpers.js.map +1 -1
  257. package/dist/resource/formats/webp/CjsWebpFormat.js +4 -9
  258. package/dist/resource/formats/webp/CjsWebpFormat.js.map +1 -1
  259. package/dist/resource/formats/webp/core/helpers.js +1 -62
  260. package/dist/resource/formats/webp/core/helpers.js.map +1 -1
  261. package/dist/resource/formats/wem/CjsWemFormat.js +4 -3
  262. package/dist/resource/formats/wem/CjsWemFormat.js.map +1 -1
  263. package/dist/resource/formats/wem/core/bitStream.js +83 -106
  264. package/dist/resource/formats/wem/core/bitStream.js.map +1 -1
  265. package/dist/resource/formats/wem/core/codebookLibrary.js +52 -52
  266. package/dist/resource/formats/wem/core/codebookLibrary.js.map +1 -1
  267. package/dist/resource/formats/wem/core/helpers.js +1 -15
  268. package/dist/resource/formats/wem/core/helpers.js.map +1 -1
  269. package/dist/resource/formats/wem/core/wemToOgg.js +67 -67
  270. package/dist/resource/formats/wem/core/wemToOgg.js.map +1 -1
  271. package/dist/resource/geometry/MeshDecalData.js +23 -25
  272. package/dist/resource/geometry/MeshDecalData.js.map +1 -1
  273. package/dist/resource/geometry/MeshDecalLodData.js +14 -23
  274. package/dist/resource/geometry/MeshDecalLodData.js.map +1 -1
  275. package/dist/resource/geometry/TriGeometryRes.js +299 -284
  276. package/dist/resource/geometry/TriGeometryRes.js.map +1 -1
  277. package/dist/resource/geometry/TriGeometryResAreaData.js +30 -31
  278. package/dist/resource/geometry/TriGeometryResAreaData.js.map +1 -1
  279. package/dist/resource/geometry/TriGeometryResJointData.js +16 -24
  280. package/dist/resource/geometry/TriGeometryResJointData.js.map +1 -1
  281. package/dist/resource/geometry/TriGeometryResLodData.js +50 -41
  282. package/dist/resource/geometry/TriGeometryResLodData.js.map +1 -1
  283. package/dist/resource/geometry/TriGeometryResMeshData.js +32 -32
  284. package/dist/resource/geometry/TriGeometryResMeshData.js.map +1 -1
  285. package/dist/resource/geometry/TriGeometryResSkeletonData.js +14 -23
  286. package/dist/resource/geometry/TriGeometryResSkeletonData.js.map +1 -1
  287. package/dist/resource/geometry/TriJointBinding.js +16 -24
  288. package/dist/resource/geometry/TriJointBinding.js.map +1 -1
  289. package/dist/resource/geometry/TriMorphTargetGeometryConstants.js +22 -27
  290. package/dist/resource/geometry/TriMorphTargetGeometryConstants.js.map +1 -1
  291. package/dist/resource/geometry/TriRtGeometryConstants.js +50 -41
  292. package/dist/resource/geometry/TriRtGeometryConstants.js.map +1 -1
  293. package/dist/resource/geometry/granny/GStateBindingCallbackData.js +12 -22
  294. package/dist/resource/geometry/granny/GStateBindingCallbackData.js.map +1 -1
  295. package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js +30 -31
  296. package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js.map +1 -1
  297. package/dist/resource/index.js +1 -1
  298. package/dist/resource/shader/reflection/Tr2EffectConstant.js +16 -17
  299. package/dist/resource/shader/reflection/Tr2EffectConstant.js.map +1 -1
  300. package/dist/resource/shader/reflection/Tr2EffectDescription.js +26 -28
  301. package/dist/resource/shader/reflection/Tr2EffectDescription.js.map +1 -1
  302. package/dist/resource/shader/reflection/Tr2EffectLibrary.js +24 -25
  303. package/dist/resource/shader/reflection/Tr2EffectLibrary.js.map +1 -1
  304. package/dist/resource/shader/reflection/Tr2EffectParameterAnnotation.js +21 -22
  305. package/dist/resource/shader/reflection/Tr2EffectParameterAnnotation.js.map +1 -1
  306. package/dist/resource/shader/reflection/Tr2EffectResource.js +25 -26
  307. package/dist/resource/shader/reflection/Tr2EffectResource.js.map +1 -1
  308. package/dist/resource/shader/reflection/Tr2EffectStageInput.js +69 -72
  309. package/dist/resource/shader/reflection/Tr2EffectStageInput.js.map +1 -1
  310. package/dist/resource/shader/reflection/Tr2EffectTechnique.js +17 -18
  311. package/dist/resource/shader/reflection/Tr2EffectTechnique.js.map +1 -1
  312. package/dist/resource/shader/reflection/Tr2Pass.js +42 -43
  313. package/dist/resource/shader/reflection/Tr2Pass.js.map +1 -1
  314. package/dist/resource/shader/reflection/Tr2RenderStateSetup.js +26 -5
  315. package/dist/resource/shader/reflection/Tr2RenderStateSetup.js.map +1 -1
  316. package/dist/resource/shader/reflection/carbonRecordFields.js +87 -90
  317. package/dist/resource/shader/reflection/carbonRecordFields.js.map +1 -1
  318. package/dist/resource/shader/sampler/Tr2SamplerSetup.js +32 -34
  319. package/dist/resource/shader/sampler/Tr2SamplerSetup.js.map +1 -1
  320. package/dist/resource/texture/CjsTextureArrayRes.js +1 -6
  321. package/dist/resource/texture/CjsTextureArrayRes.js.map +1 -1
  322. package/dist/resource/texture/Tr2TextureLodManager.js +35 -27
  323. package/dist/resource/texture/Tr2TextureLodManager.js.map +1 -1
  324. package/dist/resource/texture/Tr2TextureLodUpdateRequest.js +16 -24
  325. package/dist/resource/texture/Tr2TextureLodUpdateRequest.js.map +1 -1
  326. package/dist/resource/texture/Tr2TexturePackChannel.js +16 -24
  327. package/dist/resource/texture/Tr2TexturePackChannel.js.map +1 -1
  328. package/dist/resource/texture/Tr2TexturePipeline.js +24 -20
  329. package/dist/resource/texture/Tr2TexturePipeline.js.map +1 -1
  330. package/dist/resource/texture/Tr2TexturePipelineParams.js +14 -23
  331. package/dist/resource/texture/Tr2TexturePipelineParams.js.map +1 -1
  332. package/dist/resource/texture/Tr2TexturePipelineStepCompress.js +18 -25
  333. package/dist/resource/texture/Tr2TexturePipelineStepCompress.js.map +1 -1
  334. package/dist/resource/texture/Tr2TexturePipelineStepGenerateMips.js +11 -16
  335. package/dist/resource/texture/Tr2TexturePipelineStepGenerateMips.js.map +1 -1
  336. package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js +14 -23
  337. package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js.map +1 -1
  338. package/dist/resource/texture/Tr2TexturePipelineStepLoad.js +12 -22
  339. package/dist/resource/texture/Tr2TexturePipelineStepLoad.js.map +1 -1
  340. package/dist/resource/texture/Tr2TexturePipelineStepPack.js +38 -26
  341. package/dist/resource/texture/Tr2TexturePipelineStepPack.js.map +1 -1
  342. package/dist/resource/worker/CjsResManMainThreadLoader.js +2 -5
  343. package/dist/resource/worker/CjsResManMainThreadLoader.js.map +1 -1
  344. package/dist/resource/worker/CjsResManWorkerLoader.js +6 -7
  345. package/dist/resource/worker/CjsResManWorkerLoader.js.map +1 -1
  346. package/dist/resource/worker/protocol.js +18 -1
  347. package/dist/resource/worker/protocol.js.map +1 -1
  348. package/dist/sof/EveSOF.js +2 -222
  349. package/dist/sof/EveSOF.js.map +1 -1
  350. package/dist/sof/SofDocumentBuilder.js +205 -0
  351. package/dist/sof/SofDocumentBuilder.js.map +1 -0
  352. package/dist/sof/faction/ErrSOFFactionColorSetTypeNotFound.js +16 -0
  353. package/dist/sof/faction/ErrSOFFactionColorSetTypeNotFound.js.map +1 -0
  354. package/dist/sof/faction/ErrSOFFactionColorSetTypeUnknown.js +16 -0
  355. package/dist/sof/faction/ErrSOFFactionColorSetTypeUnknown.js.map +1 -0
  356. package/dist/sof/faction/EveSOFDataFactionColorSet.js +3 -27
  357. package/dist/sof/faction/EveSOFDataFactionColorSet.js.map +1 -1
  358. package/dist/sof/faction/index.js +3 -1
  359. package/dist/sof/faction/index.js.map +1 -1
  360. package/dist/sof/generic/ErrSOFAreaShaderNotFound.js +18 -0
  361. package/dist/sof/generic/ErrSOFAreaShaderNotFound.js.map +1 -0
  362. package/dist/sof/generic/ErrSOFDecalShaderNotFound.js +18 -0
  363. package/dist/sof/generic/ErrSOFDecalShaderNotFound.js.map +1 -0
  364. package/dist/sof/generic/ErrSOFMaterialPrefixNotFound.js +21 -0
  365. package/dist/sof/generic/ErrSOFMaterialPrefixNotFound.js.map +1 -0
  366. package/dist/sof/generic/ErrSOFPatternMaterialPrefixNotFound.js +21 -0
  367. package/dist/sof/generic/ErrSOFPatternMaterialPrefixNotFound.js.map +1 -0
  368. package/dist/sof/generic/EveSOFDataGeneric.js +5 -69
  369. package/dist/sof/generic/EveSOFDataGeneric.js.map +1 -1
  370. package/dist/sof/generic/index.js +5 -1
  371. package/dist/sof/generic/index.js.map +1 -1
  372. package/dist/sof/index.js +23 -7
  373. package/dist/sof/index.js.map +1 -1
  374. package/dist/sof/pattern/ErrSOFProjectionNotFound.js +20 -0
  375. package/dist/sof/pattern/ErrSOFProjectionNotFound.js.map +1 -0
  376. package/dist/sof/pattern/EveSOFDataPattern.js +2 -17
  377. package/dist/sof/pattern/EveSOFDataPattern.js.map +1 -1
  378. package/dist/sof/pattern/index.js +2 -1
  379. package/dist/sof/pattern/index.js.map +1 -1
  380. package/dist/sof/shared/ErrSOFAreaTypeNotFound.js +16 -0
  381. package/dist/sof/shared/ErrSOFAreaTypeNotFound.js.map +1 -0
  382. package/dist/sof/shared/ErrSOFLogoSetTypeNotFound.js +16 -0
  383. package/dist/sof/shared/ErrSOFLogoSetTypeNotFound.js.map +1 -0
  384. package/dist/sof/shared/ErrSOFLogoSetTypeUnknown.js +16 -0
  385. package/dist/sof/shared/ErrSOFLogoSetTypeUnknown.js.map +1 -0
  386. package/dist/sof/shared/EveSOFDataArea.js +2 -13
  387. package/dist/sof/shared/EveSOFDataArea.js.map +1 -1
  388. package/dist/sof/shared/EveSOFDataLogoSet.js +3 -27
  389. package/dist/sof/shared/EveSOFDataLogoSet.js.map +1 -1
  390. package/dist/sof/shared/EveSOFDataParameter.js +2 -146
  391. package/dist/sof/shared/EveSOFDataParameter.js.map +1 -1
  392. package/dist/sof/shared/EveSOFDataParameterBool.js +40 -0
  393. package/dist/sof/shared/EveSOFDataParameterBool.js.map +1 -0
  394. package/dist/sof/shared/EveSOFDataParameterColor.js +36 -0
  395. package/dist/sof/shared/EveSOFDataParameterColor.js.map +1 -0
  396. package/dist/sof/shared/EveSOFDataParameterFloat.js +37 -0
  397. package/dist/sof/shared/EveSOFDataParameterFloat.js.map +1 -0
  398. package/dist/sof/shared/EveSOFDataParameterInt.js +37 -0
  399. package/dist/sof/shared/EveSOFDataParameterInt.js.map +1 -0
  400. package/dist/sof/shared/EveSOFDataParameterVector2.js +37 -0
  401. package/dist/sof/shared/EveSOFDataParameterVector2.js.map +1 -0
  402. package/dist/sof/shared/EveSOFDataParameterVector3.js +37 -0
  403. package/dist/sof/shared/EveSOFDataParameterVector3.js.map +1 -0
  404. package/dist/sof/shared/{EveSOFDataSpotlightAttachment.js → EveSOFDataSpotLightAttachment.js} +1 -1
  405. package/dist/sof/shared/{EveSOFDataSpotlightAttachment.js.map → EveSOFDataSpotLightAttachment.js.map} +1 -1
  406. package/dist/sof/shared/index.js +13 -4
  407. package/dist/sof/shared/index.js.map +1 -1
  408. package/dist/sof/sofDocumentValues.js +33 -0
  409. package/dist/sof/sofDocumentValues.js.map +1 -0
  410. package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js +168 -0
  411. package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js.map +1 -0
  412. package/dist/trinity/controllers/{ITr2Controller.js → ITr2Controller/ITr2Controller.js} +2 -134
  413. package/dist/trinity/controllers/ITr2Controller/ITr2Controller.js.map +1 -0
  414. package/dist/trinity/controllers/Tr2Controller.js +2 -1
  415. package/dist/trinity/controllers/Tr2Controller.js.map +1 -1
  416. package/dist/trinity/controllers/Tr2ControllerReference.js +2 -1
  417. package/dist/trinity/controllers/Tr2ControllerReference.js.map +1 -1
  418. package/dist/trinity/controllers/action/ITr2ControllerAction.js +2 -1
  419. package/dist/trinity/controllers/action/ITr2ControllerAction.js.map +1 -1
  420. package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js +10 -9
  421. package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js.map +1 -1
  422. package/dist/trinity/controllers/expression/CjsControllerExpressionCompileError.js +26 -0
  423. package/dist/trinity/controllers/expression/CjsControllerExpressionCompileError.js.map +1 -0
  424. package/dist/trinity/controllers/expression/CjsControllerExpressionEvaluateError.js +24 -0
  425. package/dist/trinity/controllers/expression/CjsControllerExpressionEvaluateError.js.map +1 -0
  426. package/dist/trinity/controllers/expression/CjsControllerExpressionParser.js +387 -0
  427. package/dist/trinity/controllers/expression/CjsControllerExpressionParser.js.map +1 -0
  428. package/dist/trinity/controllers/expression/CjsControllerExpressionProgram.js +4 -1011
  429. package/dist/trinity/controllers/expression/CjsControllerExpressionProgram.js.map +1 -1
  430. package/dist/trinity/controllers/expression/expressionRuntime.js +605 -0
  431. package/dist/trinity/controllers/expression/expressionRuntime.js.map +1 -0
  432. package/dist/trinity/controllers/index.js +5 -2
  433. package/dist/trinity/controllers/index.js.map +1 -1
  434. package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js +2 -1
  435. package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js.map +1 -1
  436. package/dist/trinity/controllers/timeline/Tr2TimelineController.js +2 -1
  437. package/dist/trinity/controllers/timeline/Tr2TimelineController.js.map +1 -1
  438. package/dist/trinity/core/ITr2Updateable.js +2 -1
  439. package/dist/trinity/core/ITr2Updateable.js.map +1 -1
  440. package/dist/trinity/core/Tr2Blitter.js +6 -3
  441. package/dist/trinity/core/Tr2Blitter.js.map +1 -1
  442. package/dist/trinity/core/Tr2Denoiser.js +256 -0
  443. package/dist/trinity/core/Tr2Denoiser.js.map +1 -0
  444. package/dist/trinity/core/Tr2GpuResourcePool/GpuResourceHandle.js +115 -0
  445. package/dist/trinity/core/Tr2GpuResourcePool/GpuResourceHandle.js.map +1 -0
  446. package/dist/trinity/core/Tr2GpuResourcePool/TextureSize2D.js +79 -0
  447. package/dist/trinity/core/Tr2GpuResourcePool/TextureSize2D.js.map +1 -0
  448. package/dist/trinity/core/{Tr2GpuResourcePool.js → Tr2GpuResourcePool/Tr2GpuResourcePool.js} +63 -151
  449. package/dist/trinity/core/Tr2GpuResourcePool/Tr2GpuResourcePool.js.map +1 -0
  450. package/dist/trinity/core/{Tr2QuadRenderer.js → Tr2QuadRenderer/Tr2QuadRenderer.js} +8 -30
  451. package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js.map +1 -0
  452. package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js +38 -0
  453. package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js.map +1 -0
  454. package/dist/trinity/core/Tr2RenderUtils.js +20 -3
  455. package/dist/trinity/core/Tr2RenderUtils.js.map +1 -1
  456. package/dist/trinity/core/Tr2Renderer.js +146 -1
  457. package/dist/trinity/core/Tr2Renderer.js.map +1 -1
  458. package/dist/trinity/core/Tr2ShadowMap.js +135 -14
  459. package/dist/trinity/core/Tr2ShadowMap.js.map +1 -1
  460. package/dist/trinity/core/{Tr2TextureArray.js → Tr2TextureArray/Tr2TextureArray.js} +3 -58
  461. package/dist/trinity/core/Tr2TextureArray/Tr2TextureArray.js.map +1 -0
  462. package/dist/trinity/core/Tr2TextureArray/Tr2TextureArrayElement.js +61 -0
  463. package/dist/trinity/core/Tr2TextureArray/Tr2TextureArrayElement.js.map +1 -0
  464. package/dist/trinity/core/batch/TriRenderBatch/DefaultKeyGenerator.js +26 -0
  465. package/dist/trinity/core/batch/TriRenderBatch/DefaultKeyGenerator.js.map +1 -0
  466. package/dist/trinity/core/batch/TriRenderBatch/EffectKeyGenerator.js +29 -0
  467. package/dist/trinity/core/batch/TriRenderBatch/EffectKeyGenerator.js.map +1 -0
  468. package/dist/trinity/core/batch/{ITriRenderBatchAccumulator.js → TriRenderBatch/ITriRenderBatchAccumulator.js} +30 -30
  469. package/dist/trinity/core/batch/TriRenderBatch/ITriRenderBatchAccumulator.js.map +1 -0
  470. package/dist/trinity/core/batch/{Tr2RenderBatch.js → TriRenderBatch/Tr2RenderBatch.js} +81 -154
  471. package/dist/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js.map +1 -0
  472. package/dist/trinity/core/batch/{TriRenderBatchAccumulator.js → TriRenderBatch/TriRenderBatchAccumulator.js} +7 -38
  473. package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAccumulator.js.map +1 -0
  474. package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlock.js +61 -0
  475. package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlock.js.map +1 -0
  476. package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlocksWithSharedMaterial.js +40 -0
  477. package/dist/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlocksWithSharedMaterial.js.map +1 -0
  478. package/dist/trinity/core/batch/TriRenderBatchMap.js +6 -1
  479. package/dist/trinity/core/batch/TriRenderBatchMap.js.map +1 -1
  480. package/dist/trinity/core/context/Tr2RenderContext.js +75 -57
  481. package/dist/trinity/core/context/Tr2RenderContext.js.map +1 -1
  482. package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityEvent.js +67 -0
  483. package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityEvent.js.map +1 -0
  484. package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityResults.js +50 -0
  485. package/dist/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityResults.js.map +1 -0
  486. package/dist/trinity/core/device/Tr2DepthStencil.js +186 -13
  487. package/dist/trinity/core/device/Tr2DepthStencil.js.map +1 -1
  488. package/dist/trinity/core/device/{Tr2RingBuffer.js → Tr2RingBuffer/Tr2RingBuffer.js} +27 -79
  489. package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js.map +1 -0
  490. package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBufferOffsets.js +114 -0
  491. package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBufferOffsets.js.map +1 -0
  492. package/dist/trinity/core/device/{Tr2SuballocatedBuffer.js → Tr2SuballocatedBuffer/Tr2SuballocatedBuffer.js} +5 -59
  493. package/dist/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBuffer.js.map +1 -0
  494. package/dist/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBufferAllocation.js +80 -0
  495. package/dist/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBufferAllocation.js.map +1 -0
  496. package/dist/trinity/core/index.js +42 -15
  497. package/dist/trinity/core/index.js.map +1 -1
  498. package/dist/trinity/core/lighting/Tr2LightManager.js +6 -1
  499. package/dist/trinity/core/lighting/Tr2LightManager.js.map +1 -1
  500. package/dist/trinity/core/mesh/{ITr2ImpostorSource.js → ITr2ImpostorSource/ITr2ImpostorSource.js} +6 -28
  501. package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js.map +1 -0
  502. package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSourceImpostorHash.js +32 -0
  503. package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSourceImpostorHash.js.map +1 -0
  504. package/dist/trinity/core/mesh/{ITr2InstanceData.js → ITr2InstanceData/ITr2InstanceData.js} +5 -29
  505. package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js.map +1 -0
  506. package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceDataInstanceData.js +33 -0
  507. package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceDataInstanceData.js.map +1 -0
  508. package/dist/trinity/core/mesh/Tr2DirectInstanceData.js +2 -1
  509. package/dist/trinity/core/mesh/Tr2DirectInstanceData.js.map +1 -1
  510. package/dist/trinity/core/mesh/Tr2MeshBase.js +7 -1
  511. package/dist/trinity/core/mesh/Tr2MeshBase.js.map +1 -1
  512. package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js +2 -1
  513. package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js.map +1 -1
  514. package/dist/trinity/core/mesh/TriGeometryResAllocations.js +6 -2
  515. package/dist/trinity/core/mesh/TriGeometryResAllocations.js.map +1 -1
  516. package/dist/trinity/core/rawData/CjsConstantLayout.js +196 -0
  517. package/dist/trinity/core/rawData/CjsConstantLayout.js.map +1 -0
  518. package/dist/trinity/core/rawData/CjsPerFrameLayouts.js +8 -3
  519. package/dist/trinity/core/rawData/CjsPerFrameLayouts.js.map +1 -1
  520. package/dist/trinity/core/rawData/CjsPerObjectLayouts.js +40 -732
  521. package/dist/trinity/core/rawData/CjsPerObjectLayouts.js.map +1 -1
  522. package/dist/trinity/core/rawData/layouts/CjsEveBasicLayout.js +34 -0
  523. package/dist/trinity/core/rawData/layouts/CjsEveBasicLayout.js.map +1 -0
  524. package/dist/trinity/core/rawData/layouts/CjsEveBoosterSetLayout.js +69 -0
  525. package/dist/trinity/core/rawData/layouts/CjsEveBoosterSetLayout.js.map +1 -0
  526. package/dist/trinity/core/rawData/layouts/CjsEveChildBoosterSetLayout.js +59 -0
  527. package/dist/trinity/core/rawData/layouts/CjsEveChildBoosterSetLayout.js.map +1 -0
  528. package/dist/trinity/core/rawData/layouts/CjsEveChildBulletStormLayout.js +37 -0
  529. package/dist/trinity/core/rawData/layouts/CjsEveChildBulletStormLayout.js.map +1 -0
  530. package/dist/trinity/core/rawData/layouts/CjsEveChildSpherePinLayout.js +44 -0
  531. package/dist/trinity/core/rawData/layouts/CjsEveChildSpherePinLayout.js.map +1 -0
  532. package/dist/trinity/core/rawData/layouts/CjsEveLensflareLayout.js +31 -0
  533. package/dist/trinity/core/rawData/layouts/CjsEveLensflareLayout.js.map +1 -0
  534. package/dist/trinity/core/rawData/layouts/CjsEveMissileWarheadLayout.js +29 -0
  535. package/dist/trinity/core/rawData/layouts/CjsEveMissileWarheadLayout.js.map +1 -0
  536. package/dist/trinity/core/rawData/layouts/CjsEvePerObjectLayout.js +39 -0
  537. package/dist/trinity/core/rawData/layouts/CjsEvePerObjectLayout.js.map +1 -0
  538. package/dist/trinity/core/rawData/layouts/CjsEveSceneStaticParticlesLayout.js +30 -0
  539. package/dist/trinity/core/rawData/layouts/CjsEveSceneStaticParticlesLayout.js.map +1 -0
  540. package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectDecalLayout.js +78 -0
  541. package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectDecalLayout.js.map +1 -0
  542. package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectLayout.js +169 -0
  543. package/dist/trinity/core/rawData/layouts/CjsEveSpaceObjectLayout.js.map +1 -0
  544. package/dist/trinity/core/rawData/layouts/CjsEveSpacePerObjectLayout.js +107 -0
  545. package/dist/trinity/core/rawData/layouts/CjsEveSpacePerObjectLayout.js.map +1 -0
  546. package/dist/trinity/core/rawData/layouts/CjsEveSpherePinLayout.js +44 -0
  547. package/dist/trinity/core/rawData/layouts/CjsEveSpherePinLayout.js.map +1 -0
  548. package/dist/trinity/core/rawData/layouts/CjsEveStretch2Layout.js +34 -0
  549. package/dist/trinity/core/rawData/layouts/CjsEveStretch2Layout.js.map +1 -0
  550. package/dist/trinity/core/rawData/layouts/CjsEveTurretSetLayout.js +82 -0
  551. package/dist/trinity/core/rawData/layouts/CjsEveTurretSetLayout.js.map +1 -0
  552. package/dist/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js +42 -0
  553. package/dist/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js.map +1 -0
  554. package/dist/trinity/core/rawData/perObjectData/EveBasicPerObjectData.js +55 -0
  555. package/dist/trinity/core/rawData/perObjectData/EveBasicPerObjectData.js.map +1 -0
  556. package/dist/trinity/core/rawData/perObjectData/EveBoosterSetPerObjectData.js +59 -0
  557. package/dist/trinity/core/rawData/perObjectData/EveBoosterSetPerObjectData.js.map +1 -0
  558. package/dist/trinity/core/rawData/perObjectData/EveChildBoosterSetPerObjectData.js +59 -0
  559. package/dist/trinity/core/rawData/perObjectData/EveChildBoosterSetPerObjectData.js.map +1 -0
  560. package/dist/trinity/core/rawData/perObjectData/EveChildBulletStormPerObjectData.js +55 -0
  561. package/dist/trinity/core/rawData/perObjectData/EveChildBulletStormPerObjectData.js.map +1 -0
  562. package/dist/trinity/core/rawData/perObjectData/EveChildSpherePinPerObjectData.js +55 -0
  563. package/dist/trinity/core/rawData/perObjectData/EveChildSpherePinPerObjectData.js.map +1 -0
  564. package/dist/trinity/core/rawData/perObjectData/EveDecalPerObjectData.js +59 -0
  565. package/dist/trinity/core/rawData/perObjectData/EveDecalPerObjectData.js.map +1 -0
  566. package/dist/trinity/core/rawData/perObjectData/EveLensflarePerObjectData.js +55 -0
  567. package/dist/trinity/core/rawData/perObjectData/EveLensflarePerObjectData.js.map +1 -0
  568. package/dist/trinity/core/rawData/perObjectData/EveMissileWarheadPerObjectData.js +55 -0
  569. package/dist/trinity/core/rawData/perObjectData/EveMissileWarheadPerObjectData.js.map +1 -0
  570. package/dist/trinity/core/rawData/perObjectData/EveSceneStaticParticlesPerObjectData.js +55 -0
  571. package/dist/trinity/core/rawData/perObjectData/EveSceneStaticParticlesPerObjectData.js.map +1 -0
  572. package/dist/trinity/core/rawData/perObjectData/EveSpherePinPerObjectData.js +55 -0
  573. package/dist/trinity/core/rawData/perObjectData/EveSpherePinPerObjectData.js.map +1 -0
  574. package/dist/trinity/core/rawData/perObjectData/EveTurretSetPerObjectData.js +59 -0
  575. package/dist/trinity/core/rawData/perObjectData/EveTurretSetPerObjectData.js.map +1 -0
  576. package/dist/trinity/core/rawData/perObjectData/StretchPerObjectData.js +55 -0
  577. package/dist/trinity/core/rawData/perObjectData/StretchPerObjectData.js.map +1 -0
  578. package/dist/trinity/core/rawData/{Tr2PerObjectData.js → perObjectData/Tr2PerObjectData.js} +110 -62
  579. package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectData.js.map +1 -0
  580. package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js +104 -0
  581. package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js.map +1 -0
  582. package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js +87 -0
  583. package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js.map +1 -0
  584. package/dist/trinity/core/variable/TriVariable.js +83 -83
  585. package/dist/trinity/core/variable/TriVariable.js.map +1 -1
  586. package/dist/trinity/core/vertex/{Tr2VertexDefinition.js → Tr2VertexDefinition/Tr2VertexDefinition.js} +4 -20
  587. package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js.map +1 -0
  588. package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinitionItem.js +29 -0
  589. package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinitionItem.js.map +1 -0
  590. package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js +116 -36
  591. package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js.map +1 -1
  592. package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js +50 -92
  593. package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js.map +1 -1
  594. package/dist/trinity/eve/EveModularObjectModifier.js +9 -5
  595. package/dist/trinity/eve/EveModularObjectModifier.js.map +1 -1
  596. package/dist/trinity/eve/IEveInheritPropertiesOwner.js +2 -1
  597. package/dist/trinity/eve/IEveInheritPropertiesOwner.js.map +1 -1
  598. package/dist/trinity/eve/IEveSpaceObject2.js +2 -1
  599. package/dist/trinity/eve/IEveSpaceObject2.js.map +1 -1
  600. package/dist/trinity/eve/IEveTransform.js +2 -1
  601. package/dist/trinity/eve/IEveTransform.js.map +1 -1
  602. package/dist/trinity/eve/attachment/banner/EveBannerSet.js +2 -2
  603. package/dist/trinity/eve/attachment/banner/EveBannerSet.js.map +1 -1
  604. package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js +109 -133
  605. package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js.map +1 -1
  606. package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js +40 -0
  607. package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js.map +1 -0
  608. package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js +1 -1
  609. package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js.map +1 -1
  610. package/dist/trinity/eve/attachment/decal/DecalMeshCache.js +2 -14
  611. package/dist/trinity/eve/attachment/decal/DecalMeshCache.js.map +1 -1
  612. package/dist/trinity/eve/attachment/decal/DecalMeshCacheMeshBuffers.js +18 -0
  613. package/dist/trinity/eve/attachment/decal/DecalMeshCacheMeshBuffers.js.map +1 -0
  614. package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js +1 -1
  615. package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js.map +1 -1
  616. package/dist/trinity/eve/attachment/haze/EveHazeSet.js +1 -1
  617. package/dist/trinity/eve/attachment/haze/EveHazeSet.js.map +1 -1
  618. package/dist/trinity/eve/attachment/plane/EvePlaneSet.js +1 -1
  619. package/dist/trinity/eve/attachment/plane/EvePlaneSet.js.map +1 -1
  620. package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js +2 -2
  621. package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js.map +1 -1
  622. package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js +1 -1
  623. package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js.map +1 -1
  624. package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js +4 -2
  625. package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js.map +1 -1
  626. package/dist/trinity/eve/attachment/turrets/EveTurretSet.js +143 -139
  627. package/dist/trinity/eve/attachment/turrets/EveTurretSet.js.map +1 -1
  628. package/dist/trinity/eve/camera/EveCamera.js +1 -1
  629. package/dist/trinity/eve/camera/EveCamera.js.map +1 -1
  630. package/dist/trinity/eve/child/EveChildBoosterSet.js +12 -1
  631. package/dist/trinity/eve/child/EveChildBoosterSet.js.map +1 -1
  632. package/dist/trinity/eve/child/EveChildCloud2.js +178 -151
  633. package/dist/trinity/eve/child/EveChildCloud2.js.map +1 -1
  634. package/dist/trinity/eve/child/EveChildContainer.js +141 -141
  635. package/dist/trinity/eve/child/EveChildContainer.js.map +1 -1
  636. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js +87 -0
  637. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js.map +1 -0
  638. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js +46 -0
  639. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js.map +1 -0
  640. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js +35 -0
  641. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js.map +1 -0
  642. package/dist/trinity/eve/child/{EveChildInstancedMeshes.js → EveChildInstancedMeshes/EveChildInstancedMeshes.js} +42 -163
  643. package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js.map +1 -0
  644. package/dist/trinity/eve/child/EveChildMesh.js +218 -218
  645. package/dist/trinity/eve/child/EveChildMesh.js.map +1 -1
  646. package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js +53 -0
  647. package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js.map +1 -0
  648. package/dist/trinity/eve/child/{EveChildPartData.js → EveChildPartData/EveChildPartDataPartData.js} +9 -45
  649. package/dist/trinity/eve/child/EveChildPartData/EveChildPartDataPartData.js.map +1 -0
  650. package/dist/trinity/eve/child/EveChildParticleSystem.js +30 -29
  651. package/dist/trinity/eve/child/EveChildParticleSystem.js.map +1 -1
  652. package/dist/trinity/eve/child/EveChildTransform.js +5 -0
  653. package/dist/trinity/eve/child/EveChildTransform.js.map +1 -1
  654. package/dist/trinity/eve/child/EveChildTurret.js +7 -0
  655. package/dist/trinity/eve/child/EveChildTurret.js.map +1 -1
  656. package/dist/trinity/eve/index.js +10 -4
  657. package/dist/trinity/eve/index.js.map +1 -1
  658. package/dist/trinity/eve/lights/Tr2Light.js +5 -0
  659. package/dist/trinity/eve/lights/Tr2Light.js.map +1 -1
  660. package/dist/trinity/eve/overlays/overlayBatches.js +6 -1
  661. package/dist/trinity/eve/overlays/overlayBatches.js.map +1 -1
  662. package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js +4 -4
  663. package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js.map +1 -1
  664. package/dist/trinity/eve/renderable/stretch/EveStretch2.js +76 -71
  665. package/dist/trinity/eve/renderable/stretch/EveStretch2.js.map +1 -1
  666. package/dist/trinity/eve/renderable/stretch/EveStretch3.js +1 -1
  667. package/dist/trinity/eve/renderable/stretch/EveStretch3.js.map +1 -1
  668. package/dist/trinity/eve/spaceObject/EveShip2.js +3 -3
  669. package/dist/trinity/eve/spaceObject/EveShip2.js.map +1 -1
  670. package/dist/trinity/eve/spaceObject/EveSpaceObject2.js +408 -407
  671. package/dist/trinity/eve/spaceObject/EveSpaceObject2.js.map +1 -1
  672. package/dist/trinity/eve/ui/EveTacticalOverlay.js +1 -1
  673. package/dist/trinity/eve/ui/EveTacticalOverlay.js.map +1 -1
  674. package/dist/trinity/eve/ui/lines/EveCurveLineSet.js +9 -9
  675. package/dist/trinity/eve/ui/lines/EveCurveLineSet.js.map +1 -1
  676. package/dist/trinity/eve/ui/lines/EveLineSet.js +27 -25
  677. package/dist/trinity/eve/ui/lines/EveLineSet.js.map +1 -1
  678. package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js +3 -2
  679. package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js.map +1 -1
  680. package/dist/trinity/generated/index.js +0 -1
  681. package/dist/trinity/generated/index.js.map +1 -1
  682. package/dist/trinity/generated/trinityCore/index.js +0 -1
  683. package/dist/trinity/generated/trinityCore/index.js.map +1 -1
  684. package/dist/trinity/index.js +59 -23
  685. package/dist/trinity/index.js.map +1 -1
  686. package/dist/trinity/particle/{ITr2GenericEmitter.js → ITr2GenericEmitter/ITr2GenericEmitter.js} +4 -32
  687. package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitter.js.map +1 -0
  688. package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitterUpdateArguments.js +36 -0
  689. package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitterUpdateArguments.js.map +1 -0
  690. package/dist/trinity/particle/Tr2ParticleSystem.js +4 -2
  691. package/dist/trinity/particle/Tr2ParticleSystem.js.map +1 -1
  692. package/dist/trinity/particle/element/Tr2ParticleElementData.js +15 -4
  693. package/dist/trinity/particle/element/Tr2ParticleElementData.js.map +1 -1
  694. package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js +21 -20
  695. package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js.map +1 -1
  696. package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js +23 -22
  697. package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js.map +1 -1
  698. package/dist/trinity/particle/emitter/Tr2StaticEmitter.js +14 -13
  699. package/dist/trinity/particle/emitter/Tr2StaticEmitter.js.map +1 -1
  700. package/dist/trinity/particle/index.js +2 -1
  701. package/dist/trinity/particle/index.js.map +1 -1
  702. package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js +7 -1
  703. package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js.map +1 -1
  704. package/dist/trinity/shader/Tr2Effect.js +131 -58
  705. package/dist/trinity/shader/Tr2Effect.js.map +1 -1
  706. package/dist/trinity/shader/Tr2EffectStateManager.js +17 -5
  707. package/dist/trinity/shader/Tr2EffectStateManager.js.map +1 -1
  708. package/dist/trinity/shader/Tr2Material.js +21 -4
  709. package/dist/trinity/shader/Tr2Material.js.map +1 -1
  710. package/dist/trinity/shader/material/Tr2EffectPassParameters.js +4 -1
  711. package/dist/trinity/shader/material/Tr2EffectPassParameters.js.map +1 -1
  712. package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js +2 -2
  713. package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js.map +1 -1
  714. package/dist/trinityal/Tr2BufferAL/Tr2BufferDescriptionAL.js +79 -0
  715. package/dist/trinityal/Tr2BufferAL/Tr2BufferDescriptionAL.js.map +1 -0
  716. package/dist/trinityal/{Tr2DeviceResourceAL.js → Tr2DeviceResourceAL/Tr2BaseDeviceResourceAL.js} +77 -79
  717. package/dist/trinityal/Tr2DeviceResourceAL/Tr2BaseDeviceResourceAL.js.map +1 -0
  718. package/dist/trinityal/Tr2DeviceResourceAL/Tr2DeviceResourceAL.js +24 -0
  719. package/dist/trinityal/Tr2DeviceResourceAL/Tr2DeviceResourceAL.js.map +1 -0
  720. package/dist/trinityal/Tr2DrawUPHelper.js +2 -1
  721. package/dist/trinityal/Tr2DrawUPHelper.js.map +1 -1
  722. package/dist/trinityal/Tr2HalHelperStructures/Tr2MsaaDesc.js +45 -0
  723. package/dist/trinityal/Tr2HalHelperStructures/Tr2MsaaDesc.js.map +1 -0
  724. package/dist/trinityal/Tr2HalHelperStructures/Tr2SamplerDescription.js +154 -0
  725. package/dist/trinityal/Tr2HalHelperStructures/Tr2SamplerDescription.js.map +1 -0
  726. package/dist/trinityal/Tr2HalHelperStructures/Tr2SubresourceData.js +48 -0
  727. package/dist/trinityal/Tr2HalHelperStructures/Tr2SubresourceData.js.map +1 -0
  728. package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureCoordBox.js +75 -0
  729. package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureCoordBox.js.map +1 -0
  730. package/dist/trinityal/{Tr2HalHelperStructures.js → Tr2HalHelperStructures/Tr2TextureSubresource.js} +11 -115
  731. package/dist/trinityal/Tr2HalHelperStructures/Tr2TextureSubresource.js.map +1 -0
  732. package/dist/trinityal/Tr2HalHelperStructures/Tr2Viewport.js +51 -0
  733. package/dist/trinityal/Tr2HalHelperStructures/Tr2Viewport.js.map +1 -0
  734. package/dist/trinityal/{Tr2RenderPassAL.js → Tr2RenderPassAL/Tr2ColorAttachment.js} +5 -28
  735. package/dist/trinityal/Tr2RenderPassAL/Tr2ColorAttachment.js.map +1 -0
  736. package/dist/trinityal/Tr2RenderPassAL/Tr2DepthAttachment.js +38 -0
  737. package/dist/trinityal/Tr2RenderPassAL/Tr2DepthAttachment.js.map +1 -0
  738. package/dist/trinityal/Tr2ResourceSetAL/Tr2RegisterMapAL.js +80 -0
  739. package/dist/trinityal/Tr2ResourceSetAL/Tr2RegisterMapAL.js.map +1 -0
  740. package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetAL.js +76 -0
  741. package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetAL.js.map +1 -0
  742. package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetALStub.js +96 -0
  743. package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetALStub.js.map +1 -0
  744. package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetDescriptionAL.js +196 -0
  745. package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetDescriptionAL.js.map +1 -0
  746. package/dist/trinityal/index.js +22 -9
  747. package/dist/trinityal/index.js.map +1 -1
  748. package/dist/trinityal/stub/Tr2BufferALStub.js +86 -141
  749. package/dist/trinityal/stub/Tr2BufferALStub.js.map +1 -1
  750. package/dist/trinityal/stub/Tr2CapsALStub.js +17 -0
  751. package/dist/trinityal/stub/Tr2CapsALStub.js.map +1 -1
  752. package/dist/trinityal/stub/Tr2ConstantBufferALStub.js +57 -41
  753. package/dist/trinityal/stub/Tr2ConstantBufferALStub.js.map +1 -1
  754. package/dist/trinityal/stub/Tr2FenceALStub.js +18 -2
  755. package/dist/trinityal/stub/Tr2FenceALStub.js.map +1 -1
  756. package/dist/trinityal/stub/Tr2GpuTimerALStub.js +97 -0
  757. package/dist/trinityal/stub/Tr2GpuTimerALStub.js.map +1 -0
  758. package/dist/trinityal/stub/Tr2OcclusionQueryALStub.js +124 -0
  759. package/dist/trinityal/stub/Tr2OcclusionQueryALStub.js.map +1 -0
  760. package/dist/trinityal/stub/Tr2PipelineStatsQueryALStub/Tr2PipelineStatsQueryALStub.js +146 -0
  761. package/dist/trinityal/stub/Tr2PipelineStatsQueryALStub/Tr2PipelineStatsQueryALStub.js.map +1 -0
  762. package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2BindlessResourcesAL.js +28 -0
  763. package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2BindlessResourcesAL.js.map +1 -0
  764. package/dist/trinityal/stub/{Tr2RenderContextALStub.js → Tr2RenderContextALStub/Tr2RenderContextALStub.js} +70 -75
  765. package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2RenderContextALStub.js.map +1 -0
  766. package/dist/trinityal/stub/Tr2SamplerStateALStub.js +47 -31
  767. package/dist/trinityal/stub/Tr2SamplerStateALStub.js.map +1 -1
  768. package/dist/trinityal/stub/Tr2ShaderALStub.js +61 -45
  769. package/dist/trinityal/stub/Tr2ShaderALStub.js.map +1 -1
  770. package/dist/trinityal/stub/Tr2ShaderProgramALStub.js +51 -33
  771. package/dist/trinityal/stub/Tr2ShaderProgramALStub.js.map +1 -1
  772. package/dist/trinityal/stub/Tr2SwapChainALStub.js +61 -45
  773. package/dist/trinityal/stub/Tr2SwapChainALStub.js.map +1 -1
  774. package/dist/trinityal/stub/Tr2TextureALStub.js +188 -171
  775. package/dist/trinityal/stub/Tr2TextureALStub.js.map +1 -1
  776. package/dist/trinityal/stub/Tr2VertexLayoutALStub.js +43 -27
  777. package/dist/trinityal/stub/Tr2VertexLayoutALStub.js.map +1 -1
  778. package/dist/trinityal/stub/{Tr2VideoAdapterInfoALStub.js → Tr2VideoAdapterInfoStub.js} +16 -1
  779. package/dist/trinityal/stub/Tr2VideoAdapterInfoStub.js.map +1 -0
  780. package/dist/trinityal/stub/index.js +8 -4
  781. package/dist/trinityal/stub/index.js.map +1 -1
  782. package/dist/trinityal/vertexLayoutMatch.js +2 -2
  783. package/dist/trinityal/vertexLayoutMatch.js.map +1 -1
  784. package/dist/trinityal/webgpu/CjsWebgpuBufferAL.js +105 -90
  785. package/dist/trinityal/webgpu/CjsWebgpuBufferAL.js.map +1 -1
  786. package/dist/trinityal/webgpu/CjsWebgpuCapsAL.js +17 -0
  787. package/dist/trinityal/webgpu/CjsWebgpuCapsAL.js.map +1 -1
  788. package/dist/trinityal/webgpu/CjsWebgpuConstantBufferAL.js +15 -0
  789. package/dist/trinityal/webgpu/CjsWebgpuConstantBufferAL.js.map +1 -1
  790. package/dist/trinityal/webgpu/CjsWebgpuDevice.js +2 -2
  791. package/dist/trinityal/webgpu/CjsWebgpuDevice.js.map +1 -1
  792. package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js +900 -938
  793. package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js.map +1 -1
  794. package/dist/trinityal/webgpu/CjsWebgpuResourceSetAL.js +56 -60
  795. package/dist/trinityal/webgpu/CjsWebgpuResourceSetAL.js.map +1 -1
  796. package/dist/trinityal/webgpu/CjsWebgpuSamplerStateAL.js +16 -1
  797. package/dist/trinityal/webgpu/CjsWebgpuSamplerStateAL.js.map +1 -1
  798. package/dist/trinityal/webgpu/CjsWebgpuShaderAL.js +100 -379
  799. package/dist/trinityal/webgpu/CjsWebgpuShaderAL.js.map +1 -1
  800. package/dist/trinityal/webgpu/CjsWebgpuShaderProgramAL.js +330 -0
  801. package/dist/trinityal/webgpu/CjsWebgpuShaderProgramAL.js.map +1 -0
  802. package/dist/trinityal/webgpu/CjsWebgpuTextureAL.js +15 -0
  803. package/dist/trinityal/webgpu/CjsWebgpuTextureAL.js.map +1 -1
  804. package/dist/trinityal/webgpu/core/{constantArena.js → CjsWebgpuConstantArena.js} +1 -1
  805. package/dist/trinityal/webgpu/core/CjsWebgpuConstantArena.js.map +1 -0
  806. package/dist/trinityal/webgpu/core/{batchGroups.js → CjsWebgpuEncodeState.js} +1 -1
  807. package/dist/trinityal/webgpu/core/CjsWebgpuEncodeState.js.map +1 -0
  808. package/dist/trinityal/webgpu/core/{perFrameSource.js → CjsWebgpuPerFrameSource.js} +1 -1
  809. package/dist/trinityal/webgpu/core/CjsWebgpuPerFrameSource.js.map +1 -0
  810. package/dist/trinityal/webgpu/core/{pipelineCache.js → CjsWebgpuPipelineCache.js} +1 -1
  811. package/dist/trinityal/webgpu/core/CjsWebgpuPipelineCache.js.map +1 -0
  812. package/dist/trinityal/webgpu/core/{psoDescription.js → CjsWebgpuPsoDescription.js} +2 -2
  813. package/dist/trinityal/webgpu/core/CjsWebgpuPsoDescription.js.map +1 -0
  814. package/dist/trinityal/webgpu/core/{renderTarget.js → CjsWebgpuRenderTarget.js} +1 -1
  815. package/dist/trinityal/webgpu/core/CjsWebgpuRenderTarget.js.map +1 -0
  816. package/dist/trinityal/webgpu/core/{samplerSource.js → CjsWebgpuSamplerSource.js} +1 -1
  817. package/dist/trinityal/webgpu/core/CjsWebgpuSamplerSource.js.map +1 -0
  818. package/dist/trinityal/webgpu/core/{textureSource.js → CjsWebgpuTextureSource.js} +1 -1
  819. package/dist/trinityal/webgpu/core/CjsWebgpuTextureSource.js.map +1 -0
  820. package/dist/trinityal/webgpu/core/{trinityBatchDispatcher.js → CjsWebgpuTrinityBatchDispatcher.js} +4 -4
  821. package/dist/trinityal/webgpu/core/CjsWebgpuTrinityBatchDispatcher.js.map +1 -0
  822. package/dist/trinityal/webgpu/core/{trinityBatchResolver.js → CjsWebgpuTrinityBatchResolver.js} +81 -81
  823. package/dist/trinityal/webgpu/core/CjsWebgpuTrinityBatchResolver.js.map +1 -0
  824. package/dist/trinityal/webgpu/core/{trinityPassEncoder.js → CjsWebgpuTrinityPassEncoder.js} +2 -2
  825. package/dist/trinityal/webgpu/core/CjsWebgpuTrinityPassEncoder.js.map +1 -0
  826. package/dist/trinityal/webgpu/core/{workQueue.js → CjsWebgpuWorkQueue.js} +1 -1
  827. package/dist/trinityal/webgpu/core/CjsWebgpuWorkQueue.js.map +1 -0
  828. package/dist/trinityal/webgpu/internal.js +12 -11
  829. package/dist/trinityal/webgpu/internal.js.map +1 -1
  830. package/docs/audio/reference/classes/trinity.md +44 -34
  831. package/docs/character/architecture.md +276 -0
  832. package/docs/character/reference/character-appearance-plans.md +30 -66
  833. package/docs/character/reference/prepared-libraries.md +14 -30
  834. package/docs/global/reference/api.md +2 -1
  835. package/docs/global/reference/classes/README.md +53 -71
  836. package/docs/global/reference/classes/dropped.md +16 -0
  837. package/docs/resource/README.md +19 -15
  838. package/docs/resource/architecture.md +9 -2
  839. package/docs/resource/concepts/format-capabilities.md +124 -80
  840. package/docs/resource/concepts/shared-format-helpers.md +94 -0
  841. package/docs/resource/formats/README.md +230 -224
  842. package/docs/resource/formats/bitknit2.md +221 -0
  843. package/docs/resource/formats/carbon-effect-container.md +184 -269
  844. package/docs/resource/formats/gr2.md +6 -1
  845. package/docs/resource/formats/schemabound.md +28 -48
  846. package/docs/resource/formats/static.md +70 -97
  847. package/docs/resource/formats/webgl/carbon-constant-layouts.md +8 -8
  848. package/docs/resource/formats/webgl/decl-io.md +165 -256
  849. package/docs/resource/formats/webgl/memory-structured.md +64 -142
  850. package/docs/resource/formats/webgl/texture-sample.md +109 -138
  851. package/docs/resource/formats/webgpu/formats/carbon-webgpu.md +38 -69
  852. package/docs/resource/formats/webgpu/guides/effect-packaging.md +54 -116
  853. package/docs/resource/formats/webgpu/reference/api.md +64 -67
  854. package/docs/resource/formats/webgpu/reference/wgsl-compatibility.md +158 -345
  855. package/docs/resource/reference/classes/core.md +256 -236
  856. package/docs/resource/reference/classes/formats.md +1668 -1672
  857. package/docs/resource/reference/workers.md +4 -2
  858. package/docs/sof/reference/classes/core.md +1 -1
  859. package/docs/sof/reference/classes/faction.md +2 -2
  860. package/docs/sof/reference/classes/generic.md +4 -4
  861. package/docs/sof/reference/classes/pattern.md +1 -1
  862. package/docs/sof/reference/classes/shared.md +10 -10
  863. package/docs/trinity/architecture.md +55 -44
  864. package/docs/trinity/concepts/generated-class-lifecycle.md +10 -15
  865. package/docs/trinity/reference/classes/curves-and-utilities.md +496 -506
  866. package/docs/trinity/reference/classes/dropped.md +0 -189
  867. package/docs/trinity/reference/classes/eve-runtime.md +8 -8
  868. package/docs/trinity/reference/classes/generated.md +0 -10
  869. package/docs/trinity/reference/classes/particle.md +2 -2
  870. package/docs/trinity/reference/classes/trinity-core.md +1554 -1256
  871. package/docs/trinity/reference/implementation-status.md +50 -75
  872. package/docs/trinity/reference/main-semantic-extraction.md +13 -17
  873. package/docs/trinityal/reference/classes/README.md +77 -27
  874. package/docs/trinityal/reference/classes/dropped.md +92 -0
  875. package/docs/trinityal/webgpu/README.md +3 -1
  876. package/docs/trinityal/webgpu/architecture.md +121 -228
  877. package/docs/trinityal/webgpu/reference/api.md +5 -5
  878. package/docs/trinityal/webgpu/reference/classes/README.md +13 -13
  879. package/format-notices/gr2/NOTICE +18 -12
  880. package/format-notices/gr2/THIRD-PARTY-NOTICES.md +5 -5
  881. package/package.json +4 -1
  882. package/dist/audio/trinity/audio/AudActionLog.js +0 -173
  883. package/dist/audio/trinity/audio/AudActionLog.js.map +0 -1
  884. package/dist/audio/trinity/audio/AudObstructionOcclusion.js.map +0 -1
  885. package/dist/global/contracts/CjsScriptCallback.js +0 -94
  886. package/dist/global/contracts/CjsScriptCallback.js.map +0 -1
  887. package/dist/trinity/controllers/ITr2Controller.js.map +0 -1
  888. package/dist/trinity/core/Tr2GpuResourcePool.js.map +0 -1
  889. package/dist/trinity/core/Tr2QuadRenderer.js.map +0 -1
  890. package/dist/trinity/core/Tr2TextureArray.js.map +0 -1
  891. package/dist/trinity/core/batch/ITriRenderBatchAccumulator.js.map +0 -1
  892. package/dist/trinity/core/batch/Tr2RenderBatch.js.map +0 -1
  893. package/dist/trinity/core/batch/TriRenderBatchAccumulator.js.map +0 -1
  894. package/dist/trinity/core/context/CjsShadowMapExecutor.js +0 -43
  895. package/dist/trinity/core/context/CjsShadowMapExecutor.js.map +0 -1
  896. package/dist/trinity/core/context/CjsVolumetricsExecutor.js +0 -64
  897. package/dist/trinity/core/context/CjsVolumetricsExecutor.js.map +0 -1
  898. package/dist/trinity/core/context/Tr2VisibilityResults.js +0 -109
  899. package/dist/trinity/core/context/Tr2VisibilityResults.js.map +0 -1
  900. package/dist/trinity/core/device/Tr2RingBuffer.js.map +0 -1
  901. package/dist/trinity/core/device/Tr2SuballocatedBuffer.js.map +0 -1
  902. package/dist/trinity/core/mesh/ITr2ImpostorSource.js.map +0 -1
  903. package/dist/trinity/core/mesh/ITr2InstanceData.js.map +0 -1
  904. package/dist/trinity/core/rawData/Tr2PerObjectData.js.map +0 -1
  905. package/dist/trinity/core/rawData/constantLayout.js +0 -175
  906. package/dist/trinity/core/rawData/constantLayout.js.map +0 -1
  907. package/dist/trinity/core/vertex/Tr2VertexDefinition.js.map +0 -1
  908. package/dist/trinity/eve/child/EveChildInstancedMeshes.js.map +0 -1
  909. package/dist/trinity/eve/child/EveChildPartData.js.map +0 -1
  910. package/dist/trinity/generated/trinityCore/Tr2Denoiser.js +0 -47
  911. package/dist/trinity/generated/trinityCore/Tr2Denoiser.js.map +0 -1
  912. package/dist/trinity/particle/ITr2GenericEmitter.js.map +0 -1
  913. package/dist/trinityal/Tr2DeviceResourceAL.js.map +0 -1
  914. package/dist/trinityal/Tr2HalHelperStructures.js.map +0 -1
  915. package/dist/trinityal/Tr2RenderPassAL.js.map +0 -1
  916. package/dist/trinityal/Tr2ResourceSetAL.js +0 -419
  917. package/dist/trinityal/Tr2ResourceSetAL.js.map +0 -1
  918. package/dist/trinityal/Tr2SamplerDescription.js +0 -72
  919. package/dist/trinityal/Tr2SamplerDescription.js.map +0 -1
  920. package/dist/trinityal/stub/Tr2QueryALStub.js +0 -326
  921. package/dist/trinityal/stub/Tr2QueryALStub.js.map +0 -1
  922. package/dist/trinityal/stub/Tr2RenderContextALStub.js.map +0 -1
  923. package/dist/trinityal/stub/Tr2VideoAdapterInfoALStub.js.map +0 -1
  924. package/dist/trinityal/webgpu/core/batchGroups.js.map +0 -1
  925. package/dist/trinityal/webgpu/core/constantArena.js.map +0 -1
  926. package/dist/trinityal/webgpu/core/perFrameSource.js.map +0 -1
  927. package/dist/trinityal/webgpu/core/pipelineCache.js.map +0 -1
  928. package/dist/trinityal/webgpu/core/psoDescription.js.map +0 -1
  929. package/dist/trinityal/webgpu/core/renderTarget.js.map +0 -1
  930. package/dist/trinityal/webgpu/core/samplerSource.js.map +0 -1
  931. package/dist/trinityal/webgpu/core/textureSource.js.map +0 -1
  932. package/dist/trinityal/webgpu/core/trinityBatchDispatcher.js.map +0 -1
  933. package/dist/trinityal/webgpu/core/trinityBatchResolver.js.map +0 -1
  934. package/dist/trinityal/webgpu/core/trinityPassEncoder.js.map +0 -1
  935. package/dist/trinityal/webgpu/core/workQueue.js.map +0 -1
@@ -1,1236 +1,1514 @@
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 GPU-free constant data, shader and material facades, and device-presentation records an engine realizes from the Trinity graph.
7
-
8
- <!-- class:RawData -->
9
- ## `RawData`
10
-
11
- A packed constant-data slice bound to a resolved layout.
12
-
13
- - Export: `@carbonenginejs/runtime/trinity/core`
14
- - Source: `src/trinity/core/rawData/RawData.js`
15
- - Visibility: Public
16
- - Kind: CarbonEngineJS
17
-
18
- <!-- class:TriPoolAllocator -->
19
- ## `TriPoolAllocator`
20
-
21
- Registers constant-data struct shapes and leases packed payloads from a per-engine arena.
22
-
23
- - Export: `@carbonenginejs/runtime/trinity/core`
24
- - Source: `src/trinity/core/rawData/TriPoolAllocator.js`
25
- - Visibility: Public
26
- - Kind: CarbonEngineJS
27
-
28
- <!-- class:Tr2VertexDefinition -->
29
- ## `Tr2VertexDefinition`
30
-
31
- A mesh's vertex element list, and the matching of it to a shader's inputs.
32
-
33
- - Export: `@carbonenginejs/runtime/trinity/core`
34
- - Source: `src/trinity/core/vertex/Tr2VertexDefinition.js`
35
- - Visibility: Public
36
- - Kind: CarbonEngineJS
37
-
38
- <!-- class:Tr2BindingVector3 -->
39
- ## `Tr2BindingVector3`
40
-
41
- Tr2BindingVector3 (trinityCore) - generated from schema shapeHash a8ef1406....
42
-
43
- - Export: @carbonenginejs/runtime/trinity/core
44
- - Source: src/trinity/core/binding/Tr2BindingVector3.js
45
- - Visibility: Public
46
- - Kind: CarbonEngineJS
47
-
48
- <!-- class:CjsShadowMapExecutor -->
49
- ## `CjsShadowMapExecutor`
50
-
51
- Defines the nominal backend contract for realizing Trinity's cascaded-shadow intents.
52
-
53
- Its base methods throw until an engine supplies physical atlas and pass work.
54
-
55
- - Export: `@carbonenginejs/runtime/trinity/core`
56
- - Source: `src/trinity/core/context/CjsShadowMapExecutor.js`
57
- - Visibility: Public
58
- - Kind: CarbonEngineJS
59
-
60
- <!-- class:CjsVolumetricsExecutor -->
61
- ## `CjsVolumetricsExecutor`
62
-
63
- Nominal backend contract for realizing Trinity's volumetric and froxel-fog intents.
64
-
65
- - Export: `@carbonenginejs/runtime/trinity/core`
66
- - Source: `src/trinity/core/context/CjsVolumetricsExecutor.js`
67
- - Visibility: Public
68
- - Kind: CarbonEngineJS
69
-
70
- <!-- class:ITr2Renderable -->
71
- ## `ITr2Renderable`
72
-
73
- Trinity-owned contract for objects collected through the renderable path.
74
-
75
- Its Carbon visibility default is concrete; required batch, transparency,
76
- sorting, and per-object-data methods throw until a provider implements them.
77
-
78
- - Export: `@carbonenginejs/runtime/trinity/core`
79
- - Source: `src/trinity/core/ITr2Renderable.js`
80
- - Visibility: Public
81
- - Kind: CarbonEngineJS
82
-
83
- <!-- class:ITr2ImpostorSource -->
84
- ## `ITr2ImpostorSource`
85
-
86
- Contract for an object that can be captured into an impostor atlas.
87
-
88
- - Export: `@carbonenginejs/runtime/trinity/core`
89
- - Source: `src/trinity/core/mesh/ITr2ImpostorSource.js`
90
- - Visibility: Public
91
- - Kind: CarbonEngineJS
92
-
93
- <!-- class:ITr2ImpostorSourceImpostorHash -->
94
- ## `ITr2ImpostorSourceImpostorHash`
95
-
96
- Camera directions used to decide when an impostor must be recaptured.
97
-
98
- - Export: `@carbonenginejs/runtime/trinity/core`
99
- - Source: `src/trinity/core/mesh/ITr2ImpostorSource.js`
100
- - Visibility: Public
101
- - Kind: CarbonEngineJS
102
-
103
- <!-- class:ITr2InstanceData -->
104
- ## `ITr2InstanceData`
105
-
106
- Contract for a provider of instance-stream data and layout metadata.
107
-
108
- - Export: `@carbonenginejs/runtime/trinity/core`
109
- - Source: `src/trinity/core/mesh/ITr2InstanceData.js`
110
- - Visibility: Public
111
- - Kind: CarbonEngineJS
112
-
113
- <!-- class:ITr2InstanceDataInstanceData -->
114
- ## `ITr2InstanceDataInstanceData`
115
-
116
- One realized instance-buffer slice returned by an ITr2InstanceData provider.
117
-
118
- - Export: `@carbonenginejs/runtime/trinity/core`
119
- - Source: `src/trinity/core/mesh/ITr2InstanceData.js`
120
- - Visibility: Public
121
- - Kind: CarbonEngineJS
122
-
123
- <!-- class:Tr2UpscalingTechniqueInfo -->
124
- ## `Tr2UpscalingTechniqueInfo`
125
-
126
- One device-reported upscaling technique and the quality settings and frame generation support available for it.
127
-
128
- - Export: `@carbonenginejs/runtime/trinity/core`
129
- - Source: `src/trinity/core/device/Tr2UpscalingTechniqueInfo.js`
130
- - Visibility: Public
131
- - Kind: CarbonEngineJS
132
-
133
- <!-- class:Tr2Transform -->
134
- ## `Tr2Transform`
135
-
136
- Provides the common placeable-renderable transform behavior.
137
-
138
- It advances curve sets, composes SRT state, preserves motion history, applies
139
- Carbon's camera modifiers, delegates batches, and computes sort distance.
140
-
141
- - Export: `@carbonenginejs/runtime/trinity/core`
142
- - Source: `src/trinity/core/Tr2Transform.js`
143
- - Visibility: Public
144
- - Kind: CarbonEngineJS
145
-
146
- <!-- class:Tr2ShadowMap -->
147
- ## `Tr2ShadowMap`
148
-
149
- Produces cascaded-shadow endpoints, bounds, frusta, and logical per-split data.
150
-
151
- Physical rendering delegates to the installed shadow executor.
152
-
153
- - Export: `@carbonenginejs/runtime/trinity/core`
154
- - Source: `src/trinity/core/Tr2ShadowMap.js`
155
- - Visibility: Public
156
- - Kind: CarbonEngineJS
157
-
158
- <!-- class:Tr2VolumetricsRenderer -->
159
- ## `Tr2VolumetricsRenderer`
160
-
161
- Blends froxel-fog state and writes Carbon's inline per-frame fog constants.
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 GPU-free constant data, shader and material facades, and device-presentation records an engine realizes from the Trinity graph.
7
+
8
+ <!-- class:Tr2Denoiser -->
9
+ ## `Tr2Denoiser`
162
10
 
163
- Physical fog, volumetric, environment-map, and shadow rendering delegate
164
- through the nominal throwing `CjsVolumetricsExecutor` engine contract.
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.
165
12
 
166
13
  - Export: `@carbonenginejs/runtime/trinity/core`
167
- - Source: `src/trinity/core/volumetrics/Tr2VolumetricsRenderer.js`
168
- - Visibility: Public
169
- - Kind: CarbonEngineJS
170
-
171
- <!-- class:Tr2DynamicBinding -->
172
- ## `Tr2DynamicBinding`
173
-
174
- 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.
175
-
176
- - Export: @carbonenginejs/runtime/trinity/core
177
- - Source: src/trinity/core/binding/Tr2DynamicBinding.js
178
- - Visibility: Public
179
- - Kind: CarbonEngineJS
180
-
181
- <!-- class:Tr2ExternalParameter -->
182
- ## `Tr2ExternalParameter`
183
-
184
- A named handle onto one attribute - optionally one vector component - of another object, exposing it for type-checked reads and writes.
185
-
186
- - Export: @carbonenginejs/runtime/trinity/core
187
- - Source: src/trinity/core/binding/Tr2ExternalParameter.js
188
- - Visibility: Public
189
- - Kind: CarbonEngineJS
190
-
191
- <!-- class:Tr2PyValueBinding -->
192
- ## `Tr2PyValueBinding`
193
-
194
- Tr2PyValueBinding (trinityCore) - generated from schema shapeHash 435f9fdc....
195
-
196
- - Export: @carbonenginejs/runtime/trinity/core
197
- - Source: src/trinity/core/binding/Tr2PyValueBinding.js
198
- - Visibility: Public
199
- - Kind: CarbonEngineJS
200
-
201
- <!-- class:TriValueBinding -->
202
- ## `TriValueBinding`
203
-
204
- 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.
205
-
206
- - Export: @carbonenginejs/runtime/trinity/core
207
- - Source: src/trinity/core/binding/TriValueBinding.js
208
- - Visibility: Public
209
- - Kind: CarbonEngineJS
210
-
211
- <!-- class:CjsBatchManager -->
212
- ## `CjsBatchManager`
213
-
214
- Owns the per-library render-batch producer and collector registry and drives the GPU-free per-frame flow of realize, build, finalize into one accumulator per batch type.
215
-
216
- - Export: @carbonenginejs/runtime/trinity/core
217
- - Source: src/trinity/core/batch/CjsBatchManager.js
218
- - Visibility: Public
219
- - Kind: CarbonEngineJS
220
-
221
- <!-- class:GrannyBoneOffset -->
222
- ## `GrannyBoneOffset`
223
-
224
- 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.
225
-
226
- - Export: @carbonenginejs/runtime/trinity/core
227
- - Source: src/trinity/core/animation/GrannyBoneOffset.js
228
- - Visibility: Public
229
- - Kind: CarbonEngineJS
230
-
231
- <!-- class:ITriRenderBatchAccumulator -->
232
- ## `ITriRenderBatchAccumulator`
233
-
234
- 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.
235
-
236
- - Export: @carbonenginejs/runtime/trinity/core
237
- - Source: src/trinity/core/batch/ITriRenderBatchAccumulator.js
238
- - Visibility: Public
239
- - Kind: CarbonEngineJS
240
-
241
- <!-- class:CjsPerFrameLayouts -->
242
- ## `CjsPerFrameLayouts`
243
-
244
- Resolved per-frame layouts, keyed by struct name.
245
-
246
- - Export: @carbonenginejs/runtime/trinity/perframe
247
- - Source: src/trinity/core/rawData/CjsPerFrameLayouts.js
248
- - Visibility: Public
249
- - Kind: CarbonEngineJS
250
-
251
- <!-- class:CjsPerObjectLayouts -->
252
- ## `CjsPerObjectLayouts`
253
-
254
- Resolved per-object layouts, keyed by struct name.
255
-
256
- - Export: @carbonenginejs/runtime/trinity/perobject
257
- - Source: src/trinity/core/rawData/CjsPerObjectLayouts.js
258
- - Visibility: Public
259
- - Kind: CarbonEngineJS
260
-
261
- <!-- class:Tr2BoundingLineSet -->
262
- ## `Tr2BoundingLineSet`
263
-
264
- A line set that draws an axis-aligned bounding box and its picking volume.
265
-
266
- - Export: @carbonenginejs/runtime/trinity/core
267
- - Source: src/trinity/core/line/Tr2BoundingLineSet.js
268
- - Visibility: Public
269
- - Kind: CarbonEngineJS
270
-
271
- <!-- class:Tr2CurveLineSet -->
272
- ## `Tr2CurveLineSet`
273
-
274
- Owns editable curve-line records and their portable CPU runtime state.
275
-
276
- That state includes Carbon's tessellated segment counts, local bounds,
277
- transparent sorting, and the explicit physical line-stream draw obligation.
278
-
279
- - Export: @carbonenginejs/runtime/trinity/core
280
- - Source: src/trinity/core/line/Tr2CurveLineSet.js
281
- - Visibility: Public
282
- - Kind: CarbonEngineJS
283
-
284
- <!-- class:Tr2DebugRenderer -->
285
- ## `Tr2DebugRenderer`
286
-
287
- Resolves which debug visualisations an object draws, from per-owner options over a default set.
288
-
289
- - Export: @carbonenginejs/runtime/trinity/core
290
- - Source: src/trinity/core/line/Tr2DebugRenderer.js
291
- - Visibility: Public
292
- - Kind: CarbonEngineJS
293
-
294
- <!-- class:Tr2DepthStencil -->
295
- ## `Tr2DepthStencil`
296
-
297
- Tr2DepthStencil (trinityCore) - generated from schema shapeHash 9acb2c99....
298
-
299
- - Export: @carbonenginejs/runtime/trinity/core
300
- - Source: src/trinity/core/device/Tr2DepthStencil.js
301
- - Visibility: Public
302
- - Kind: CarbonEngineJS
303
-
304
- <!-- class:Tr2DirectInstanceData -->
305
- ## `Tr2DirectInstanceData`
306
-
307
- Instance data whose buffer lives entirely on the GPU: Trinity keeps only the CPU-side layout metadata, stride, instance count and bounds.
308
-
309
- - Export: @carbonenginejs/runtime/trinity/core
310
- - Source: src/trinity/core/mesh/Tr2DirectInstanceData.js
311
- - Visibility: Public
312
- - Kind: CarbonEngineJS
313
-
314
- <!-- class:Tr2ExpressionTermInfo -->
315
- ## `Tr2ExpressionTermInfo`
316
-
317
- Describes one term the expression language exposes - a variable, a function or a string function - with its category, argument names and help text.
318
-
319
- - Export: @carbonenginejs/runtime/trinity/core
320
- - Source: src/trinity/core/variable/Tr2ExpressionTermInfo.js
321
- - Visibility: Public
322
- - Kind: CarbonEngineJS
323
-
324
- <!-- class:Tr2GpuBuffer -->
325
- ## `Tr2GpuBuffer`
326
-
327
- Tr2GpuBuffer (trinityCore) - generated from schema shapeHash 7a225a45....
328
-
329
- - Export: @carbonenginejs/runtime/trinity/core
330
- - Source: src/trinity/core/device/Tr2GpuBuffer.js
331
- - Visibility: Public
332
- - Kind: CarbonEngineJS
333
-
334
- <!-- class:ITr2PoseModifier -->
335
- ## `ITr2PoseModifier`
336
-
337
- 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.
338
-
339
- - Export: @carbonenginejs/runtime/trinity/core
340
- - Source: src/trinity/core/animation/ITr2PoseModifier.js
341
- - Visibility: Public
342
- - Kind: Carbon
343
-
344
- <!-- class:Tr2GrannyAnimation -->
345
- ## `Tr2GrannyAnimation`
346
-
347
- Tr2GrannyAnimation (trinityCore) - promoted from generated; shapeHash 056bad2a.
348
-
349
- - Export: @carbonenginejs/runtime/trinity/core
350
- - Source: src/trinity/core/animation/Tr2GrannyAnimation.js
351
- - Visibility: Public
352
- - Kind: CarbonEngineJS
353
-
354
- <!-- class:Tr2InstancedMesh -->
355
- ## `Tr2InstancedMesh`
356
-
357
- A mesh drawn once per entry of a separate instance-data stream, with static bounds or bounds expanded by the per-instance size.
358
-
359
- - Export: @carbonenginejs/runtime/trinity/core
360
- - Source: src/trinity/core/mesh/Tr2InstancedMesh.js
361
- - Visibility: Public
362
- - Kind: CarbonEngineJS
363
-
364
- <!-- class:Tr2LineGraph -->
365
- ## `Tr2LineGraph`
366
-
367
- A rolling sample history with named markers and running statistics, drawn as a line graph.
368
-
369
- - Export: @carbonenginejs/runtime/trinity/core
370
- - Source: src/trinity/core/line/Tr2LineGraph.js
14
+ - Source: `src/trinity/core/Tr2Denoiser.js`
371
15
  - Visibility: Public
372
16
  - Kind: CarbonEngineJS
373
17
 
374
- <!-- class:Tr2LineSet -->
375
- ## `Tr2LineSet`
376
-
377
- A set of coloured lines with an accompanying picking-triangle list, submitted as one buffer.
378
-
379
- - Export: @carbonenginejs/runtime/trinity/core
380
- - Source: src/trinity/core/line/Tr2LineSet.js
381
- - Visibility: Public
382
- - Kind: CarbonEngineJS
383
-
384
- <!-- class:Tr2ManipulationTool -->
385
- ## `Tr2ManipulationTool`
386
-
387
- The interactive manipulator base: axis selection, drag handling and the callback a move reports through.
388
-
389
- - Export: @carbonenginejs/runtime/trinity/core
390
- - Source: src/trinity/core/tool/Tr2ManipulationTool.js
391
- - Visibility: Public
392
- - Kind: CarbonEngineJS
393
-
394
- <!-- class:Tr2MaterialParameterStore -->
395
- ## `Tr2MaterialParameterStore`
396
-
397
- Tr2MaterialParameterStore (trinityCore) - generated from schema shapeHash 119f32c2....
398
-
399
- - Export: @carbonenginejs/runtime/trinity/core
400
- - Source: src/trinity/core/Tr2MaterialParameterStore.js
401
- - Visibility: Public
402
- - Kind: CarbonEngineJS
403
-
404
- <!-- class:Tr2Mesh -->
405
- ## `Tr2Mesh`
406
-
407
- A mesh backed by a geometry resource, adding the resource path plus the morph-target weights and baked-morph state on top of Tr2MeshBase.
408
-
409
- - Export: @carbonenginejs/runtime/trinity/core
410
- - Source: src/trinity/core/mesh/Tr2Mesh.js
411
- - Visibility: Public
412
- - Kind: CarbonEngineJS
413
-
414
- <!-- class:Tr2MeshArea -->
415
- ## `Tr2MeshArea`
416
-
417
- 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.
418
-
419
- - Export: @carbonenginejs/runtime/trinity/core
420
- - Source: src/trinity/core/mesh/Tr2MeshArea.js
421
- - Visibility: Public
422
- - Kind: CarbonEngineJS
423
-
424
- <!-- class:Tr2MeshBase -->
425
- ## `Tr2MeshBase`
426
-
427
- Base mesh: owns one mesh-area list per batch type and turns the displayed areas into GPU-free render batches and shadow area blocks.
428
-
429
- - Export: @carbonenginejs/runtime/trinity/core
430
- - Source: src/trinity/core/mesh/Tr2MeshBase.js
431
- - Visibility: Public
432
- - Kind: CarbonEngineJS
433
-
434
- <!-- class:Tr2PerObjectData -->
435
- ## `Tr2PerObjectData`
436
-
437
- GPU-free base for per-object render data, carrying the object id a batch is picked and identified by; the GPU upload path is engine-owned.
438
-
439
- - Export: @carbonenginejs/runtime/trinity/core
440
- - Source: src/trinity/core/rawData/Tr2PerObjectData.js
441
- - Visibility: Public
442
- - Kind: CarbonEngineJS
443
-
444
- <!-- class:Tr2PrimaryRenderContext -->
445
- ## `Tr2PrimaryRenderContext`
446
-
447
- Tr2PrimaryRenderContext (trinityCore) - generated from schema shapeHash 92b87061....
448
-
449
- - Export: @carbonenginejs/runtime/trinity/core
450
- - Source: src/trinity/core/context/Tr2PrimaryRenderContext.js
451
- - Visibility: Public
452
- - Kind: CarbonEngineJS
453
-
454
- <!-- class:Tr2PrimitiveSet -->
455
- ## `Tr2PrimitiveSet`
456
-
457
- A drawable set of primitives with a world transform, sort value and bounding sphere.
458
-
459
- - Export: @carbonenginejs/runtime/trinity/core
460
- - Source: src/trinity/core/line/Tr2PrimitiveSet.js
461
- - Visibility: Public
462
- - Kind: CarbonEngineJS
463
-
464
- <!-- class:Tr2QuadRenderer -->
465
- ## `Tr2QuadRenderer`
466
-
467
- Collects quads from every registered effect into one merged instance buffer and emits them as batches.
468
-
469
- `AddQuads` copies terminal instance bytes without interpreting them. Producers
470
- that own mixed-width records, such as Eve's 108-byte quad layouts, pack their
471
- float32 rows and float16 tails before submission. Numeric arrays remain a
472
- float32-compatible convenience for uniformly typed records.
473
-
474
- - Export: @carbonenginejs/runtime/trinity/core
475
- - Source: src/trinity/core/Tr2QuadRenderer.js
476
- - Visibility: Public
477
- - Kind: CarbonEngineJS
478
-
479
- <!-- class:Tr2QuadRendererEffectRecord -->
480
- ## `Tr2QuadRendererEffectRecord`
481
-
482
- One registered quad effect (Carbon Tr2QuadRenderer::EffectRecord).
483
-
484
- - Export: @carbonenginejs/runtime/trinity/core
485
- - Source: src/trinity/core/Tr2QuadRenderer.js
486
- - Visibility: Public
487
- - Kind: CarbonEngineJS
488
-
489
- <!-- class:Tr2RenderBatch -->
490
- ## `Tr2RenderBatch`
491
-
492
- One draw's worth of CPU descriptor state - material and shader key, geometry binding, draw arguments and sort keys - holding no device resources.
493
-
494
- - Export: @carbonenginejs/runtime/trinity/core
495
- - Source: src/trinity/core/batch/Tr2RenderBatch.js
496
- - Visibility: Public
497
- - Kind: CarbonEngineJS
498
-
499
- <!-- class:TriRenderBatchAreaBlock -->
500
- ## `TriRenderBatchAreaBlock`
501
-
502
- A contiguous (startIndex, count) run of mesh groups, as consumed by the shadow and overlay area-block paths.
503
-
504
- - Export: @carbonenginejs/runtime/trinity/core
505
- - Source: src/trinity/core/batch/Tr2RenderBatch.js
506
- - Visibility: Public
507
- - Kind: CarbonEngineJS
508
-
509
- <!-- class:TriRenderBatchAreaBlocksWithSharedMaterial -->
510
- ## `TriRenderBatchAreaBlocksWithSharedMaterial`
511
-
512
- Groups the area blocks that draw with one shared shader material on the shadow and overlay path.
513
-
514
- - Export: @carbonenginejs/runtime/trinity/core
515
- - Source: src/trinity/core/batch/Tr2RenderBatch.js
516
- - Visibility: Public
517
- - Kind: CarbonEngineJS
518
-
519
- <!-- class:Tr2RenderContext -->
520
- ## `Tr2RenderContext`
521
-
522
- Tr2RenderContext (trinityCore) - generated from schema shapeHash 73e2a4e7....
523
-
524
- - Export: @carbonenginejs/runtime/trinity/core
525
- - Source: src/trinity/core/context/Tr2RenderContext.js
526
- - Visibility: Public
527
- - Kind: CarbonEngineJS
528
-
529
- <!-- class:Tr2RenderTarget -->
530
- ## `Tr2RenderTarget`
531
-
532
- Tr2RenderTarget (trinityCore) - generated from schema shapeHash dc39c914....
533
-
534
- - Export: @carbonenginejs/runtime/trinity/core
535
- - Source: src/trinity/core/device/Tr2RenderTarget.js
536
- - Visibility: Public
537
- - Kind: CarbonEngineJS
538
-
539
- <!-- class:Tr2RuntimeGpuBuffer -->
540
- ## `Tr2RuntimeGpuBuffer`
541
-
542
- Tr2RuntimeGpuBuffer (trinityCore) - generated from schema shapeHash 0cb23744....
543
-
544
- - Export: @carbonenginejs/runtime/trinity/core
545
- - Source: src/trinity/core/device/Tr2RuntimeGpuBuffer.js
546
- - Visibility: Public
547
- - Kind: CarbonEngineJS
548
-
549
- <!-- class:Tr2RotationTool -->
550
- ## `Tr2RotationTool`
551
-
552
- Extends the manipulation tool with quaternion rotation state and angular precision.
553
-
554
- - Export: `@carbonenginejs/runtime/trinity/core`
555
- - Source: `src/trinity/core/tool/Tr2RotationTool.js`
556
- - Visibility: Public
557
- - Kind: CarbonEngineJS
558
-
559
- <!-- class:Tr2RuntimeInstanceData -->
560
- ## `Tr2RuntimeInstanceData`
561
-
562
- 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.
563
-
564
- - Export: @carbonenginejs/runtime/trinity/core
565
- - Source: src/trinity/core/mesh/Tr2RuntimeInstanceData.js
566
- - Visibility: Public
567
- - Kind: CarbonEngineJS
568
-
569
- <!-- class:Tr2ScalingTool -->
570
- ## `Tr2ScalingTool`
571
-
572
- An interactive scaling manipulator that turns pointer drags along a selected axis into a scale.
573
-
574
- - Export: @carbonenginejs/runtime/trinity/core
575
- - Source: src/trinity/core/tool/Tr2ScalingTool.js
576
- - Visibility: Public
577
- - Kind: CarbonEngineJS
578
-
579
- <!-- class:Tr2SerializedMorphAnimation -->
580
- ## `Tr2SerializedMorphAnimation`
581
-
582
- Tr2SerializedMorphAnimation (trinityCore) - generated from schema shapeHash 58cefc7b....
583
-
584
- - Export: @carbonenginejs/runtime/trinity/core
585
- - Source: src/trinity/core/mesh/Tr2SerializedMorphAnimation.js
586
- - Visibility: Public
587
- - Kind: CarbonEngineJS
588
-
589
- <!-- class:Tr2ShLightingManager -->
590
- ## `Tr2ShLightingManager`
591
-
592
- Computes the spherical-harmonic coefficients that approximate secondary lighting - a primary light reflected off nearby spheres - for any receiver position in the scene.
593
-
594
- - Export: @carbonenginejs/runtime/trinity/core
595
- - Source: src/trinity/core/lighting/Tr2ShLightingManager.js
596
- - Visibility: Public
597
- - Kind: CarbonEngineJS
598
-
599
- <!-- class:Tr2SolidSet -->
600
- ## `Tr2SolidSet`
601
-
602
- A set of coloured triangles with a running centre of mass, submitted as one buffer.
603
-
604
- - Export: @carbonenginejs/runtime/trinity/core
605
- - Source: src/trinity/core/line/Tr2SolidSet.js
606
- - Visibility: Public
607
- - Kind: CarbonEngineJS
608
-
609
- <!-- class:Tr2SwapChain -->
610
- ## `Tr2SwapChain`
611
-
612
- Tr2SwapChain (trinityCore) - generated from schema shapeHash 955529ab....
613
-
614
- - Export: @carbonenginejs/runtime/trinity/core
615
- - Source: src/trinity/core/device/Tr2SwapChain.js
616
- - Visibility: Public
617
- - Kind: CarbonEngineJS
618
-
619
- <!-- class:Tr2TextureAnimation -->
620
- ## `Tr2TextureAnimation`
621
-
622
- Advances a multi-channel texture flipbook, tracking frame and restart state per channel.
623
-
624
- - Export: @carbonenginejs/runtime/trinity/core
625
- - Source: src/trinity/core/animation/Tr2TextureAnimation.js
626
- - Visibility: Public
627
- - Kind: CarbonEngineJS
628
-
629
- <!-- class:Tr2VariableStore -->
630
- ## `Tr2VariableStore`
631
-
632
- Named-variable collection used by the shader system for binding.
633
-
634
- - Export: @carbonenginejs/runtime/trinity/core
635
- - Source: src/trinity/core/variable/Tr2VariableStore.js
636
- - Visibility: Public
637
- - Kind: CarbonEngineJS
638
-
639
- <!-- class:Tr2VisibilityEvent -->
640
- ## `Tr2VisibilityEvent`
641
-
642
- Carbon's Tr2VisibilityEvent struct - the shared shape producers push into Tr2VisibilityResults and the interior/portal visibility consumers read.
643
-
644
- - Export: @carbonenginejs/runtime/trinity/core
645
- - Source: src/trinity/core/context/Tr2VisibilityResults.js
646
- - Visibility: Public
647
- - Kind: CarbonEngineJS
648
-
649
- <!-- class:Tr2VisibilityResults -->
650
- ## `Tr2VisibilityResults`
651
-
652
- Collects the visibility events a visibility executor emits, for the interior and portal consumers to read back.
653
-
654
- - Export: @carbonenginejs/runtime/trinity/core
655
- - Source: src/trinity/core/context/Tr2VisibilityResults.js
656
- - Visibility: Public
657
- - Kind: CarbonEngineJS
658
-
659
- <!-- class:TriDevice -->
660
- ## `TriDevice`
661
-
662
- TriDevice (trinityCore) - generated from schema shapeHash 1db3a492....
663
-
664
- - Export: @carbonenginejs/runtime/trinity/core
665
- - Source: src/trinity/core/device/TriDevice.js
666
- - Visibility: Public
667
- - Kind: CarbonEngineJS
668
-
669
- <!-- class:TriFloat -->
670
- ## `TriFloat`
671
-
672
- TriFloat (trinityCore) - generated from schema shapeHash b5384f79....
673
-
674
- - Export: @carbonenginejs/runtime/trinity/core
675
- - Source: src/trinity/core/variable/TriFloat.js
676
- - Visibility: Public
677
- - Kind: CarbonEngineJS
678
-
679
- <!-- class:TriFrustum -->
680
- ## `TriFrustum`
681
-
682
- 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.
683
-
684
- - Export: @carbonenginejs/runtime/trinity/core
685
- - Source: src/trinity/core/view/TriFrustum.js
686
- - Visibility: Public
687
- - Kind: CarbonEngineJS
688
-
689
- <!-- class:TriFrustumOrtho -->
690
- ## `TriFrustumOrtho`
691
-
692
- Carbon TriFrustumOrtho (TriFrustumOrtho.h:9-27): orthographic shadow frustum as view matrix + view-space bounds.
693
-
694
- - Export: @carbonenginejs/runtime/trinity/core
695
- - Source: src/trinity/core/view/TriFrustumOrtho.js
696
- - Visibility: Public
697
- - Kind: CarbonEngineJS
698
-
699
- <!-- class:TriLineSet -->
700
- ## `TriLineSet`
701
-
702
- A debug line set that builds boxes, spheres, cylinders and cones out of coloured line segments.
703
-
704
- - Export: @carbonenginejs/runtime/trinity/core
705
- - Source: src/trinity/core/line/TriLineSet.js
706
- - Visibility: Public
707
- - Kind: CarbonEngineJS
708
-
709
- <!-- class:TriObserverLocal -->
710
- ## `TriObserverLocal`
711
-
712
- 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.
713
-
714
- - Export: @carbonenginejs/runtime/trinity/core
715
- - Source: src/trinity/core/variable/TriObserverLocal.js
716
- - Visibility: Public
717
- - Kind: CarbonEngineJS
718
-
719
- <!-- class:TriProjection -->
720
- ## `TriProjection`
721
-
722
- The camera projection: the selected projection mode with its parameters, plus the 4x4 matrix built from them.
723
-
724
- - Export: @carbonenginejs/runtime/trinity/core
725
- - Source: src/trinity/core/view/TriProjection.js
726
- - Visibility: Public
727
- - Kind: CarbonEngineJS
728
-
729
- <!-- class:TriRect -->
730
- ## `TriRect`
731
-
732
- An integer screen rectangle given by its left, top, right and bottom edges.
733
-
734
- - Export: @carbonenginejs/runtime/trinity/core
735
- - Source: src/trinity/core/view/TriRect.js
736
- - Visibility: Public
737
- - Kind: CarbonEngineJS
738
-
739
- <!-- class:TriRenderBatchAccumulator -->
740
- ## `TriRenderBatchAccumulator`
741
-
742
- Concrete GPU-free batch accumulator: collects committed batches into a GDPR-eligible and a plain vector, then sorts and group-counts them on Finalize.
743
-
744
- - Export: @carbonenginejs/runtime/trinity/core
745
- - Source: src/trinity/core/batch/TriRenderBatchAccumulator.js
746
- - Visibility: Public
747
- - Kind: CarbonEngineJS
748
-
749
- <!-- class:TriRenderBatchMap -->
750
- ## `TriRenderBatchMap`
751
-
752
- One render-batch accumulator per TriBatchType, with the scene-level collect, finalize and clear flow over them.
753
-
754
- - Export: @carbonenginejs/runtime/trinity/core
755
- - Source: src/trinity/core/batch/TriRenderBatchMap.js
756
- - Visibility: Public
757
- - Kind: CarbonEngineJS
758
-
759
- <!-- class:TriRigidOrientation -->
760
- ## `TriRigidOrientation`
761
-
762
- Integrates torque into an orientation over time, sampling the result at a given moment.
763
-
764
- - Export: @carbonenginejs/runtime/trinity/core
765
- - Source: src/trinity/core/animation/TriRigidOrientation.js
766
- - Visibility: Public
767
- - Kind: CarbonEngineJS
768
-
769
- <!-- class:TriSettings -->
770
- ## `TriSettings`
771
-
772
- A registry of named boolean, number and string settings with type-checked reads and writes and a Python-style repr.
773
-
774
- - Export: @carbonenginejs/runtime/trinity/core
775
- - Source: src/trinity/core/TriSettings.js
776
- - Visibility: Public
777
- - Kind: CarbonEngineJS
778
-
779
- <!-- class:TriTorque -->
780
- ## `TriTorque`
781
-
782
- TriTorque (trinityCore) - generated from schema shapeHash 10c5e0d6....
783
-
784
- - Export: @carbonenginejs/runtime/trinity/core
785
- - Source: src/trinity/core/animation/TriTorque.js
786
- - Visibility: Public
787
- - Kind: CarbonEngineJS
788
-
789
- <!-- class:TriVariable -->
790
- ## `TriVariable`
791
-
792
- One named shader-binding variable: the content type fixed when it was registered, plus the value payload standing in for Carbon's typed union.
793
-
794
- - Export: @carbonenginejs/runtime/trinity/core
795
- - Source: src/trinity/core/variable/TriVariable.js
796
- - Visibility: Public
797
- - Kind: CarbonEngineJS
798
-
799
- <!-- class:TriView -->
800
- ## `TriView`
801
-
802
- The camera view matrix, together with the look-at helper that builds it.
803
-
804
- - Export: @carbonenginejs/runtime/trinity/core
805
- - Source: src/trinity/core/view/TriView.js
806
- - Visibility: Public
807
- - Kind: CarbonEngineJS
808
-
809
- <!-- class:TriViewport -->
810
- ## `TriViewport`
811
-
812
- A screen viewport rectangle in pixels together with its minimum and maximum depth.
813
-
814
- - Export: @carbonenginejs/runtime/trinity/core
815
- - Source: src/trinity/core/view/TriViewport.js
816
- - Visibility: Public
817
- - Kind: CarbonEngineJS
818
-
819
- <!-- class:Tr2KelvinColor -->
820
- ## `Tr2KelvinColor`
821
-
822
- A light colour authored as a temperature in kelvin, a tint, and a white-balance illuminant.
823
-
824
- - Export: @carbonenginejs/runtime/trinity/core
825
- - Source: src/trinity/core/lighting/Tr2KelvinColor.js
826
- - Visibility: Public
827
- - Kind: CarbonEngineJS
828
-
829
- <!-- class:Tr2TranslationTool -->
830
- ## `Tr2TranslationTool`
831
-
832
- Extends the manipulation tool with the current three-axis translation result.
833
-
834
- - Export: `@carbonenginejs/runtime/trinity/core`
835
- - Source: `src/trinity/core/tool/Tr2TranslationTool.js`
836
- - Visibility: Public
837
- - Kind: CarbonEngineJS
838
-
839
- <!-- class:CjsTrinityBatchDispatcher -->
840
- ## `CjsTrinityBatchDispatcher`
841
-
842
- Minimum renderer contract for a finalized Trinity batch map.
843
-
844
- - Export: `@carbonenginejs/runtime/trinity/core`
845
- - Source: `src/trinity/core/batch/CjsTrinityBatchDispatcher.js`
846
- - Visibility: Public
847
- - Kind: CarbonEngineJS
848
-
849
- <!-- class:CjsTrinityBatchResolver -->
850
- ## `CjsTrinityBatchResolver`
851
-
852
- Nominal composition boundary that resolves Trinity CPU batch references for a concrete renderer.
853
-
854
- - Export: `@carbonenginejs/runtime/trinity/core`
855
- - Source: `src/trinity/core/batch/CjsTrinityBatchResolver.js`
856
- - Visibility: Public
857
- - Kind: CarbonEngineJS
858
-
859
- <!-- class:CjsDirectTrinityStepExecutor -->
860
- ## `CjsDirectTrinityStepExecutor`
861
-
862
- Direct GPU-free executor used whenever no engine recorder is installed.
863
-
864
- - Export: `@carbonenginejs/runtime/trinity/core`
865
- - Source: `src/trinity/core/context/CjsDirectTrinityStepExecutor.js`
866
- - Visibility: Public
867
- - Kind: CarbonEngineJS
868
-
869
- <!-- class:CjsTrinityStepExecutor -->
870
- ## `CjsTrinityStepExecutor`
871
-
872
- Nominal renderer contract driven by Trinity render contexts and jobs.
873
-
874
- - Export: `@carbonenginejs/runtime/trinity/core`
875
- - Source: `src/trinity/core/context/CjsTrinityStepExecutor.js`
876
- - Visibility: Public
877
- - Kind: CarbonEngineJS
878
-
879
- <!-- class:Tr2EffectLibraryParameters -->
880
- ## `Tr2EffectLibraryParameters`
881
-
882
- Collects one effect library's local and global stage inputs, rerouted parameters, and resource-set state.
883
-
884
- - Export: `@carbonenginejs/runtime/trinity/shader`
885
- - Source: `src/trinity/shader/material/Tr2EffectLibraryParameters.js`
886
- - Visibility: Public
887
- - Kind: Carbon
888
-
889
- <!-- class:Tr2EffectParam -->
890
- ## `Tr2EffectParam`
891
-
892
- Maps a named effect value onto a contiguous shader-register span.
893
-
894
- - Export: `@carbonenginejs/runtime/trinity/shader`
895
- - Source: `src/trinity/shader/material/Tr2EffectParam.js`
896
- - Visibility: Public
897
- - Kind: Carbon
898
-
899
- <!-- class:Tr2EffectPassParameters -->
900
- ## `Tr2EffectPassParameters`
901
-
902
- Collects one effect pass's per-stage inputs, rerouted parameters, used resources, and resource-set state.
903
-
904
- - Export: `@carbonenginejs/runtime/trinity/shader`
905
- - Source: `src/trinity/shader/material/Tr2EffectPassParameters.js`
906
- - Visibility: Public
907
- - Kind: Carbon
908
-
909
- <!-- class:Tr2EffectTechniqueInputs -->
910
- ## `Tr2EffectTechniqueInputs`
911
-
912
- Groups the pass and library parameter records prepared for one effect technique.
913
-
914
- - Export: `@carbonenginejs/runtime/trinity/shader`
915
- - Source: `src/trinity/shader/material/Tr2EffectTechniqueInputs.js`
916
- - Visibility: Public
917
- - Kind: Carbon
918
-
919
- <!-- class:Tr2MaterialStageInput -->
920
- ## `Tr2MaterialStageInput`
921
-
922
- Organizes one shader stage's constants, parameters, textures, UAVs, and CPU-side constant mirror.
923
-
924
- - Export: `@carbonenginejs/runtime/trinity/shader`
925
- - Source: `src/trinity/shader/material/Tr2MaterialStageInput.js`
926
- - Visibility: Public
927
- - Kind: Carbon
928
-
929
- <!-- class:Tr2SharedConstantBuffers -->
930
- ## `Tr2SharedConstantBuffers`
931
-
932
- Tracks shared constant-buffer contents by size and hash together with its backing buffer and reference count.
933
-
934
- - Export: `@carbonenginejs/runtime/trinity/shader`
935
- - Source: `src/trinity/shader/material/Tr2SharedConstantBuffers.js`
936
- - Visibility: Public
937
- - Kind: Carbon
938
-
939
- <!-- class:CjsParameter -->
940
- ## `CjsParameter`
941
-
942
- Shared base for the shader parameter models: destination-reroute plumbing, effect-reflection lookups and Carbon's FNV1 content hashing.
943
-
944
- - Source: `src/trinity/shader/parameter/CjsParameter.js`
945
- - Visibility: Internal
946
- - Kind: CarbonEngineJS
947
-
948
- <!-- class:CjsVectorParameter -->
949
- ## `CjsVectorParameter`
950
-
951
- Base for the multi-component shader parameters, adding fixed-length destination reads and writes on top of CjsParameter.
952
-
953
- - Source: `src/trinity/shader/parameter/CjsVectorParameter.js`
954
- - Visibility: Internal
955
- - Kind: CarbonEngineJS
956
-
957
- <!-- class:Tr2ConstantEffectParameter -->
958
- ## `Tr2ConstantEffectParameter`
959
-
960
- Stores one named persistent vec4 constant authored directly on an effect.
961
-
962
- - Export: `@carbonenginejs/runtime/trinity/shader`
963
- - Source: `src/trinity/shader/parameter/Tr2ConstantEffectParameter.js`
964
- - Visibility: Public
965
- - Kind: Carbon
966
-
967
- <!-- class:Tr2FloatParameter -->
968
- ## `Tr2FloatParameter`
969
-
970
- Single float value for a named shader constant, with optional rerouting into an external scalar destination.
971
-
972
- - Export: `@carbonenginejs/runtime/trinity/shader`
973
- - Source: `src/trinity/shader/parameter/Tr2FloatParameter.js`
974
- - Visibility: Public
975
- - Kind: Carbon
976
-
977
- <!-- class:Tr2GeometryBufferParameter -->
978
- ## `Tr2GeometryBufferParameter`
979
-
980
- Carries a named shader-buffer path for host resolution or a caller-owned GPU buffer reference.
981
-
982
- - Export: `@carbonenginejs/runtime/trinity/shader`
983
- - Source: `src/trinity/shader/parameter/Tr2GeometryBufferParameter.js`
984
- - Visibility: Public
985
- - Kind: Carbon
986
-
987
- <!-- class:Tr2Matrix4Parameter -->
988
- ## `Tr2Matrix4Parameter`
989
-
990
- 4x4 matrix value for a named shader constant, with optional rerouting into an external 64-byte destination.
991
-
992
- - Export: `@carbonenginejs/runtime/trinity/shader`
993
- - Source: `src/trinity/shader/parameter/Tr2Matrix4Parameter.js`
994
- - Visibility: Public
995
- - Kind: Carbon
996
-
997
- <!-- class:Tr2RuntimeTextureParameter -->
998
- ## `Tr2RuntimeTextureParameter`
999
-
1000
- A named texture slot fed by a runtime-supplied texture provider rather than an authored res path.
1001
-
1002
- - Export: `@carbonenginejs/runtime/trinity/shader`
1003
- - Source: `src/trinity/shader/parameter/Tr2RuntimeTextureParameter.js`
1004
- - Visibility: Public
1005
- - Kind: Carbon
1006
-
1007
- <!-- class:Tr2TextureAnimationParameter -->
1008
- ## `Tr2TextureAnimationParameter`
1009
-
1010
- Exposes one named channel of a texture animation as a shader resource and invalidates attached materials as it changes.
1011
-
1012
- - Export: `@carbonenginejs/runtime/trinity/shader`
1013
- - Source: `src/trinity/shader/parameter/Tr2TextureAnimationParameter.js`
1014
- - Visibility: Public
1015
- - Kind: Carbon
1016
-
1017
- <!-- class:Tr2Vector2Parameter -->
1018
- ## `Tr2Vector2Parameter`
1019
-
1020
- Two-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1021
-
1022
- - Export: `@carbonenginejs/runtime/trinity/shader`
1023
- - Source: `src/trinity/shader/parameter/Tr2Vector2Parameter.js`
1024
- - Visibility: Public
1025
- - Kind: Carbon
1026
-
1027
- <!-- class:Tr2Vector3Parameter -->
1028
- ## `Tr2Vector3Parameter`
1029
-
1030
- Three-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1031
-
1032
- - Export: `@carbonenginejs/runtime/trinity/shader`
1033
- - Source: `src/trinity/shader/parameter/Tr2Vector3Parameter.js`
1034
- - Visibility: Public
1035
- - Kind: Carbon
1036
-
1037
- <!-- class:Tr2Vector4Parameter -->
1038
- ## `Tr2Vector4Parameter`
1039
-
1040
- Four-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1041
-
1042
- - Export: `@carbonenginejs/runtime/trinity/shader`
1043
- - Source: `src/trinity/shader/parameter/Tr2Vector4Parameter.js`
1044
- - Visibility: Public
1045
- - Kind: Carbon
1046
-
1047
- <!-- class:TriFloatArrayParameter -->
1048
- ## `TriFloatArrayParameter`
1049
-
1050
- An ordered list of vec4 rows uploaded into one named shader constant array.
1051
-
1052
- - Export: `@carbonenginejs/runtime/trinity/shader`
1053
- - Source: `src/trinity/shader/parameter/TriFloatArrayParameter.js`
1054
- - Visibility: Public
1055
- - Kind: Carbon
1056
-
1057
- <!-- class:TriTextureParameter -->
1058
- ## `TriTextureParameter`
1059
-
1060
- 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.
1061
-
1062
- - Export: `@carbonenginejs/runtime/trinity/shader`
1063
- - Source: `src/trinity/shader/parameter/TriTextureParameter.js`
1064
- - Visibility: Public
1065
- - Kind: Carbon
1066
-
1067
- <!-- class:TriTransformParameter -->
1068
- ## `TriTransformParameter`
1069
-
1070
- Composes authored translation, rotation, scale, and transform-base state into the matrix uploaded to a shader constant.
1071
-
1072
- - Export: `@carbonenginejs/runtime/trinity/shader`
1073
- - Source: `src/trinity/shader/parameter/TriTransformParameter.js`
1074
- - Visibility: Public
1075
- - Kind: Carbon
1076
-
1077
- <!-- class:TriVariableParameter -->
1078
- ## `TriVariableParameter`
1079
-
1080
- Forwards a named variable-store entry into a named effect constant or resource.
1081
-
1082
- - Export: `@carbonenginejs/runtime/trinity/shader`
1083
- - Source: `src/trinity/shader/parameter/TriVariableParameter.js`
1084
- - Visibility: Public
1085
- - Kind: Carbon
1086
-
1087
- <!-- class:TriVector4 -->
1088
- ## `TriVector4`
1089
-
1090
- One vec4 row of a TriFloatArrayParameter's value list.
1091
-
1092
- - Export: `@carbonenginejs/runtime/trinity/shader`
1093
- - Source: `src/trinity/shader/parameter/TriVector4.js`
1094
- - Visibility: Public
1095
- - Kind: Carbon
1096
-
1097
- <!-- class:Tr2ShaderOption -->
1098
- ## `Tr2ShaderOption`
1099
-
1100
- Mutable authored option on the Tr2Effect facade.
1101
-
1102
- - Export: `@carbonenginejs/runtime/trinity/shader`
1103
- - Source: `src/trinity/shader/reflection/Tr2ShaderOption.js`
1104
- - Visibility: Public
1105
- - Kind: Carbon
1106
-
1107
- <!-- class:Tr2SamplerOverride -->
1108
- ## `Tr2SamplerOverride`
1109
-
1110
- Overrides one named sampler's address, filtering, LOD-bias, mip, and anisotropy settings.
1111
-
1112
- - Export: `@carbonenginejs/runtime/trinity/shader`
1113
- - Source: `src/trinity/shader/sampler/Tr2SamplerOverride.js`
1114
- - Visibility: Public
1115
- - Kind: Carbon
1116
-
1117
- <!-- class:Tr2SamplerOverrideData -->
1118
- ## `Tr2SamplerOverrideData`
1119
-
1120
- Associates a shader sampler register with the sampler-state object to bind.
1121
-
1122
- - Export: `@carbonenginejs/runtime/trinity/shader`
1123
- - Source: `src/trinity/shader/sampler/Tr2SamplerOverrideData.js`
1124
- - Visibility: Public
1125
- - Kind: Carbon
1126
-
1127
- <!-- class:Tr2DataTextureManager -->
1128
- ## `Tr2DataTextureManager`
1129
-
1130
- Packs shader-readable data blocks into a shared texture, whose allocation an engine adapter owns.
1131
-
1132
- - Export: `@carbonenginejs/runtime/trinity/shader`
1133
- - Source: `src/trinity/shader/Tr2DataTextureManager.js`
1134
- - Visibility: Public
1135
- - Kind: Carbon
1136
-
1137
- <!-- class:Tr2Effect -->
1138
- ## `Tr2Effect`
1139
-
1140
- Owns the mutable effect facade: shader path and options, authored parameters and resources, sampler overrides, variable-store resolution, and rebuild state.
1141
-
1142
- - Export: `@carbonenginejs/runtime/trinity/shader`
1143
- - Source: `src/trinity/shader/Tr2Effect.js`
1144
- - Visibility: Public
1145
- - Kind: Carbon
1146
-
1147
- <!-- class:Tr2EffectStateManager -->
1148
- ## `Tr2EffectStateManager`
1149
-
1150
- 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.
1151
-
1152
- - Export: `@carbonenginejs/runtime/trinity/shader`
1153
- - Source: `src/trinity/shader/Tr2EffectStateManager.js`
1154
- - Visibility: Public
1155
- - Kind: Carbon
1156
-
1157
- <!-- class:Tr2Material -->
1158
- ## `Tr2Material`
1159
-
1160
- Owns a resolved shader's per-technique pass and library bindings, resource invalidation, texture LOD forwarding, and draw-sort state.
1161
-
1162
- - Export: `@carbonenginejs/runtime/trinity/shader`
1163
- - Source: `src/trinity/shader/Tr2Material.js`
1164
- - Visibility: Public
1165
- - Kind: Carbon
1166
-
1167
- <!-- class:Tr2ShaderBuffer -->
1168
- ## `Tr2ShaderBuffer`
1169
-
1170
- Owns a detached byte payload for one shader stage while leaving device binding to the engine.
1171
-
1172
- - Export: `@carbonenginejs/runtime/trinity/shader`
1173
- - Source: `src/trinity/shader/Tr2ShaderBuffer.js`
1174
- - Visibility: Public
1175
- - Kind: Carbon
1176
-
1177
- <!-- class:Tr2PresentParameters -->
1178
- ## `Tr2PresentParameters`
1179
-
1180
- Carries the software-device, back-buffer size, and windowed-mode values used when creating a rendering device.
1181
-
1182
- - Export: `@carbonenginejs/runtime/trinity/ui`
1183
- - Source: `src/trinity/ui/Tr2PresentParameters.js`
1184
- - Visibility: Public
1185
- - Kind: Carbon
1186
-
1187
- <!-- class:Tr2GpuResourcePool -->
1188
- ## `Tr2GpuResourcePool`
1189
-
1190
- Pooled scratch textures and buffers, recycled once nothing holds them; the class the shadow and volumetrics paths need to do their own work rather than delegating it.
1191
-
1192
- - Export: `@carbonenginejs/runtime/trinity/core`
1193
- - Source: `src/trinity/core/Tr2GpuResourcePool.js`
1194
- - Visibility: Public
1195
- - Kind: Carbon
1196
-
1197
- <!-- class:GpuResourceHandle -->
1198
- ## `GpuResourceHandle`
1199
-
1200
- A borrowed pool resource, holding its record until explicitly released because JavaScript has no destructor to release on.
1201
-
1202
- - Export: `@carbonenginejs/runtime/trinity/core`
1203
- - Source: `src/trinity/core/Tr2GpuResourcePool.js`
1204
- - Visibility: Public
1205
- - Kind: Carbon
1206
-
1207
- <!-- class:TextureSize2D -->
1208
- ## `TextureSize2D`
1209
-
1210
- A width and height with Carbon's scaling, which clamps to one pixel rather than to zero.
1211
-
1212
- - Export: `@carbonenginejs/runtime/trinity/core`
1213
- - Source: `src/trinity/core/Tr2GpuResourcePool.js`
1214
- - Visibility: Public
1215
- - Kind: Carbon
1216
-
1217
- <!-- class:Tr2RingBuffer -->
1218
- ## `Tr2RingBuffer`
1219
-
1220
- One upload arena per data type, fenced by frame, so many objects share one buffer and are handed an offset each.
1221
-
1222
- - Export: `@carbonenginejs/runtime/trinity/core`
1223
- - Source: `src/trinity/core/device/Tr2RingBuffer.js`
1224
- - Visibility: Public
1225
- - Kind: Carbon
1226
-
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
+ A mesh's vertex element list, and the matching of it to a shader's inputs.
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:ITr2Renderable -->
59
+ ## `ITr2Renderable`
60
+
61
+ Trinity-owned contract for objects collected through the renderable path.
62
+
63
+ Its Carbon visibility default is concrete; required batch, transparency,
64
+ sorting, and per-object-data methods throw until a provider implements them.
65
+
66
+ - Export: `@carbonenginejs/runtime/trinity/core`
67
+ - Source: `src/trinity/core/ITr2Renderable.js`
68
+ - Visibility: Public
69
+ - Kind: CarbonEngineJS
70
+
71
+ <!-- class:ITr2ImpostorSource -->
72
+ ## `ITr2ImpostorSource`
73
+
74
+ Contract for an object that can be captured into an impostor atlas.
75
+
76
+ - Export: `@carbonenginejs/runtime/trinity/core`
77
+ - Source: `src/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js`
78
+ - Visibility: Public
79
+ - Kind: CarbonEngineJS
80
+
81
+ <!-- class:ITr2ImpostorSourceImpostorHash -->
82
+ ## `ITr2ImpostorSourceImpostorHash`
83
+
84
+ Camera directions used to decide when an impostor must be recaptured.
85
+
86
+ - Export: `@carbonenginejs/runtime/trinity/core`
87
+ - Source: `src/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSourceImpostorHash.js`
88
+ - Visibility: Public
89
+ - Kind: CarbonEngineJS
90
+
91
+ <!-- class:ITr2InstanceData -->
92
+ ## `ITr2InstanceData`
93
+
94
+ Contract for a provider of instance-stream data and layout metadata.
95
+
96
+ - Export: `@carbonenginejs/runtime/trinity/core`
97
+ - Source: `src/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js`
98
+ - Visibility: Public
99
+ - Kind: CarbonEngineJS
100
+
101
+ <!-- class:ITr2InstanceDataInstanceData -->
102
+ ## `ITr2InstanceDataInstanceData`
103
+
104
+ One realized instance-buffer slice returned by an ITr2InstanceData provider.
105
+
106
+ - Export: `@carbonenginejs/runtime/trinity/core`
107
+ - Source: `src/trinity/core/mesh/ITr2InstanceData/ITr2InstanceDataInstanceData.js`
108
+ - Visibility: Public
109
+ - Kind: CarbonEngineJS
110
+
111
+ <!-- class:Tr2UpscalingTechniqueInfo -->
112
+ ## `Tr2UpscalingTechniqueInfo`
113
+
114
+ One device-reported upscaling technique and the quality settings and frame generation support available for it.
115
+
116
+ - Export: `@carbonenginejs/runtime/trinity/core`
117
+ - Source: `src/trinity/core/device/Tr2UpscalingTechniqueInfo.js`
118
+ - Visibility: Public
119
+ - Kind: CarbonEngineJS
120
+
121
+ <!-- class:Tr2Transform -->
122
+ ## `Tr2Transform`
123
+
124
+ Provides the common placeable-renderable transform behavior.
125
+
126
+ It advances curve sets, composes SRT state, preserves motion history, applies
127
+ Carbon's camera modifiers, delegates batches, and computes sort distance.
128
+
129
+ - Export: `@carbonenginejs/runtime/trinity/core`
130
+ - Source: `src/trinity/core/Tr2Transform.js`
131
+ - Visibility: Public
132
+ - Kind: CarbonEngineJS
133
+
134
+ <!-- class:Tr2ShadowMap -->
135
+ ## `Tr2ShadowMap`
136
+
137
+ Produces cascaded-shadow endpoints, bounds, frusta, and logical per-split data.
138
+
139
+ Physical rendering delegates to the installed shadow executor.
140
+
141
+ - Export: `@carbonenginejs/runtime/trinity/core`
142
+ - Source: `src/trinity/core/Tr2ShadowMap.js`
143
+ - Visibility: Public
144
+ - Kind: CarbonEngineJS
145
+
146
+ <!-- class:Tr2VolumetricsRenderer -->
147
+ ## `Tr2VolumetricsRenderer`
148
+
149
+ Blends froxel-fog state and writes Carbon's inline per-frame fog constants.
150
+
151
+ Physical fog, volumetric, environment-map, and shadow rendering delegate
152
+ through the nominal throwing `CjsVolumetricsExecutor` engine contract.
153
+
154
+ - Export: `@carbonenginejs/runtime/trinity/core`
155
+ - Source: `src/trinity/core/volumetrics/Tr2VolumetricsRenderer.js`
156
+ - Visibility: Public
157
+ - Kind: CarbonEngineJS
158
+
159
+ <!-- class:Tr2DynamicBinding -->
160
+ ## `Tr2DynamicBinding`
161
+
162
+ 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.
163
+
164
+ - Export: @carbonenginejs/runtime/trinity/core
165
+ - Source: src/trinity/core/binding/Tr2DynamicBinding.js
166
+ - Visibility: Public
167
+ - Kind: CarbonEngineJS
168
+
169
+ <!-- class:Tr2ExternalParameter -->
170
+ ## `Tr2ExternalParameter`
171
+
172
+ A named handle onto one attribute - optionally one vector component - of another object, exposing it for type-checked reads and writes.
173
+
174
+ - Export: @carbonenginejs/runtime/trinity/core
175
+ - Source: src/trinity/core/binding/Tr2ExternalParameter.js
176
+ - Visibility: Public
177
+ - Kind: CarbonEngineJS
178
+
179
+ <!-- class:Tr2PyValueBinding -->
180
+ ## `Tr2PyValueBinding`
181
+
182
+ Tr2PyValueBinding (trinityCore) - generated from schema shapeHash 435f9fdc....
183
+
184
+ - Export: @carbonenginejs/runtime/trinity/core
185
+ - Source: src/trinity/core/binding/Tr2PyValueBinding.js
186
+ - Visibility: Public
187
+ - Kind: CarbonEngineJS
188
+
189
+ <!-- class:TriValueBinding -->
190
+ ## `TriValueBinding`
191
+
192
+ 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.
193
+
194
+ - Export: @carbonenginejs/runtime/trinity/core
195
+ - Source: src/trinity/core/binding/TriValueBinding.js
196
+ - Visibility: Public
197
+ - Kind: CarbonEngineJS
198
+
199
+ <!-- class:CjsBatchManager -->
200
+ ## `CjsBatchManager`
201
+
202
+ Owns the per-library render-batch producer and collector registry and drives the GPU-free per-frame flow of realize, build, finalize into one accumulator per batch type.
203
+
204
+ - Export: @carbonenginejs/runtime/trinity/core
205
+ - Source: src/trinity/core/batch/CjsBatchManager.js
206
+ - Visibility: Public
207
+ - Kind: CarbonEngineJS
208
+
209
+ <!-- class:GrannyBoneOffset -->
210
+ ## `GrannyBoneOffset`
211
+
212
+ 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.
213
+
214
+ - Export: @carbonenginejs/runtime/trinity/core
215
+ - Source: src/trinity/core/animation/GrannyBoneOffset.js
216
+ - Visibility: Public
217
+ - Kind: CarbonEngineJS
218
+
219
+ <!-- class:ITriRenderBatchAccumulator -->
220
+ ## `ITriRenderBatchAccumulator`
221
+
222
+ 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.
223
+
224
+ - Export: @carbonenginejs/runtime/trinity/core
225
+ - Source: src/trinity/core/batch/TriRenderBatch/ITriRenderBatchAccumulator.js
226
+ - Visibility: Public
227
+ - Kind: CarbonEngineJS
228
+
229
+ <!-- class:CjsPerFrameLayouts -->
230
+ ## `CjsPerFrameLayouts`
231
+
232
+ Resolved per-frame layouts, keyed by struct name.
233
+
234
+ - Export: @carbonenginejs/runtime/trinity/perframe
235
+ - Source: src/trinity/core/rawData/CjsPerFrameLayouts.js
236
+ - Visibility: Public
237
+ - Kind: CarbonEngineJS
238
+
239
+ <!-- class:CjsPerObjectLayouts -->
240
+ ## `CjsPerObjectLayouts`
241
+
242
+ Resolved per-object layouts, keyed by struct name.
243
+
244
+ - Export: @carbonenginejs/runtime/trinity/perobject
245
+ - Source: src/trinity/core/rawData/CjsPerObjectLayouts.js
246
+ - Visibility: Public
247
+ - Kind: CarbonEngineJS
248
+
249
+ <!-- class:Tr2BoundingLineSet -->
250
+ ## `Tr2BoundingLineSet`
251
+
252
+ A line set that draws an axis-aligned bounding box and its picking volume.
253
+
254
+ - Export: @carbonenginejs/runtime/trinity/core
255
+ - Source: src/trinity/core/line/Tr2BoundingLineSet.js
256
+ - Visibility: Public
257
+ - Kind: CarbonEngineJS
258
+
259
+ <!-- class:Tr2CurveLineSet -->
260
+ ## `Tr2CurveLineSet`
261
+
262
+ Owns editable curve-line records and their portable CPU runtime state.
263
+
264
+ That state includes Carbon's tessellated segment counts, local bounds,
265
+ transparent sorting, and the explicit physical line-stream draw obligation.
266
+
267
+ - Export: @carbonenginejs/runtime/trinity/core
268
+ - Source: src/trinity/core/line/Tr2CurveLineSet.js
269
+ - Visibility: Public
270
+ - Kind: CarbonEngineJS
271
+
272
+ <!-- class:Tr2DebugRenderer -->
273
+ ## `Tr2DebugRenderer`
274
+
275
+ Resolves which debug visualisations an object draws, from per-owner options over a default set.
276
+
277
+ - Export: @carbonenginejs/runtime/trinity/core
278
+ - Source: src/trinity/core/line/Tr2DebugRenderer.js
279
+ - Visibility: Public
280
+ - Kind: CarbonEngineJS
281
+
282
+ <!-- class:Tr2DepthStencil -->
283
+ ## `Tr2DepthStencil`
284
+
285
+ Tr2DepthStencil (trinityCore) - generated from schema shapeHash 9acb2c99....
286
+
287
+ - Export: @carbonenginejs/runtime/trinity/core
288
+ - Source: src/trinity/core/device/Tr2DepthStencil.js
289
+ - Visibility: Public
290
+ - Kind: CarbonEngineJS
291
+
292
+ <!-- class:Tr2DirectInstanceData -->
293
+ ## `Tr2DirectInstanceData`
294
+
295
+ Instance data whose buffer lives entirely on the GPU: Trinity keeps only the CPU-side layout metadata, stride, instance count and bounds.
296
+
297
+ - Export: @carbonenginejs/runtime/trinity/core
298
+ - Source: src/trinity/core/mesh/Tr2DirectInstanceData.js
299
+ - Visibility: Public
300
+ - Kind: CarbonEngineJS
301
+
302
+ <!-- class:Tr2ExpressionTermInfo -->
303
+ ## `Tr2ExpressionTermInfo`
304
+
305
+ Describes one term the expression language exposes - a variable, a function or a string function - with its category, argument names and help text.
306
+
307
+ - Export: @carbonenginejs/runtime/trinity/core
308
+ - Source: src/trinity/core/variable/Tr2ExpressionTermInfo.js
309
+ - Visibility: Public
310
+ - Kind: CarbonEngineJS
311
+
312
+ <!-- class:Tr2GpuBuffer -->
313
+ ## `Tr2GpuBuffer`
314
+
315
+ Tr2GpuBuffer (trinityCore) - generated from schema shapeHash 7a225a45....
316
+
317
+ - Export: @carbonenginejs/runtime/trinity/core
318
+ - Source: src/trinity/core/device/Tr2GpuBuffer.js
319
+ - Visibility: Public
320
+ - Kind: CarbonEngineJS
321
+
322
+ <!-- class:ITr2PoseModifier -->
323
+ ## `ITr2PoseModifier`
324
+
325
+ 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.
326
+
327
+ - Export: @carbonenginejs/runtime/trinity/core
328
+ - Source: src/trinity/core/animation/ITr2PoseModifier.js
329
+ - Visibility: Public
330
+ - Kind: Carbon
331
+
332
+ <!-- class:Tr2GrannyAnimation -->
333
+ ## `Tr2GrannyAnimation`
334
+
335
+ Tr2GrannyAnimation (trinityCore) - promoted from generated; shapeHash 056bad2a.
336
+
337
+ - Export: @carbonenginejs/runtime/trinity/core
338
+ - Source: src/trinity/core/animation/Tr2GrannyAnimation.js
339
+ - Visibility: Public
340
+ - Kind: CarbonEngineJS
341
+
342
+ <!-- class:Tr2InstancedMesh -->
343
+ ## `Tr2InstancedMesh`
344
+
345
+ A mesh drawn once per entry of a separate instance-data stream, with static bounds or bounds expanded by the per-instance size.
346
+
347
+ - Export: @carbonenginejs/runtime/trinity/core
348
+ - Source: src/trinity/core/mesh/Tr2InstancedMesh.js
349
+ - Visibility: Public
350
+ - Kind: CarbonEngineJS
351
+
352
+ <!-- class:Tr2LineGraph -->
353
+ ## `Tr2LineGraph`
354
+
355
+ A rolling sample history with named markers and running statistics, drawn as a line graph.
356
+
357
+ - Export: @carbonenginejs/runtime/trinity/core
358
+ - Source: src/trinity/core/line/Tr2LineGraph.js
359
+ - Visibility: Public
360
+ - Kind: CarbonEngineJS
361
+
362
+ <!-- class:Tr2LineSet -->
363
+ ## `Tr2LineSet`
364
+
365
+ A set of coloured lines with an accompanying picking-triangle list, submitted as one buffer.
366
+
367
+ - Export: @carbonenginejs/runtime/trinity/core
368
+ - Source: src/trinity/core/line/Tr2LineSet.js
369
+ - Visibility: Public
370
+ - Kind: CarbonEngineJS
371
+
372
+ <!-- class:Tr2ManipulationTool -->
373
+ ## `Tr2ManipulationTool`
374
+
375
+ The interactive manipulator base: axis selection, drag handling and the callback a move reports through.
376
+
377
+ - Export: @carbonenginejs/runtime/trinity/core
378
+ - Source: src/trinity/core/tool/Tr2ManipulationTool.js
379
+ - Visibility: Public
380
+ - Kind: CarbonEngineJS
381
+
382
+ <!-- class:Tr2MaterialParameterStore -->
383
+ ## `Tr2MaterialParameterStore`
384
+
385
+ Tr2MaterialParameterStore (trinityCore) - generated from schema shapeHash 119f32c2....
386
+
387
+ - Export: @carbonenginejs/runtime/trinity/core
388
+ - Source: src/trinity/core/Tr2MaterialParameterStore.js
389
+ - Visibility: Public
390
+ - Kind: CarbonEngineJS
391
+
392
+ <!-- class:Tr2Mesh -->
393
+ ## `Tr2Mesh`
394
+
395
+ A mesh backed by a geometry resource, adding the resource path plus the morph-target weights and baked-morph state on top of Tr2MeshBase.
396
+
397
+ - Export: @carbonenginejs/runtime/trinity/core
398
+ - Source: src/trinity/core/mesh/Tr2Mesh.js
399
+ - Visibility: Public
400
+ - Kind: CarbonEngineJS
401
+
402
+ <!-- class:Tr2MeshArea -->
403
+ ## `Tr2MeshArea`
404
+
405
+ 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.
406
+
407
+ - Export: @carbonenginejs/runtime/trinity/core
408
+ - Source: src/trinity/core/mesh/Tr2MeshArea.js
409
+ - Visibility: Public
410
+ - Kind: CarbonEngineJS
411
+
412
+ <!-- class:Tr2MeshBase -->
413
+ ## `Tr2MeshBase`
414
+
415
+ Base mesh: owns one mesh-area list per batch type and turns the displayed areas into GPU-free render batches and shadow area blocks.
416
+
417
+ - Export: @carbonenginejs/runtime/trinity/core
418
+ - Source: src/trinity/core/mesh/Tr2MeshBase.js
419
+ - Visibility: Public
420
+ - Kind: CarbonEngineJS
421
+
422
+ <!-- class:Tr2PerObjectData -->
423
+ ## `Tr2PerObjectData`
424
+
425
+ 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.
426
+
427
+ - Export: @carbonenginejs/runtime/trinity/core
428
+ - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectData.js
429
+ - Visibility: Public
430
+ - Kind: CarbonEngineJS
431
+
432
+ <!-- class:Tr2PerObjectDataPSBuffer -->
433
+ ## `Tr2PerObjectDataPSBuffer`
434
+
435
+ 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.
436
+
437
+ - Export: @carbonenginejs/runtime/trinity/core
438
+ - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js
439
+ - Visibility: Public
440
+ - Kind: CarbonEngineJS
441
+
442
+ <!-- class:Tr2PerObjectDataStandard -->
443
+ ## `Tr2PerObjectDataStandard`
444
+
445
+ 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.
446
+
447
+ - Export: @carbonenginejs/runtime/trinity/core
448
+ - Source: src/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js
449
+ - Visibility: Public
450
+ - Kind: CarbonEngineJS
451
+
452
+ <!-- class:EveBasicPerObjectData -->
453
+ ## `EveBasicPerObjectData`
454
+
455
+ The world, previous-world and inverse-world matrices every plain Eve transform uploads.
456
+
457
+ - Export: @carbonenginejs/runtime/trinity/core
458
+ - Source: src/trinity/core/rawData/perObjectData/EveBasicPerObjectData.js
459
+ - Visibility: Public
460
+ - Kind: CarbonEngineJS
461
+
462
+ <!-- class:EveBoosterSetPerObjectData -->
463
+ ## `EveBoosterSetPerObjectData`
464
+
465
+ A booster set's vertex and pixel payloads.
466
+
467
+ - Export: @carbonenginejs/runtime/trinity/core
468
+ - Source: src/trinity/core/rawData/perObjectData/EveBoosterSetPerObjectData.js
469
+ - Visibility: Public
470
+ - Kind: CarbonEngineJS
471
+
472
+ <!-- class:EveChildBoosterSetPerObjectData -->
473
+ ## `EveChildBoosterSetPerObjectData`
474
+
475
+ The child booster set's vertex and pixel payloads.
476
+
477
+ - Export: @carbonenginejs/runtime/trinity/core
478
+ - Source: src/trinity/core/rawData/perObjectData/EveChildBoosterSetPerObjectData.js
479
+ - Visibility: Public
480
+ - Kind: CarbonEngineJS
481
+
482
+ <!-- class:EveChildBulletStormPerObjectData -->
483
+ ## `EveChildBulletStormPerObjectData`
484
+
485
+ A bullet storm's transform, effect info and world-space target positions.
486
+
487
+ - Export: @carbonenginejs/runtime/trinity/core
488
+ - Source: src/trinity/core/rawData/perObjectData/EveChildBulletStormPerObjectData.js
489
+ - Visibility: Public
490
+ - Kind: CarbonEngineJS
491
+
492
+ <!-- class:EveChildSpherePinPerObjectData -->
493
+ ## `EveChildSpherePinPerObjectData`
494
+
495
+ The child sphere pin's payload, bound to both per-object registers.
496
+
497
+ - Export: @carbonenginejs/runtime/trinity/core
498
+ - Source: src/trinity/core/rawData/perObjectData/EveChildSpherePinPerObjectData.js
499
+ - Visibility: Public
500
+ - Kind: CarbonEngineJS
501
+
502
+ <!-- class:EveDecalPerObjectData -->
503
+ ## `EveDecalPerObjectData`
504
+
505
+ A decal's vertex and pixel payloads.
506
+
507
+ - Export: @carbonenginejs/runtime/trinity/core
508
+ - Source: src/trinity/core/rawData/perObjectData/EveDecalPerObjectData.js
509
+ - Visibility: Public
510
+ - Kind: CarbonEngineJS
511
+
512
+ <!-- class:EveLensflarePerObjectData -->
513
+ ## `EveLensflarePerObjectData`
514
+
515
+ A lensflare's payload, bound to both per-object registers.
516
+
517
+ - Export: @carbonenginejs/runtime/trinity/core
518
+ - Source: src/trinity/core/rawData/perObjectData/EveLensflarePerObjectData.js
519
+ - Visibility: Public
520
+ - Kind: CarbonEngineJS
521
+
522
+ <!-- class:EveMissileWarheadPerObjectData -->
523
+ ## `EveMissileWarheadPerObjectData`
524
+
525
+ A missile warhead's transform payload.
526
+
527
+ - Export: @carbonenginejs/runtime/trinity/core
528
+ - Source: src/trinity/core/rawData/perObjectData/EveMissileWarheadPerObjectData.js
529
+ - Visibility: Public
530
+ - Kind: CarbonEngineJS
531
+
532
+ <!-- class:EveSceneStaticParticlesPerObjectData -->
533
+ ## `EveSceneStaticParticlesPerObjectData`
534
+
535
+ The static-particle field's per-draw payload.
536
+
537
+ - Export: @carbonenginejs/runtime/trinity/core
538
+ - Source: src/trinity/core/rawData/perObjectData/EveSceneStaticParticlesPerObjectData.js
539
+ - Visibility: Public
540
+ - Kind: CarbonEngineJS
541
+
542
+ <!-- class:EveSpherePinPerObjectData -->
543
+ ## `EveSpherePinPerObjectData`
544
+
545
+ A sphere pin's transform, position, rotation and colour, bound to both registers.
546
+
547
+ - Export: @carbonenginejs/runtime/trinity/core
548
+ - Source: src/trinity/core/rawData/perObjectData/EveSpherePinPerObjectData.js
549
+ - Visibility: Public
550
+ - Kind: CarbonEngineJS
551
+
552
+ <!-- class:EveTurretSetPerObjectData -->
553
+ ## `EveTurretSetPerObjectData`
554
+
555
+ A turret set's vertex and pixel payloads.
556
+
557
+ - Export: @carbonenginejs/runtime/trinity/core
558
+ - Source: src/trinity/core/rawData/perObjectData/EveTurretSetPerObjectData.js
559
+ - Visibility: Public
560
+ - Kind: CarbonEngineJS
561
+
562
+ <!-- class:StretchPerObjectData -->
563
+ ## `StretchPerObjectData`
564
+
565
+ A stretch's endpoint and effect payload, bound to both registers.
566
+
567
+ - Export: @carbonenginejs/runtime/trinity/core
568
+ - Source: src/trinity/core/rawData/perObjectData/StretchPerObjectData.js
569
+ - Visibility: Public
570
+ - Kind: CarbonEngineJS
571
+ <!-- class:CjsConstantLayout -->
572
+ ## `CjsConstantLayout`
573
+
574
+ 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.
575
+
576
+ - Source: src/trinity/core/rawData/CjsConstantLayout.js
577
+ - Visibility: Internal
578
+ - Kind: CarbonEngineJS
579
+ <!-- class:CjsEveBasicLayout -->
580
+ ## `CjsEveBasicLayout`
581
+
582
+ Per-object constant-buffer layout for `EveBasicPerObjectData`.
583
+
584
+ - Source: src/trinity/core/rawData/layouts/CjsEveBasicLayout.js
585
+ - Visibility: Internal
586
+ - Kind: CarbonEngineJS
587
+
588
+ <!-- class:CjsEveBoosterSetLayout -->
589
+ ## `CjsEveBoosterSetLayout`
590
+
591
+ Per-object constant-buffer layouts for `EveBoosterSetVSData` and `EveBoosterSetPSData`.
592
+
593
+ - Source: src/trinity/core/rawData/layouts/CjsEveBoosterSetLayout.js
594
+ - Visibility: Internal
595
+ - Kind: CarbonEngineJS
596
+
597
+ <!-- class:CjsEveChildBoosterSetLayout -->
598
+ ## `CjsEveChildBoosterSetLayout`
599
+
600
+ Per-object constant-buffer layouts for `EveChildBoosterSetVSData` and `EveChildBoosterSetPSData`.
601
+
602
+ - Source: src/trinity/core/rawData/layouts/CjsEveChildBoosterSetLayout.js
603
+ - Visibility: Internal
604
+ - Kind: CarbonEngineJS
605
+
606
+ <!-- class:CjsEveChildBulletStormLayout -->
607
+ ## `CjsEveChildBulletStormLayout`
608
+
609
+ Per-object constant-buffer layout for `EveChildBulletStormPerObjectData`.
610
+
611
+ - Source: src/trinity/core/rawData/layouts/CjsEveChildBulletStormLayout.js
612
+ - Visibility: Internal
613
+ - Kind: CarbonEngineJS
614
+
615
+ <!-- class:CjsEveChildSpherePinLayout -->
616
+ ## `CjsEveChildSpherePinLayout`
617
+
618
+ Per-object constant-buffer layout for `EveChildSpherePinPerObjectData`.
619
+
620
+ - Source: src/trinity/core/rawData/layouts/CjsEveChildSpherePinLayout.js
621
+ - Visibility: Internal
622
+ - Kind: CarbonEngineJS
623
+
624
+ <!-- class:CjsEveLensflareLayout -->
625
+ ## `CjsEveLensflareLayout`
626
+
627
+ Per-object constant-buffer layout for `EveLensflarePerObjectData`.
628
+
629
+ - Source: src/trinity/core/rawData/layouts/CjsEveLensflareLayout.js
630
+ - Visibility: Internal
631
+ - Kind: CarbonEngineJS
632
+
633
+ <!-- class:CjsEveMissileWarheadLayout -->
634
+ ## `CjsEveMissileWarheadLayout`
635
+
636
+ Per-object constant-buffer layout for `EveMissileWarheadPerObjectData`.
637
+
638
+ - Source: src/trinity/core/rawData/layouts/CjsEveMissileWarheadLayout.js
639
+ - Visibility: Internal
640
+ - Kind: CarbonEngineJS
641
+
642
+ <!-- class:CjsEvePerObjectLayout -->
643
+ ## `CjsEvePerObjectLayout`
644
+
645
+ Per-object constant-buffer layouts for `EvePerObjectVSData` and `EvePerObjectPSData`.
646
+
647
+ - Source: src/trinity/core/rawData/layouts/CjsEvePerObjectLayout.js
648
+ - Visibility: Internal
649
+ - Kind: CarbonEngineJS
650
+
651
+ <!-- class:CjsEveSceneStaticParticlesLayout -->
652
+ ## `CjsEveSceneStaticParticlesLayout`
653
+
654
+ Per-object constant-buffer layout for `EveSceneStaticParticlesPerObjectData`.
655
+
656
+ - Source: src/trinity/core/rawData/layouts/CjsEveSceneStaticParticlesLayout.js
657
+ - Visibility: Internal
658
+ - Kind: CarbonEngineJS
659
+
660
+ <!-- class:CjsEveSpaceObjectDecalLayout -->
661
+ ## `CjsEveSpaceObjectDecalLayout`
662
+
663
+ Per-object constant-buffer layouts for `DecalVSPerObjectData` and `DecalPSPerObjectData`.
664
+
665
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpaceObjectDecalLayout.js
666
+ - Visibility: Internal
667
+ - Kind: CarbonEngineJS
668
+
669
+ <!-- class:CjsEveSpaceObjectLayout -->
670
+ ## `CjsEveSpaceObjectLayout`
671
+
672
+ Per-object constant-buffer layouts for `EveSpaceObjectVSData` and `EveSpaceObjectPSData`.
673
+
674
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpaceObjectLayout.js
675
+ - Visibility: Internal
676
+ - Kind: CarbonEngineJS
677
+
678
+ <!-- class:CjsEveSpacePerObjectLayout -->
679
+ ## `CjsEveSpacePerObjectLayout`
680
+
681
+ Per-object constant-buffer layout for `EveSpacePerObjectData`.
682
+
683
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpacePerObjectLayout.js
684
+ - Visibility: Internal
685
+ - Kind: CarbonEngineJS
686
+
687
+ <!-- class:CjsEveSpherePinLayout -->
688
+ ## `CjsEveSpherePinLayout`
689
+
690
+ Per-object constant-buffer layout for `EveSpherePinPerObjectData`.
691
+
692
+ - Source: src/trinity/core/rawData/layouts/CjsEveSpherePinLayout.js
693
+ - Visibility: Internal
694
+ - Kind: CarbonEngineJS
695
+
696
+ <!-- class:CjsEveStretch2Layout -->
697
+ ## `CjsEveStretch2Layout`
698
+
699
+ Per-object constant-buffer layout for `EveStretch2PerObjectData`.
700
+
701
+ - Source: src/trinity/core/rawData/layouts/CjsEveStretch2Layout.js
702
+ - Visibility: Internal
703
+ - Kind: CarbonEngineJS
704
+
705
+ <!-- class:CjsEveTurretSetLayout -->
706
+ ## `CjsEveTurretSetLayout`
707
+
708
+ Per-object constant-buffer layouts for `EveTurretSetVSData` and `EveTurretSetPSData`.
709
+
710
+ - Source: src/trinity/core/rawData/layouts/CjsEveTurretSetLayout.js
711
+ - Visibility: Internal
712
+ - Kind: CarbonEngineJS
713
+
714
+ <!-- class:CjsTr2PerObjectLayout -->
715
+ ## `CjsTr2PerObjectLayout`
716
+
717
+ Per-object constant-buffer layout for `Tr2PerObjectVSData`.
718
+
719
+ - Source: src/trinity/core/rawData/layouts/CjsTr2PerObjectLayout.js
720
+ - Visibility: Internal
721
+ - Kind: CarbonEngineJS
722
+ <!-- class:Tr2PrimaryRenderContext -->
723
+ ## `Tr2PrimaryRenderContext`
724
+
725
+ Tr2PrimaryRenderContext (trinityCore) - generated from schema shapeHash 92b87061....
726
+
727
+ - Export: @carbonenginejs/runtime/trinity/core
728
+ - Source: src/trinity/core/context/Tr2PrimaryRenderContext.js
729
+ - Visibility: Public
730
+ - Kind: CarbonEngineJS
731
+
732
+ <!-- class:Tr2PrimitiveSet -->
733
+ ## `Tr2PrimitiveSet`
734
+
735
+ A drawable set of primitives with a world transform, sort value and bounding sphere.
736
+
737
+ - Export: @carbonenginejs/runtime/trinity/core
738
+ - Source: src/trinity/core/line/Tr2PrimitiveSet.js
739
+ - Visibility: Public
740
+ - Kind: CarbonEngineJS
741
+
742
+ <!-- class:Tr2QuadRenderer -->
743
+ ## `Tr2QuadRenderer`
744
+
745
+ Collects quads from every registered effect into one merged instance buffer and emits them as batches.
746
+
747
+ `AddQuads` copies terminal instance bytes without interpreting them. Producers
748
+ that own mixed-width records, such as Eve's 108-byte quad layouts, pack their
749
+ float32 rows and float16 tails before submission. Numeric arrays remain a
750
+ float32-compatible convenience for uniformly typed records.
751
+
752
+ - Export: @carbonenginejs/runtime/trinity/core
753
+ - Source: src/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js
754
+ - Visibility: Public
755
+ - Kind: CarbonEngineJS
756
+
757
+ <!-- class:Tr2QuadRendererEffectRecord -->
758
+ ## `Tr2QuadRendererEffectRecord`
759
+
760
+ One registered quad effect (Carbon Tr2QuadRenderer::EffectRecord).
761
+
762
+ - Export: @carbonenginejs/runtime/trinity/core
763
+ - Source: src/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js
764
+ - Visibility: Public
765
+ - Kind: CarbonEngineJS
766
+
767
+ <!-- class:Tr2RenderBatch -->
768
+ ## `Tr2RenderBatch`
769
+
770
+ One draw's worth of CPU descriptor state - material and shader key, geometry binding, draw arguments and sort keys - holding no device resources.
771
+
772
+ - Export: @carbonenginejs/runtime/trinity/core
773
+ - Source: src/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js
774
+ - Visibility: Public
775
+ - Kind: CarbonEngineJS
776
+
777
+ <!-- class:TriRenderBatchAreaBlock -->
778
+ ## `TriRenderBatchAreaBlock`
779
+
780
+ A contiguous (startIndex, count) run of mesh groups, as consumed by the shadow and overlay area-block paths.
781
+
782
+ - Export: @carbonenginejs/runtime/trinity/core
783
+ - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlock.js
784
+ - Visibility: Public
785
+ - Kind: CarbonEngineJS
786
+
787
+ <!-- class:TriRenderBatchAreaBlocksWithSharedMaterial -->
788
+ ## `TriRenderBatchAreaBlocksWithSharedMaterial`
789
+
790
+ Groups the area blocks that draw with one shared shader material on the shadow and overlay path.
791
+
792
+ - Export: @carbonenginejs/runtime/trinity/core
793
+ - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAreaBlocksWithSharedMaterial.js
794
+ - Visibility: Public
795
+ - Kind: CarbonEngineJS
796
+
797
+ <!-- class:Tr2RenderContext -->
798
+ ## `Tr2RenderContext`
799
+
800
+ Tr2RenderContext (trinityCore) - generated from schema shapeHash 73e2a4e7....
801
+
802
+ - Export: @carbonenginejs/runtime/trinity/core
803
+ - Source: src/trinity/core/context/Tr2RenderContext.js
804
+ - Visibility: Public
805
+ - Kind: CarbonEngineJS
806
+
807
+ <!-- class:Tr2RenderTarget -->
808
+ ## `Tr2RenderTarget`
809
+
810
+ Tr2RenderTarget (trinityCore) - generated from schema shapeHash dc39c914....
811
+
812
+ - Export: @carbonenginejs/runtime/trinity/core
813
+ - Source: src/trinity/core/device/Tr2RenderTarget.js
814
+ - Visibility: Public
815
+ - Kind: CarbonEngineJS
816
+
817
+ <!-- class:Tr2RuntimeGpuBuffer -->
818
+ ## `Tr2RuntimeGpuBuffer`
819
+
820
+ Tr2RuntimeGpuBuffer (trinityCore) - generated from schema shapeHash 0cb23744....
821
+
822
+ - Export: @carbonenginejs/runtime/trinity/core
823
+ - Source: src/trinity/core/device/Tr2RuntimeGpuBuffer.js
824
+ - Visibility: Public
825
+ - Kind: CarbonEngineJS
826
+
827
+ <!-- class:Tr2RotationTool -->
828
+ ## `Tr2RotationTool`
829
+
830
+ Extends the manipulation tool with quaternion rotation state and angular precision.
831
+
832
+ - Export: `@carbonenginejs/runtime/trinity/core`
833
+ - Source: `src/trinity/core/tool/Tr2RotationTool.js`
834
+ - Visibility: Public
835
+ - Kind: CarbonEngineJS
836
+
837
+ <!-- class:Tr2RuntimeInstanceData -->
838
+ ## `Tr2RuntimeInstanceData`
839
+
840
+ 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.
841
+
842
+ - Export: @carbonenginejs/runtime/trinity/core
843
+ - Source: src/trinity/core/mesh/Tr2RuntimeInstanceData.js
844
+ - Visibility: Public
845
+ - Kind: CarbonEngineJS
846
+
847
+ <!-- class:Tr2ScalingTool -->
848
+ ## `Tr2ScalingTool`
849
+
850
+ An interactive scaling manipulator that turns pointer drags along a selected axis into a scale.
851
+
852
+ - Export: @carbonenginejs/runtime/trinity/core
853
+ - Source: src/trinity/core/tool/Tr2ScalingTool.js
854
+ - Visibility: Public
855
+ - Kind: CarbonEngineJS
856
+
857
+ <!-- class:Tr2SerializedMorphAnimation -->
858
+ ## `Tr2SerializedMorphAnimation`
859
+
860
+ Tr2SerializedMorphAnimation (trinityCore) - generated from schema shapeHash 58cefc7b....
861
+
862
+ - Export: @carbonenginejs/runtime/trinity/core
863
+ - Source: src/trinity/core/mesh/Tr2SerializedMorphAnimation.js
864
+ - Visibility: Public
865
+ - Kind: CarbonEngineJS
866
+
867
+ <!-- class:Tr2ShLightingManager -->
868
+ ## `Tr2ShLightingManager`
869
+
870
+ Computes the spherical-harmonic coefficients that approximate secondary lighting - a primary light reflected off nearby spheres - for any receiver position in the scene.
871
+
872
+ - Export: @carbonenginejs/runtime/trinity/core
873
+ - Source: src/trinity/core/lighting/Tr2ShLightingManager.js
874
+ - Visibility: Public
875
+ - Kind: CarbonEngineJS
876
+
877
+ <!-- class:Tr2SolidSet -->
878
+ ## `Tr2SolidSet`
879
+
880
+ A set of coloured triangles with a running centre of mass, submitted as one buffer.
881
+
882
+ - Export: @carbonenginejs/runtime/trinity/core
883
+ - Source: src/trinity/core/line/Tr2SolidSet.js
884
+ - Visibility: Public
885
+ - Kind: CarbonEngineJS
886
+
887
+ <!-- class:Tr2SwapChain -->
888
+ ## `Tr2SwapChain`
889
+
890
+ Tr2SwapChain (trinityCore) - generated from schema shapeHash 955529ab....
891
+
892
+ - Export: @carbonenginejs/runtime/trinity/core
893
+ - Source: src/trinity/core/device/Tr2SwapChain.js
894
+ - Visibility: Public
895
+ - Kind: CarbonEngineJS
896
+
897
+ <!-- class:Tr2TextureAnimation -->
898
+ ## `Tr2TextureAnimation`
899
+
900
+ Advances a multi-channel texture flipbook, tracking frame and restart state per channel.
901
+
902
+ - Export: @carbonenginejs/runtime/trinity/core
903
+ - Source: src/trinity/core/animation/Tr2TextureAnimation.js
904
+ - Visibility: Public
905
+ - Kind: CarbonEngineJS
906
+
907
+ <!-- class:Tr2VariableStore -->
908
+ ## `Tr2VariableStore`
909
+
910
+ Named-variable collection used by the shader system for binding.
911
+
912
+ - Export: @carbonenginejs/runtime/trinity/core
913
+ - Source: src/trinity/core/variable/Tr2VariableStore.js
914
+ - Visibility: Public
915
+ - Kind: CarbonEngineJS
916
+
917
+ <!-- class:Tr2VisibilityEvent -->
918
+ ## `Tr2VisibilityEvent`
919
+
920
+ Carbon's Tr2VisibilityEvent struct - the shared shape producers push into Tr2VisibilityResults and the interior/portal visibility consumers read.
921
+
922
+ - Export: @carbonenginejs/runtime/trinity/core
923
+ - Source: src/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityEvent.js
924
+ - Visibility: Public
925
+ - Kind: CarbonEngineJS
926
+
927
+ <!-- class:Tr2VisibilityResults -->
928
+ ## `Tr2VisibilityResults`
929
+
930
+ Collects the visibility events a visibility executor emits, for the interior and portal consumers to read back.
931
+
932
+ - Export: @carbonenginejs/runtime/trinity/core
933
+ - Source: src/trinity/core/context/Tr2VisibilityResults/Tr2VisibilityResults.js
934
+ - Visibility: Public
935
+ - Kind: CarbonEngineJS
936
+
937
+ <!-- class:TriDevice -->
938
+ ## `TriDevice`
939
+
940
+ TriDevice (trinityCore) - generated from schema shapeHash 1db3a492....
941
+
942
+ - Export: @carbonenginejs/runtime/trinity/core
943
+ - Source: src/trinity/core/device/TriDevice.js
944
+ - Visibility: Public
945
+ - Kind: CarbonEngineJS
946
+
947
+ <!-- class:TriFloat -->
948
+ ## `TriFloat`
949
+
950
+ TriFloat (trinityCore) - generated from schema shapeHash b5384f79....
951
+
952
+ - Export: @carbonenginejs/runtime/trinity/core
953
+ - Source: src/trinity/core/variable/TriFloat.js
954
+ - Visibility: Public
955
+ - Kind: CarbonEngineJS
956
+
957
+ <!-- class:TriFrustum -->
958
+ ## `TriFrustum`
959
+
960
+ 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.
961
+
962
+ - Export: @carbonenginejs/runtime/trinity/core
963
+ - Source: src/trinity/core/view/TriFrustum.js
964
+ - Visibility: Public
965
+ - Kind: CarbonEngineJS
966
+
967
+ <!-- class:TriFrustumOrtho -->
968
+ ## `TriFrustumOrtho`
969
+
970
+ Carbon TriFrustumOrtho (TriFrustumOrtho.h:9-27): orthographic shadow frustum as view matrix + view-space bounds.
971
+
972
+ - Export: @carbonenginejs/runtime/trinity/core
973
+ - Source: src/trinity/core/view/TriFrustumOrtho.js
974
+ - Visibility: Public
975
+ - Kind: CarbonEngineJS
976
+
977
+ <!-- class:TriLineSet -->
978
+ ## `TriLineSet`
979
+
980
+ A debug line set that builds boxes, spheres, cylinders and cones out of coloured line segments.
981
+
982
+ - Export: @carbonenginejs/runtime/trinity/core
983
+ - Source: src/trinity/core/line/TriLineSet.js
984
+ - Visibility: Public
985
+ - Kind: CarbonEngineJS
986
+
987
+ <!-- class:TriObserverLocal -->
988
+ ## `TriObserverLocal`
989
+
990
+ 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.
991
+
992
+ - Export: @carbonenginejs/runtime/trinity/core
993
+ - Source: src/trinity/core/variable/TriObserverLocal.js
994
+ - Visibility: Public
995
+ - Kind: CarbonEngineJS
996
+
997
+ <!-- class:TriProjection -->
998
+ ## `TriProjection`
999
+
1000
+ The camera projection: the selected projection mode with its parameters, plus the 4x4 matrix built from them.
1001
+
1002
+ - Export: @carbonenginejs/runtime/trinity/core
1003
+ - Source: src/trinity/core/view/TriProjection.js
1004
+ - Visibility: Public
1005
+ - Kind: CarbonEngineJS
1006
+
1007
+ <!-- class:TriRect -->
1008
+ ## `TriRect`
1009
+
1010
+ An integer screen rectangle given by its left, top, right and bottom edges.
1011
+
1012
+ - Export: @carbonenginejs/runtime/trinity/core
1013
+ - Source: src/trinity/core/view/TriRect.js
1014
+ - Visibility: Public
1015
+ - Kind: CarbonEngineJS
1016
+
1017
+ <!-- class:TriRenderBatchAccumulator -->
1018
+ ## `TriRenderBatchAccumulator`
1019
+
1020
+ Concrete GPU-free batch accumulator: collects committed batches into a GDPR-eligible and a plain vector, then sorts and group-counts them on Finalize.
1021
+
1022
+ - Export: @carbonenginejs/runtime/trinity/core
1023
+ - Source: src/trinity/core/batch/TriRenderBatch/TriRenderBatchAccumulator.js
1024
+ - Visibility: Public
1025
+ - Kind: CarbonEngineJS
1026
+
1027
+ <!-- class:TriRenderBatchMap -->
1028
+ ## `TriRenderBatchMap`
1029
+
1030
+ One render-batch accumulator per TriBatchType, with the scene-level collect, finalize and clear flow over them.
1031
+
1032
+ - Export: @carbonenginejs/runtime/trinity/core
1033
+ - Source: src/trinity/core/batch/TriRenderBatchMap.js
1034
+ - Visibility: Public
1035
+ - Kind: CarbonEngineJS
1036
+
1037
+ <!-- class:TriRigidOrientation -->
1038
+ ## `TriRigidOrientation`
1039
+
1040
+ Integrates torque into an orientation over time, sampling the result at a given moment.
1041
+
1042
+ - Export: @carbonenginejs/runtime/trinity/core
1043
+ - Source: src/trinity/core/animation/TriRigidOrientation.js
1044
+ - Visibility: Public
1045
+ - Kind: CarbonEngineJS
1046
+
1047
+ <!-- class:TriSettings -->
1048
+ ## `TriSettings`
1049
+
1050
+ A registry of named boolean, number and string settings with type-checked reads and writes and a Python-style repr.
1051
+
1052
+ - Export: @carbonenginejs/runtime/trinity/core
1053
+ - Source: src/trinity/core/TriSettings.js
1054
+ - Visibility: Public
1055
+ - Kind: CarbonEngineJS
1056
+
1057
+ <!-- class:TriTorque -->
1058
+ ## `TriTorque`
1059
+
1060
+ TriTorque (trinityCore) - generated from schema shapeHash 10c5e0d6....
1061
+
1062
+ - Export: @carbonenginejs/runtime/trinity/core
1063
+ - Source: src/trinity/core/animation/TriTorque.js
1064
+ - Visibility: Public
1065
+ - Kind: CarbonEngineJS
1066
+
1067
+ <!-- class:TriVariable -->
1068
+ ## `TriVariable`
1069
+
1070
+ One named shader-binding variable: the content type fixed when it was registered, plus the value payload standing in for Carbon's typed union.
1071
+
1072
+ - Export: @carbonenginejs/runtime/trinity/core
1073
+ - Source: src/trinity/core/variable/TriVariable.js
1074
+ - Visibility: Public
1075
+ - Kind: CarbonEngineJS
1076
+
1077
+ <!-- class:TriView -->
1078
+ ## `TriView`
1079
+
1080
+ The camera view matrix, together with the look-at helper that builds it.
1081
+
1082
+ - Export: @carbonenginejs/runtime/trinity/core
1083
+ - Source: src/trinity/core/view/TriView.js
1084
+ - Visibility: Public
1085
+ - Kind: CarbonEngineJS
1086
+
1087
+ <!-- class:TriViewport -->
1088
+ ## `TriViewport`
1089
+
1090
+ A screen viewport rectangle in pixels together with its minimum and maximum depth.
1091
+
1092
+ - Export: @carbonenginejs/runtime/trinity/core
1093
+ - Source: src/trinity/core/view/TriViewport.js
1094
+ - Visibility: Public
1095
+ - Kind: CarbonEngineJS
1096
+
1097
+ <!-- class:Tr2KelvinColor -->
1098
+ ## `Tr2KelvinColor`
1099
+
1100
+ A light colour authored as a temperature in kelvin, a tint, and a white-balance illuminant.
1101
+
1102
+ - Export: @carbonenginejs/runtime/trinity/core
1103
+ - Source: src/trinity/core/lighting/Tr2KelvinColor.js
1104
+ - Visibility: Public
1105
+ - Kind: CarbonEngineJS
1106
+
1107
+ <!-- class:Tr2TranslationTool -->
1108
+ ## `Tr2TranslationTool`
1109
+
1110
+ Extends the manipulation tool with the current three-axis translation result.
1111
+
1112
+ - Export: `@carbonenginejs/runtime/trinity/core`
1113
+ - Source: `src/trinity/core/tool/Tr2TranslationTool.js`
1114
+ - Visibility: Public
1115
+ - Kind: CarbonEngineJS
1116
+
1117
+ <!-- class:CjsTrinityBatchDispatcher -->
1118
+ ## `CjsTrinityBatchDispatcher`
1119
+
1120
+ Minimum renderer contract for a finalized Trinity batch map.
1121
+
1122
+ - Export: `@carbonenginejs/runtime/trinity/core`
1123
+ - Source: `src/trinity/core/batch/CjsTrinityBatchDispatcher.js`
1124
+ - Visibility: Public
1125
+ - Kind: CarbonEngineJS
1126
+
1127
+ <!-- class:CjsTrinityBatchResolver -->
1128
+ ## `CjsTrinityBatchResolver`
1129
+
1130
+ Nominal composition boundary that resolves Trinity CPU batch references for a concrete renderer.
1131
+
1132
+ - Export: `@carbonenginejs/runtime/trinity/core`
1133
+ - Source: `src/trinity/core/batch/CjsTrinityBatchResolver.js`
1134
+ - Visibility: Public
1135
+ - Kind: CarbonEngineJS
1136
+
1137
+ <!-- class:CjsDirectTrinityStepExecutor -->
1138
+ ## `CjsDirectTrinityStepExecutor`
1139
+
1140
+ Direct GPU-free executor used whenever no engine recorder is installed.
1141
+
1142
+ - Export: `@carbonenginejs/runtime/trinity/core`
1143
+ - Source: `src/trinity/core/context/CjsDirectTrinityStepExecutor.js`
1144
+ - Visibility: Public
1145
+ - Kind: CarbonEngineJS
1146
+
1147
+ <!-- class:CjsTrinityStepExecutor -->
1148
+ ## `CjsTrinityStepExecutor`
1149
+
1150
+ Nominal renderer contract driven by Trinity render contexts and jobs.
1151
+
1152
+ - Export: `@carbonenginejs/runtime/trinity/core`
1153
+ - Source: `src/trinity/core/context/CjsTrinityStepExecutor.js`
1154
+ - Visibility: Public
1155
+ - Kind: CarbonEngineJS
1156
+
1157
+ <!-- class:Tr2EffectLibraryParameters -->
1158
+ ## `Tr2EffectLibraryParameters`
1159
+
1160
+ Collects one effect library's local and global stage inputs, rerouted parameters, and resource-set state.
1161
+
1162
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1163
+ - Source: `src/trinity/shader/material/Tr2EffectLibraryParameters.js`
1164
+ - Visibility: Public
1165
+ - Kind: Carbon
1166
+
1167
+ <!-- class:Tr2EffectParam -->
1168
+ ## `Tr2EffectParam`
1169
+
1170
+ Maps a named effect value onto a contiguous shader-register span.
1171
+
1172
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1173
+ - Source: `src/trinity/shader/material/Tr2EffectParam.js`
1174
+ - Visibility: Public
1175
+ - Kind: Carbon
1176
+
1177
+ <!-- class:Tr2EffectPassParameters -->
1178
+ ## `Tr2EffectPassParameters`
1179
+
1180
+ Collects one effect pass's per-stage inputs, rerouted parameters, used resources, and resource-set state.
1181
+
1182
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1183
+ - Source: `src/trinity/shader/material/Tr2EffectPassParameters.js`
1184
+ - Visibility: Public
1185
+ - Kind: Carbon
1186
+
1187
+ <!-- class:Tr2EffectTechniqueInputs -->
1188
+ ## `Tr2EffectTechniqueInputs`
1189
+
1190
+ Groups the pass and library parameter records prepared for one effect technique.
1191
+
1192
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1193
+ - Source: `src/trinity/shader/material/Tr2EffectTechniqueInputs.js`
1194
+ - Visibility: Public
1195
+ - Kind: Carbon
1196
+
1197
+ <!-- class:Tr2MaterialStageInput -->
1198
+ ## `Tr2MaterialStageInput`
1199
+
1200
+ Organizes one shader stage's constants, parameters, textures, UAVs, and CPU-side constant mirror.
1201
+
1202
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1203
+ - Source: `src/trinity/shader/material/Tr2MaterialStageInput.js`
1204
+ - Visibility: Public
1205
+ - Kind: Carbon
1206
+
1207
+ <!-- class:Tr2SharedConstantBuffers -->
1208
+ ## `Tr2SharedConstantBuffers`
1209
+
1210
+ Tracks shared constant-buffer contents by size and hash together with its backing buffer and reference count.
1211
+
1212
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1213
+ - Source: `src/trinity/shader/material/Tr2SharedConstantBuffers.js`
1214
+ - Visibility: Public
1215
+ - Kind: Carbon
1216
+
1217
+ <!-- class:CjsParameter -->
1218
+ ## `CjsParameter`
1219
+
1220
+ Shared base for the shader parameter models: destination-reroute plumbing, effect-reflection lookups and Carbon's FNV1 content hashing.
1221
+
1222
+ - Source: `src/trinity/shader/parameter/CjsParameter.js`
1223
+ - Visibility: Internal
1224
+ - Kind: CarbonEngineJS
1225
+
1226
+ <!-- class:CjsVectorParameter -->
1227
+ ## `CjsVectorParameter`
1228
+
1229
+ Base for the multi-component shader parameters, adding fixed-length destination reads and writes on top of CjsParameter.
1230
+
1231
+ - Source: `src/trinity/shader/parameter/CjsVectorParameter.js`
1232
+ - Visibility: Internal
1233
+ - Kind: CarbonEngineJS
1234
+
1235
+ <!-- class:Tr2ConstantEffectParameter -->
1236
+ ## `Tr2ConstantEffectParameter`
1237
+
1238
+ Stores one named persistent vec4 constant authored directly on an effect.
1239
+
1240
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1241
+ - Source: `src/trinity/shader/parameter/Tr2ConstantEffectParameter.js`
1242
+ - Visibility: Public
1243
+ - Kind: Carbon
1244
+
1245
+ <!-- class:Tr2FloatParameter -->
1246
+ ## `Tr2FloatParameter`
1247
+
1248
+ Single float value for a named shader constant, with optional rerouting into an external scalar destination.
1249
+
1250
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1251
+ - Source: `src/trinity/shader/parameter/Tr2FloatParameter.js`
1252
+ - Visibility: Public
1253
+ - Kind: Carbon
1254
+
1255
+ <!-- class:Tr2GeometryBufferParameter -->
1256
+ ## `Tr2GeometryBufferParameter`
1257
+
1258
+ Carries a named shader-buffer path for host resolution or a caller-owned GPU buffer reference.
1259
+
1260
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1261
+ - Source: `src/trinity/shader/parameter/Tr2GeometryBufferParameter.js`
1262
+ - Visibility: Public
1263
+ - Kind: Carbon
1264
+
1265
+ <!-- class:Tr2Matrix4Parameter -->
1266
+ ## `Tr2Matrix4Parameter`
1267
+
1268
+ 4x4 matrix value for a named shader constant, with optional rerouting into an external 64-byte destination.
1269
+
1270
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1271
+ - Source: `src/trinity/shader/parameter/Tr2Matrix4Parameter.js`
1272
+ - Visibility: Public
1273
+ - Kind: Carbon
1274
+
1275
+ <!-- class:Tr2RuntimeTextureParameter -->
1276
+ ## `Tr2RuntimeTextureParameter`
1277
+
1278
+ A named texture slot fed by a runtime-supplied texture provider rather than an authored res path.
1279
+
1280
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1281
+ - Source: `src/trinity/shader/parameter/Tr2RuntimeTextureParameter.js`
1282
+ - Visibility: Public
1283
+ - Kind: Carbon
1284
+
1285
+ <!-- class:Tr2TextureAnimationParameter -->
1286
+ ## `Tr2TextureAnimationParameter`
1287
+
1288
+ Exposes one named channel of a texture animation as a shader resource and invalidates attached materials as it changes.
1289
+
1290
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1291
+ - Source: `src/trinity/shader/parameter/Tr2TextureAnimationParameter.js`
1292
+ - Visibility: Public
1293
+ - Kind: Carbon
1294
+
1295
+ <!-- class:Tr2Vector2Parameter -->
1296
+ ## `Tr2Vector2Parameter`
1297
+
1298
+ Two-component float value for a named shader constant, with sRGB gamma handling and optional rerouting into an external destination.
1299
+
1300
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1301
+ - Source: `src/trinity/shader/parameter/Tr2Vector2Parameter.js`
1302
+ - Visibility: Public
1303
+ - Kind: Carbon
1304
+
1305
+ <!-- class:Tr2Vector3Parameter -->
1306
+ ## `Tr2Vector3Parameter`
1307
+
1308
+ Three-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/Tr2Vector3Parameter.js`
1312
+ - Visibility: Public
1313
+ - Kind: Carbon
1314
+
1315
+ <!-- class:Tr2Vector4Parameter -->
1316
+ ## `Tr2Vector4Parameter`
1317
+
1318
+ Four-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/Tr2Vector4Parameter.js`
1322
+ - Visibility: Public
1323
+ - Kind: Carbon
1324
+
1325
+ <!-- class:TriFloatArrayParameter -->
1326
+ ## `TriFloatArrayParameter`
1327
+
1328
+ An ordered list of vec4 rows uploaded into one named shader constant array.
1329
+
1330
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1331
+ - Source: `src/trinity/shader/parameter/TriFloatArrayParameter.js`
1332
+ - Visibility: Public
1333
+ - Kind: Carbon
1334
+
1335
+ <!-- class:TriTextureParameter -->
1336
+ ## `TriTextureParameter`
1337
+
1338
+ 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.
1339
+
1340
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1341
+ - Source: `src/trinity/shader/parameter/TriTextureParameter.js`
1342
+ - Visibility: Public
1343
+ - Kind: Carbon
1344
+
1345
+ <!-- class:TriTransformParameter -->
1346
+ ## `TriTransformParameter`
1347
+
1348
+ Composes authored translation, rotation, scale, and transform-base state into the matrix uploaded to a shader constant.
1349
+
1350
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1351
+ - Source: `src/trinity/shader/parameter/TriTransformParameter.js`
1352
+ - Visibility: Public
1353
+ - Kind: Carbon
1354
+
1355
+ <!-- class:TriVariableParameter -->
1356
+ ## `TriVariableParameter`
1357
+
1358
+ Forwards a named variable-store entry into a named effect constant or resource.
1359
+
1360
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1361
+ - Source: `src/trinity/shader/parameter/TriVariableParameter.js`
1362
+ - Visibility: Public
1363
+ - Kind: Carbon
1364
+
1365
+ <!-- class:TriVector4 -->
1366
+ ## `TriVector4`
1367
+
1368
+ One vec4 row of a TriFloatArrayParameter's value list.
1369
+
1370
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1371
+ - Source: `src/trinity/shader/parameter/TriVector4.js`
1372
+ - Visibility: Public
1373
+ - Kind: Carbon
1374
+
1375
+ <!-- class:Tr2ShaderOption -->
1376
+ ## `Tr2ShaderOption`
1377
+
1378
+ Mutable authored option on the Tr2Effect facade.
1379
+
1380
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1381
+ - Source: `src/trinity/shader/reflection/Tr2ShaderOption.js`
1382
+ - Visibility: Public
1383
+ - Kind: Carbon
1384
+
1385
+ <!-- class:Tr2SamplerOverride -->
1386
+ ## `Tr2SamplerOverride`
1387
+
1388
+ Overrides one named sampler's address, filtering, LOD-bias, mip, and anisotropy settings.
1389
+
1390
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1391
+ - Source: `src/trinity/shader/sampler/Tr2SamplerOverride.js`
1392
+ - Visibility: Public
1393
+ - Kind: Carbon
1394
+
1395
+ <!-- class:Tr2SamplerOverrideData -->
1396
+ ## `Tr2SamplerOverrideData`
1397
+
1398
+ Associates a shader sampler register with the sampler-state object to bind.
1399
+
1400
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1401
+ - Source: `src/trinity/shader/sampler/Tr2SamplerOverrideData.js`
1402
+ - Visibility: Public
1403
+ - Kind: Carbon
1404
+
1405
+ <!-- class:Tr2DataTextureManager -->
1406
+ ## `Tr2DataTextureManager`
1407
+
1408
+ Packs shader-readable data blocks into a shared texture, whose allocation an engine adapter owns.
1409
+
1410
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1411
+ - Source: `src/trinity/shader/Tr2DataTextureManager.js`
1412
+ - Visibility: Public
1413
+ - Kind: Carbon
1414
+
1415
+ <!-- class:Tr2Effect -->
1416
+ ## `Tr2Effect`
1417
+
1418
+ Owns the mutable effect facade: shader path and options, authored parameters and resources, sampler overrides, variable-store resolution, and rebuild state.
1419
+
1420
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1421
+ - Source: `src/trinity/shader/Tr2Effect.js`
1422
+ - Visibility: Public
1423
+ - Kind: Carbon
1424
+
1425
+ <!-- class:Tr2EffectStateManager -->
1426
+ ## `Tr2EffectStateManager`
1427
+
1428
+ 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.
1429
+
1430
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1431
+ - Source: `src/trinity/shader/Tr2EffectStateManager.js`
1432
+ - Visibility: Public
1433
+ - Kind: Carbon
1434
+
1435
+ <!-- class:Tr2Material -->
1436
+ ## `Tr2Material`
1437
+
1438
+ Owns a resolved shader's per-technique pass and library bindings, resource invalidation, texture LOD forwarding, and draw-sort state.
1439
+
1440
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1441
+ - Source: `src/trinity/shader/Tr2Material.js`
1442
+ - Visibility: Public
1443
+ - Kind: Carbon
1444
+
1445
+ <!-- class:Tr2ShaderBuffer -->
1446
+ ## `Tr2ShaderBuffer`
1447
+
1448
+ Owns a detached byte payload for one shader stage while leaving device binding to the engine.
1449
+
1450
+ - Export: `@carbonenginejs/runtime/trinity/shader`
1451
+ - Source: `src/trinity/shader/Tr2ShaderBuffer.js`
1452
+ - Visibility: Public
1453
+ - Kind: Carbon
1454
+
1455
+ <!-- class:Tr2PresentParameters -->
1456
+ ## `Tr2PresentParameters`
1457
+
1458
+ Carries the software-device, back-buffer size, and windowed-mode values used when creating a rendering device.
1459
+
1460
+ - Export: `@carbonenginejs/runtime/trinity/ui`
1461
+ - Source: `src/trinity/ui/Tr2PresentParameters.js`
1462
+ - Visibility: Public
1463
+ - Kind: Carbon
1464
+
1465
+ <!-- class:Tr2GpuResourcePool -->
1466
+ ## `Tr2GpuResourcePool`
1467
+
1468
+ Pooled scratch textures and buffers.
1469
+
1470
+ - Export: `@carbonenginejs/runtime/trinity/core`
1471
+ - Source: `src/trinity/core/Tr2GpuResourcePool/Tr2GpuResourcePool.js`
1472
+ - Visibility: Public
1473
+ - Kind: Carbon
1474
+
1475
+ <!-- class:GpuResourceHandle -->
1476
+ ## `GpuResourceHandle`
1477
+
1478
+ A borrowed pool resource.
1479
+
1480
+ - Export: `@carbonenginejs/runtime/trinity/core`
1481
+ - Source: `src/trinity/core/Tr2GpuResourcePool/GpuResourceHandle.js`
1482
+ - Visibility: Public
1483
+ - Kind: Carbon
1484
+
1485
+ <!-- class:TextureSize2D -->
1486
+ ## `TextureSize2D`
1487
+
1488
+ A width and height, with Carbon's scaling and comparison.
1489
+
1490
+ - Export: `@carbonenginejs/runtime/trinity/core`
1491
+ - Source: `src/trinity/core/Tr2GpuResourcePool/TextureSize2D.js`
1492
+ - Visibility: Public
1493
+ - Kind: Carbon
1494
+
1495
+ <!-- class:Tr2RingBuffer -->
1496
+ ## `Tr2RingBuffer`
1497
+
1498
+ One upload arena per data type, fenced by frame, so many objects share one buffer and are handed an offset each.
1499
+
1500
+ - Export: `@carbonenginejs/runtime/trinity/core`
1501
+ - Source: `src/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js`
1502
+ - Visibility: Public
1503
+ - Kind: Carbon
1504
+
1227
1505
  <!-- class:Tr2SuballocatedBuffer -->
1228
1506
  ## `Tr2SuballocatedBuffer`
1229
1507
 
1230
1508
  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.
1231
1509
 
1232
1510
  - Export: Not exported
1233
- - Source: `src/trinity/core/device/Tr2SuballocatedBuffer.js`
1511
+ - Source: `src/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBuffer.js`
1234
1512
  - Visibility: Internal
1235
1513
  - Kind: Carbon
1236
1514
 
@@ -1240,39 +1518,39 @@ Carbon's shared geometry buffer: one device buffer per block that many allocatio
1240
1518
  One region of a suballocated buffer: which block, at what offset and stride, with the start index the draw arguments add.
1241
1519
 
1242
1520
  - Export: Not exported
1243
- - Source: `src/trinity/core/device/Tr2SuballocatedBuffer.js`
1521
+ - Source: `src/trinity/core/device/Tr2SuballocatedBuffer/Tr2SuballocatedBufferAllocation.js`
1244
1522
  - Visibility: Internal
1245
1523
  - Kind: Carbon
1246
1524
 
1247
- <!-- class:Tr2RingBufferOffsets -->
1248
- ## `Tr2RingBufferOffsets`
1249
-
1250
- One consumer's cursor into a ring buffer, holding where its rows landed this frame and last.
1251
-
1252
- - Export: `@carbonenginejs/runtime/trinity/core`
1253
- - Source: `src/trinity/core/device/Tr2RingBuffer.js`
1254
- - Visibility: Public
1255
- - Kind: Carbon
1256
-
1257
- <!-- class:Tr2StreamingBitmapSaver -->
1258
- ## `Tr2StreamingBitmapSaver`
1259
-
1260
- Models Carbon's incremental bitmap saver through its dimensions, pixel format, current offset, and batch-copy entry points.
1261
-
1262
- - Export: `@carbonenginejs/runtime/trinity/core`
1263
- - Source: `src/trinity/core/Tr2StreamingBitmapSaver.js`
1264
- - Visibility: Public
1265
- - Kind: Carbon
1266
-
1267
- <!-- class:Tr2Renderer -->
1268
- ## `Tr2Renderer`
1269
-
1270
- Renderer-wide state: the constant-buffer register map that is the contract between Trinity and every backend.
1271
-
1272
- - Export: `@carbonenginejs/runtime/trinity/core`
1273
- - Source: `src/trinity/core/Tr2Renderer.js`
1274
- - Visibility: Public
1275
- - Kind: Carbon
1525
+ <!-- class:Tr2RingBufferOffsets -->
1526
+ ## `Tr2RingBufferOffsets`
1527
+
1528
+ One consumer's cursor into a ring buffer, holding where its rows landed this frame and last.
1529
+
1530
+ - Export: `@carbonenginejs/runtime/trinity/core`
1531
+ - Source: `src/trinity/core/device/Tr2RingBuffer/Tr2RingBufferOffsets.js`
1532
+ - Visibility: Public
1533
+ - Kind: Carbon
1534
+
1535
+ <!-- class:Tr2StreamingBitmapSaver -->
1536
+ ## `Tr2StreamingBitmapSaver`
1537
+
1538
+ Models Carbon's incremental bitmap saver through its dimensions, pixel format, current offset, and batch-copy entry points.
1539
+
1540
+ - Export: `@carbonenginejs/runtime/trinity/core`
1541
+ - Source: `src/trinity/core/Tr2StreamingBitmapSaver.js`
1542
+ - Visibility: Public
1543
+ - Kind: Carbon
1544
+
1545
+ <!-- class:Tr2Renderer -->
1546
+ ## `Tr2Renderer`
1547
+
1548
+ Renderer-wide state: the constant-buffer register map that is the contract between Trinity and every backend.
1549
+
1550
+ - Export: `@carbonenginejs/runtime/trinity/core`
1551
+ - Source: `src/trinity/core/Tr2Renderer.js`
1552
+ - Visibility: Public
1553
+ - Kind: Carbon
1276
1554
  <!-- class:ITr2Updateable -->
1277
1555
  ## `ITr2Updateable`
1278
1556
 
@@ -1296,20 +1574,20 @@ Draws a four-vertex screen quad with a given material, optionally publishing a s
1296
1574
  <!-- class:Tr2TextureArray -->
1297
1575
  ## `Tr2TextureArray`
1298
1576
 
1299
- Holds a set of identically-dimensioned bitmap slices behind one array description, gating incompatible elements, reusing released slots, and rounding the array size up to its upload increment.
1577
+ Describes a texture array's elements, dimensions, resource usage, upload increment, backing texture, and change callback.
1300
1578
 
1301
1579
  - Export: `@carbonenginejs/runtime/trinity/core`
1302
- - Source: `src/trinity/core/Tr2TextureArray.js`
1580
+ - Source: `src/trinity/core/Tr2TextureArray/Tr2TextureArray.js`
1303
1581
  - Visibility: Public
1304
1582
  - Kind: Carbon
1305
1583
 
1306
1584
  <!-- class:Tr2TextureArrayElement -->
1307
1585
  ## `Tr2TextureArrayElement`
1308
1586
 
1309
- Handle to one slice of a Tr2TextureArray, reporting the slice index and the owning array's realized texture until `Release()` frees the slot.
1587
+ Element handle returned by {@link Tr2TextureArray.AddElement}.
1310
1588
 
1311
1589
  - Export: `@carbonenginejs/runtime/trinity/core`
1312
- - Source: `src/trinity/core/Tr2TextureArray.js`
1590
+ - Source: `src/trinity/core/Tr2TextureArray/Tr2TextureArrayElement.js`
1313
1591
  - Visibility: Public
1314
1592
  - Kind: Carbon
1315
1593
 
@@ -1329,6 +1607,26 @@ Collects the frame's local-light records, culls and premultiplies them, selects
1329
1607
  One element of a vertex definition: its usage name and index, data type, byte offset, stream, and instance step rate.
1330
1608
 
1331
1609
  - Export: `@carbonenginejs/runtime/trinity/core`
1332
- - Source: `src/trinity/core/vertex/Tr2VertexDefinition.js`
1610
+ - Source: `src/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinitionItem.js`
1611
+ - Visibility: Public
1612
+ - Kind: Carbon
1613
+
1614
+ <!-- class:DefaultKeyGenerator -->
1615
+ ## `DefaultKeyGenerator`
1616
+
1617
+ Carbon's DefaultKeyGenerator batch sorting policy.
1618
+
1619
+ - Export: `@carbonenginejs/runtime/trinity/core`
1620
+ - Source: `src/trinity/core/batch/TriRenderBatch/DefaultKeyGenerator.js`
1621
+ - Visibility: Public
1622
+ - Kind: Carbon
1623
+
1624
+ <!-- class:EffectKeyGenerator -->
1625
+ ## `EffectKeyGenerator`
1626
+
1627
+ Carbon's EffectKeyGenerator batch sorting policy.
1628
+
1629
+ - Export: `@carbonenginejs/runtime/trinity/core`
1630
+ - Source: `src/trinity/core/batch/TriRenderBatch/EffectKeyGenerator.js`
1333
1631
  - Visibility: Public
1334
1632
  - Kind: Carbon