@types/three 0.180.0 → 0.181.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. three/README.md +1 -1
  2. three/examples/jsm/geometries/TextGeometry.d.ts +2 -0
  3. three/examples/jsm/gpgpu/BitonicSort.d.ts +21 -0
  4. three/examples/jsm/inspector/Inspector.d.ts +10 -0
  5. three/examples/jsm/inspector/RendererInspector.d.ts +4 -0
  6. three/examples/jsm/inspector/tabs/Parameters.d.ts +95 -0
  7. three/examples/jsm/inspector/ui/Tab.d.ts +3 -0
  8. three/examples/jsm/inspector/ui/Values.d.ts +80 -0
  9. three/examples/jsm/interactive/SelectionBox.d.ts +9 -9
  10. three/examples/jsm/lighting/TiledLighting.d.ts +1 -2
  11. three/examples/jsm/loaders/FontLoader.d.ts +1 -1
  12. three/examples/jsm/loaders/KTX2Loader.d.ts +3 -0
  13. three/examples/jsm/objects/SkyMesh.d.ts +6 -7
  14. three/examples/jsm/objects/WaterMesh.d.ts +2 -2
  15. three/examples/jsm/renderers/CSS2DRenderer.d.ts +15 -10
  16. three/examples/jsm/tsl/display/AfterImageNode.d.ts +4 -5
  17. three/examples/jsm/tsl/display/AnaglyphPassNode.d.ts +1 -2
  18. three/examples/jsm/tsl/display/AnamorphicNode.d.ts +1 -2
  19. three/examples/jsm/tsl/display/BleachBypass.d.ts +1 -2
  20. three/examples/jsm/tsl/display/BloomNode.d.ts +2 -3
  21. three/examples/jsm/tsl/display/ChromaticAberrationNode.d.ts +1 -2
  22. three/examples/jsm/tsl/display/DenoiseNode.d.ts +1 -2
  23. three/examples/jsm/tsl/display/DepthOfFieldNode.d.ts +1 -2
  24. three/examples/jsm/tsl/display/DotScreenNode.d.ts +1 -2
  25. three/examples/jsm/tsl/display/FXAANode.d.ts +1 -2
  26. three/examples/jsm/tsl/display/FilmNode.d.ts +1 -2
  27. three/examples/jsm/tsl/display/GTAONode.d.ts +11 -10
  28. three/examples/jsm/tsl/display/GaussianBlurNode.d.ts +2 -3
  29. three/examples/jsm/tsl/display/LensflareNode.d.ts +6 -7
  30. three/examples/jsm/tsl/display/Lut3DNode.d.ts +2 -3
  31. three/examples/jsm/tsl/display/MotionBlur.d.ts +1 -2
  32. three/examples/jsm/tsl/display/OutlineNode.d.ts +6 -7
  33. three/examples/jsm/tsl/display/ParallaxBarrierPassNode.d.ts +1 -2
  34. three/examples/jsm/tsl/display/PixelationPassNode.d.ts +1 -2
  35. three/examples/jsm/tsl/display/RGBShiftNode.d.ts +1 -2
  36. three/examples/jsm/tsl/display/SMAANode.d.ts +1 -2
  37. three/examples/jsm/tsl/display/SSAAPassNode.d.ts +1 -2
  38. three/examples/jsm/tsl/display/SSGINode.d.ts +30 -0
  39. three/examples/jsm/tsl/display/SSRNode.d.ts +12 -13
  40. three/examples/jsm/tsl/display/SSSNode.d.ts +18 -0
  41. three/examples/jsm/tsl/display/Sepia.d.ts +1 -2
  42. three/examples/jsm/tsl/display/SobelOperatorNode.d.ts +1 -2
  43. three/examples/jsm/tsl/display/StereoPassNode.d.ts +1 -2
  44. three/examples/jsm/tsl/display/TRAANode.d.ts +1 -2
  45. three/examples/jsm/tsl/display/TransitionNode.d.ts +1 -2
  46. three/examples/jsm/tsl/display/boxBlur.d.ts +1 -2
  47. three/examples/jsm/tsl/display/hashBlur.d.ts +1 -2
  48. three/examples/jsm/tsl/lighting/TiledLightsNode.d.ts +3 -4
  49. three/examples/jsm/tsl/math/Bayer.d.ts +1 -2
  50. three/examples/jsm/tsl/utils/Raymarching.d.ts +2 -3
  51. three/package.json +2 -2
  52. three/src/Three.Core.d.ts +1 -1
  53. three/src/Three.TSL.d.ts +7 -1
  54. three/src/Three.WebGPU.Nodes.d.ts +2 -0
  55. three/src/Three.WebGPU.d.ts +2 -0
  56. three/src/animation/AnimationMixer.d.ts +3 -3
  57. three/src/lights/DirectionalLight.d.ts +0 -1
  58. three/src/loaders/ObjectLoader.d.ts +3 -3
  59. three/src/loaders/TextureLoader.d.ts +3 -3
  60. three/src/materials/Material.d.ts +2 -2
  61. three/src/materials/MeshLambertMaterial.d.ts +1 -1
  62. three/src/materials/MeshMatcapMaterial.d.ts +14 -0
  63. three/src/materials/MeshPhongMaterial.d.ts +1 -1
  64. three/src/materials/MeshPhysicalMaterial.d.ts +1 -1
  65. three/src/materials/MeshStandardMaterial.d.ts +7 -7
  66. three/src/materials/PointsMaterial.d.ts +1 -1
  67. three/src/materials/ShaderMaterial.d.ts +8 -8
  68. three/src/materials/nodes/MeshSSSNodeMaterial.d.ts +1 -1
  69. three/src/materials/nodes/NodeMaterial.d.ts +2 -3
  70. three/src/materials/nodes/VolumeNodeMaterial.d.ts +1 -2
  71. three/src/math/Vector3.d.ts +2 -2
  72. three/src/nodes/Nodes.d.ts +1 -1
  73. three/src/nodes/TSL.d.ts +1 -1
  74. three/src/nodes/accessors/AccessorsUtils.d.ts +4 -5
  75. three/src/nodes/accessors/Arrays.d.ts +2 -3
  76. three/src/nodes/accessors/BatchNode.d.ts +1 -2
  77. three/src/nodes/accessors/Bitangent.d.ts +4 -5
  78. three/src/nodes/accessors/BufferAttributeNode.d.ts +8 -9
  79. three/src/nodes/accessors/BufferNode.d.ts +2 -2
  80. three/src/nodes/accessors/BuiltinNode.d.ts +1 -2
  81. three/src/nodes/accessors/Camera.d.ts +10 -11
  82. three/src/nodes/accessors/ClippingNode.d.ts +3 -6
  83. three/src/nodes/accessors/CubeTextureNode.d.ts +8 -9
  84. three/src/nodes/accessors/InstanceNode.d.ts +1 -2
  85. three/src/nodes/accessors/InstancedMeshNode.d.ts +1 -2
  86. three/src/nodes/accessors/Lights.d.ts +6 -7
  87. three/src/nodes/accessors/MaterialNode.d.ts +38 -39
  88. three/src/nodes/accessors/MaterialProperties.d.ts +3 -4
  89. three/src/nodes/accessors/MaterialReferenceNode.d.ts +2 -2
  90. three/src/nodes/accessors/ModelNode.d.ts +12 -13
  91. three/src/nodes/accessors/ModelViewProjectionNode.d.ts +1 -2
  92. three/src/nodes/accessors/MorphNode.d.ts +1 -2
  93. three/src/nodes/accessors/Normal.d.ts +13 -14
  94. three/src/nodes/accessors/Object3DNode.d.ts +6 -7
  95. three/src/nodes/accessors/PointUVNode.d.ts +1 -2
  96. three/src/nodes/accessors/Position.d.ts +7 -8
  97. three/src/nodes/accessors/ReferenceBaseNode.d.ts +2 -3
  98. three/src/nodes/accessors/ReferenceNode.d.ts +2 -3
  99. three/src/nodes/accessors/ReflectVector.d.ts +4 -5
  100. three/src/nodes/accessors/RendererReferenceNode.d.ts +1 -2
  101. three/src/nodes/accessors/SceneNode.d.ts +3 -4
  102. three/src/nodes/accessors/SkinningNode.d.ts +5 -6
  103. three/src/nodes/accessors/StorageBufferNode.d.ts +5 -5
  104. three/src/nodes/accessors/StorageTextureNode.d.ts +7 -4
  105. three/src/nodes/accessors/Tangent.d.ts +4 -6
  106. three/src/nodes/accessors/TangentUtils.d.ts +2 -3
  107. three/src/nodes/accessors/Texture3DNode.d.ts +3 -4
  108. three/src/nodes/accessors/TextureBicubic.d.ts +2 -3
  109. three/src/nodes/accessors/TextureNode.d.ts +29 -24
  110. three/src/nodes/accessors/TextureSizeNode.d.ts +1 -2
  111. three/src/nodes/accessors/UV.d.ts +1 -2
  112. three/src/nodes/accessors/UniformArrayNode.d.ts +2 -3
  113. three/src/nodes/accessors/UserDataNode.d.ts +1 -2
  114. three/src/nodes/accessors/VelocityNode.d.ts +1 -2
  115. three/src/nodes/accessors/VertexColorNode.d.ts +1 -2
  116. three/src/nodes/code/CodeNode.d.ts +4 -5
  117. three/src/nodes/code/ExpressionNode.d.ts +1 -2
  118. three/src/nodes/code/FunctionCallNode.d.ts +6 -5
  119. three/src/nodes/code/FunctionNode.d.ts +4 -6
  120. three/src/nodes/code/ScriptableNode.d.ts +1 -2
  121. three/src/nodes/code/ScriptableValueNode.d.ts +1 -2
  122. three/src/nodes/core/ArrayNode.d.ts +6 -6
  123. three/src/nodes/core/AssignNode.d.ts +1 -8
  124. three/src/nodes/core/AttributeNode.d.ts +1 -2
  125. three/src/nodes/core/BypassNode.d.ts +5 -5
  126. three/src/nodes/core/ContextNode.d.ts +24 -12
  127. three/src/nodes/core/IndexNode.d.ts +10 -7
  128. three/src/nodes/core/InspectorNode.d.ts +16 -0
  129. three/src/nodes/core/IsolateNode.d.ts +36 -0
  130. three/src/nodes/core/MRTNode.d.ts +3 -4
  131. three/src/nodes/core/Node.d.ts +18 -2
  132. three/src/nodes/core/NodeUtils.d.ts +0 -10
  133. three/src/nodes/core/OutputStructNode.d.ts +1 -2
  134. three/src/nodes/core/ParameterNode.d.ts +1 -2
  135. three/src/nodes/core/PropertyNode.d.ts +30 -31
  136. three/src/nodes/core/StackNode.d.ts +1 -4
  137. three/src/nodes/core/StructNode.d.ts +3 -4
  138. three/src/nodes/core/SubBuildNode.d.ts +1 -2
  139. three/src/nodes/core/UniformNode.d.ts +3 -6
  140. three/src/nodes/core/VarNode.d.ts +12 -8
  141. three/src/nodes/core/VaryingNode.d.ts +12 -10
  142. three/src/nodes/display/BlendModes.d.ts +11 -12
  143. three/src/nodes/display/BumpMapNode.d.ts +1 -2
  144. three/src/nodes/display/ColorAdjustment.d.ts +7 -8
  145. three/src/nodes/display/ColorSpaceFunctions.d.ts +2 -3
  146. three/src/nodes/display/ColorSpaceNode.d.ts +19 -9
  147. three/src/nodes/display/FrontFacingNode.d.ts +3 -4
  148. three/src/nodes/display/NormalMapNode.d.ts +1 -2
  149. three/src/nodes/display/PassNode.d.ts +20 -11
  150. three/src/nodes/display/PosterizeNode.d.ts +1 -2
  151. three/src/nodes/display/RenderOutputNode.d.ts +11 -6
  152. three/src/nodes/display/ScreenNode.d.ts +9 -10
  153. three/src/nodes/display/ToneMappingFunctions.d.ts +6 -7
  154. three/src/nodes/display/ToneMappingNode.d.ts +9 -8
  155. three/src/nodes/display/ToonOutlinePassNode.d.ts +1 -2
  156. three/src/nodes/display/ViewportDepthNode.d.ts +3 -4
  157. three/src/nodes/display/ViewportDepthTextureNode.d.ts +1 -2
  158. three/src/nodes/display/ViewportSharedTextureNode.d.ts +1 -2
  159. three/src/nodes/display/ViewportTextureNode.d.ts +2 -3
  160. three/src/nodes/fog/Fog.d.ts +5 -6
  161. three/src/nodes/functions/BSDF/BRDF_GGX.d.ts +4 -5
  162. three/src/nodes/functions/BSDF/BRDF_GGX_Multiscatter.d.ts +14 -0
  163. three/src/nodes/functions/BSDF/BRDF_Lambert.d.ts +1 -2
  164. three/src/nodes/functions/BSDF/BRDF_Sheen.d.ts +1 -2
  165. three/src/nodes/functions/BSDF/DFGApprox.d.ts +1 -2
  166. three/src/nodes/functions/BSDF/D_GGX.d.ts +1 -2
  167. three/src/nodes/functions/BSDF/D_GGX_Anisotropic.d.ts +1 -2
  168. three/src/nodes/functions/BSDF/F_Schlick.d.ts +1 -2
  169. three/src/nodes/functions/BSDF/Schlick_to_F0.d.ts +1 -2
  170. three/src/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +1 -2
  171. three/src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.d.ts +1 -2
  172. three/src/nodes/functions/ShadowMaskModel.d.ts +1 -2
  173. three/src/nodes/functions/material/getAlphaHashThreshold.d.ts +1 -2
  174. three/src/nodes/functions/material/getGeometryRoughness.d.ts +1 -2
  175. three/src/nodes/functions/material/getParallaxCorrectNormal.d.ts +1 -2
  176. three/src/nodes/functions/material/getRoughness.d.ts +1 -2
  177. three/src/nodes/functions/material/getShIrradianceAt.d.ts +1 -2
  178. three/src/nodes/geometry/RangeNode.d.ts +1 -2
  179. three/src/nodes/gpgpu/AtomicFunctionNode.d.ts +10 -11
  180. three/src/nodes/gpgpu/BarrierNode.d.ts +3 -4
  181. three/src/nodes/gpgpu/ComputeBuiltinNode.d.ts +5 -6
  182. three/src/nodes/gpgpu/ComputeNode.d.ts +21 -13
  183. three/src/nodes/gpgpu/SubgroupFunctionNode.d.ts +25 -26
  184. three/src/nodes/gpgpu/WorkgroupInfoNode.d.ts +1 -2
  185. three/src/nodes/lighting/AnalyticLightNode.d.ts +1 -2
  186. three/src/nodes/lighting/LightUtils.d.ts +1 -2
  187. three/src/nodes/lighting/LightingContextNode.d.ts +1 -2
  188. three/src/nodes/lighting/LightsNode.d.ts +1 -2
  189. three/src/nodes/lighting/PointLightNode.d.ts +5 -6
  190. three/src/nodes/lighting/PointShadowNode.d.ts +4 -5
  191. three/src/nodes/lighting/ShadowBaseNode.d.ts +1 -2
  192. three/src/nodes/lighting/ShadowFilterNode.d.ts +4 -5
  193. three/src/nodes/lighting/ShadowNode.d.ts +1 -2
  194. three/src/nodes/lighting/SpotLightNode.d.ts +1 -2
  195. three/src/nodes/materialx/MaterialXNodes.d.ts +41 -42
  196. three/src/nodes/materialx/lib/mx_hsv.d.ts +2 -3
  197. three/src/nodes/materialx/lib/mx_noise.d.ts +73 -74
  198. three/src/nodes/materialx/lib/mx_transform_color.d.ts +1 -2
  199. three/src/nodes/math/BitcastNode.d.ts +5 -6
  200. three/src/nodes/math/ConditionalNode.d.ts +11 -5
  201. three/src/nodes/math/Hash.d.ts +1 -2
  202. three/src/nodes/math/MathNode.d.ts +223 -77
  203. three/src/nodes/math/OperatorNode.d.ts +203 -59
  204. three/src/nodes/math/TriNoise3D.d.ts +3 -4
  205. three/src/nodes/pmrem/PMREMNode.d.ts +1 -2
  206. three/src/nodes/pmrem/PMREMUtils.d.ts +3 -4
  207. three/src/nodes/procedural/Checker.d.ts +1 -2
  208. three/src/nodes/shapes/Shapes.d.ts +1 -2
  209. three/src/nodes/tsl/TSLBase.d.ts +2 -1
  210. three/src/nodes/tsl/TSLCore.d.ts +235 -128
  211. three/src/nodes/utils/CubeMapNode.d.ts +1 -2
  212. three/src/nodes/utils/DebugNode.d.ts +9 -5
  213. three/src/nodes/utils/Discard.d.ts +6 -6
  214. three/src/nodes/utils/EquirectUV.d.ts +1 -2
  215. three/src/nodes/utils/EventNode.d.ts +8 -3
  216. three/src/nodes/utils/FunctionOverloadingNode.d.ts +1 -2
  217. three/src/nodes/utils/LoopNode.d.ts +7 -6
  218. three/src/nodes/utils/MatcapUV.d.ts +1 -2
  219. three/src/nodes/utils/MaxMipLevelNode.d.ts +1 -2
  220. three/src/nodes/utils/Oscillators.d.ts +4 -5
  221. three/src/nodes/utils/Packing.d.ts +2 -3
  222. three/src/nodes/utils/PostProcessingUtils.d.ts +5 -4
  223. three/src/nodes/utils/RTTNode.d.ts +2 -3
  224. three/src/nodes/utils/ReflectorNode.d.ts +2 -3
  225. three/src/nodes/utils/RemapNode.d.ts +29 -7
  226. three/src/nodes/utils/RotateNode.d.ts +1 -2
  227. three/src/nodes/utils/SampleNode.d.ts +1 -2
  228. three/src/nodes/utils/SpriteSheetUVNode.d.ts +1 -2
  229. three/src/nodes/utils/SpriteUtils.d.ts +1 -2
  230. three/src/nodes/utils/StorageArrayElementNode.d.ts +1 -2
  231. three/src/nodes/utils/Timer.d.ts +3 -4
  232. three/src/nodes/utils/TriplanarTextures.d.ts +2 -3
  233. three/src/nodes/utils/UVUtils.d.ts +2 -3
  234. three/src/nodes/utils/ViewportUtils.d.ts +1 -2
  235. three/src/renderers/common/Animation.d.ts +4 -1
  236. three/src/renderers/common/Bindings.d.ts +12 -0
  237. three/src/renderers/common/CanvasTarget.d.ts +142 -0
  238. three/src/renderers/common/Geometries.d.ts +1 -0
  239. three/src/renderers/common/InspectorBase.d.ts +105 -0
  240. three/src/renderers/common/PostProcessing.d.ts +3 -0
  241. three/src/renderers/common/QuadMesh.d.ts +3 -0
  242. three/src/renderers/common/RenderContexts.d.ts +3 -1
  243. three/src/renderers/common/Renderer.d.ts +124 -36
  244. three/src/renderers/common/SampledTexture.d.ts +2 -0
  245. three/src/renderers/common/Sampler.d.ts +2 -0
  246. three/src/renderers/common/Textures.d.ts +20 -0
  247. three/src/renderers/common/TimestampQueryPool.d.ts +24 -1
  248. three/src/renderers/common/extras/PMREMGenerator.d.ts +19 -1
  249. three/src/renderers/common/nodes/NodeLibrary.d.ts +3 -7
  250. three/src/renderers/common/nodes/Nodes.d.ts +13 -14
  251. three/src/renderers/webgpu/utils/WebGPUConstants.d.ts +5 -0
  252. three/src/scenes/Scene.d.ts +2 -2
  253. three/src/textures/CanvasTexture.d.ts +3 -3
  254. three/src/textures/CompressedArrayTexture.d.ts +6 -9
  255. three/src/textures/CompressedCubeTexture.d.ts +3 -3
  256. three/src/textures/CompressedTexture.d.ts +6 -8
  257. three/src/textures/CubeTexture.d.ts +4 -11
  258. three/src/textures/Data3DTexture.d.ts +5 -10
  259. three/src/textures/DataArrayTexture.d.ts +10 -10
  260. three/src/textures/DataTexture.d.ts +4 -11
  261. three/src/textures/DepthTexture.d.ts +7 -8
  262. three/src/textures/ExternalTexture.d.ts +3 -1
  263. three/src/textures/FramebufferTexture.d.ts +6 -1
  264. three/src/textures/Source.d.ts +3 -3
  265. three/src/textures/Texture.d.ts +8 -8
  266. three/src/textures/VideoFrameTexture.d.ts +1 -1
  267. three/src/textures/VideoTexture.d.ts +2 -2
  268. three/src/utils.d.ts +18 -2
  269. three/src/nodes/core/CacheNode.d.ts +0 -21
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
 
4
3
  export default class BypassNode extends Node {
@@ -9,10 +8,11 @@ export default class BypassNode extends Node {
9
8
  constructor(returnNode: Node, callNode: Node);
10
9
  }
11
10
 
12
- export const bypass: (returnNode: Node, callNode: Node) => ShaderNodeObject<BypassNode>;
11
+ export const bypass: (returnNode: Node, callNode: Node) => BypassNode;
13
12
 
14
- declare module "../tsl/TSLCore.js" {
15
- interface NodeElements {
16
- bypass: typeof bypass;
13
+ declare module "../Nodes.js" {
14
+ interface Node {
15
+ bypass: (callNode: Node) => BypassNode;
16
+ bypassAssign: (callNode: Node) => this;
17
17
  }
18
18
  }
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
  import { NodeBuilderContext } from "./NodeBuilder.js";
4
3
 
@@ -13,22 +12,35 @@ declare class ContextNode extends Node {
13
12
 
14
13
  export default ContextNode;
15
14
 
16
- export const context: (node: Node, context?: NodeBuilderContext) => ShaderNodeObject<ContextNode>;
15
+ export const context: (node: Node, context?: NodeBuilderContext) => ContextNode;
17
16
 
18
- export const uniformFlow: (node: Node) => ShaderNodeObject<ContextNode>;
17
+ export const uniformFlow: (node: Node) => ContextNode;
19
18
 
20
- export const setName: (node: Node, label: string) => ShaderNodeObject<ContextNode>;
19
+ export const setName: (node: Node, label: string) => Node;
21
20
 
22
21
  /**
23
22
  * @deprecated "label()" has been deprecated. Use "setName()" instead.
24
23
  */
25
- export function label(node: Node, label: string): ShaderNodeObject<ContextNode>;
26
-
27
- declare module "../tsl/TSLCore.js" {
28
- interface NodeElements {
29
- context: typeof context;
30
- label: typeof label;
31
- uniformFlow: typeof uniformFlow;
32
- setName: typeof setName;
24
+ export function label(node: Node, label: string): Node;
25
+
26
+ declare module "../Nodes.js" {
27
+ interface Node {
28
+ context: (context?: NodeBuilderContext) => ContextNode;
29
+ contextAssign: (context?: NodeBuilderContext) => this;
30
+
31
+ /**
32
+ * @deprecated "label()" has been deprecated. Use "setName()" instead.
33
+ */
34
+ label: (label: string) => Node;
35
+ /**
36
+ * @deprecated "label()" has been deprecated. Use "setName()" instead.
37
+ */
38
+ labelAssign: (label: string) => this;
39
+
40
+ uniformFlow: () => ContextNode;
41
+ uniformFlowAssign: () => this;
42
+
43
+ setName: (label: string) => Node;
44
+ setNameAssign: (label: string) => this;
33
45
  }
34
46
  }
@@ -1,10 +1,11 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
 
4
3
  export type IndexNodeScope =
5
4
  | typeof IndexNode.VERTEX
6
5
  | typeof IndexNode.INSTANCE
6
+ | typeof IndexNode.SUBGROUP
7
7
  | typeof IndexNode.INVOCATION_LOCAL
8
+ | typeof IndexNode.INVOCATION_SUBGROUP
8
9
  | typeof IndexNode.DRAW;
9
10
 
10
11
  declare class IndexNode extends Node {
@@ -16,15 +17,17 @@ declare class IndexNode extends Node {
16
17
 
17
18
  static VERTEX: "vertex";
18
19
  static INSTANCE: "instance";
20
+ static SUBGROUP: "subgroup";
19
21
  static INVOCATION_LOCAL: "invocationLocal";
22
+ static INVOCATION_SUBGROUP: "invocationSubgroup";
20
23
  static DRAW: "draw";
21
24
  }
22
25
 
23
26
  export default IndexNode;
24
27
 
25
- export const vertexIndex: ShaderNodeObject<IndexNode>;
26
- export const instanceIndex: ShaderNodeObject<IndexNode>;
27
- export const subgroupIndex: ShaderNodeObject<IndexNode>;
28
- export const invocationSubgroupIndex: ShaderNodeObject<IndexNode>;
29
- export const invocationLocalIndex: ShaderNodeObject<IndexNode>;
30
- export const drawIndex: ShaderNodeObject<IndexNode>;
28
+ export const vertexIndex: IndexNode;
29
+ export const instanceIndex: IndexNode;
30
+ export const subgroupIndex: IndexNode;
31
+ export const invocationSubgroupIndex: IndexNode;
32
+ export const invocationLocalIndex: IndexNode;
33
+ export const drawIndex: IndexNode;
@@ -0,0 +1,16 @@
1
+ import Node from "./Node.js";
2
+
3
+ declare class InspectorNode extends Node {
4
+ constructor(node: Node, name?: string, callback?: (node: Node) => Node);
5
+ }
6
+
7
+ export default InspectorNode;
8
+
9
+ export function inspector<T extends Node>(node: T, name?: string, callback?: (node: T) => Node): T;
10
+
11
+ declare module "../Nodes.js" {
12
+ interface Node {
13
+ toInspector: (name?: string, callback?: (node: this) => Node) => this;
14
+ toInspectorAssign: (name?: string, callback?: (node: this) => Node) => this;
15
+ }
16
+ }
@@ -0,0 +1,36 @@
1
+ import Node from "./Node.js";
2
+ import NodeCache from "./NodeCache.js";
3
+
4
+ declare class IsolateNode extends Node {
5
+ node: Node;
6
+ parent: boolean;
7
+
8
+ readonly isIsolateNode: true;
9
+
10
+ constructor(node: Node, parent?: boolean);
11
+ }
12
+
13
+ export default IsolateNode;
14
+
15
+ export const isolate: (node: Node) => IsolateNode;
16
+
17
+ /**
18
+ * @deprecated "cache()" has been deprecated. Use "isolate()" instead.
19
+ */
20
+ export const cache: (node: Node, cache?: NodeCache) => IsolateNode;
21
+
22
+ declare module "../Nodes.js" {
23
+ interface Node {
24
+ /**
25
+ * @deprecated "cache()" has been deprecated. Use "isolate()" instead.
26
+ */
27
+ cache: (cache?: NodeCache) => IsolateNode;
28
+ /**
29
+ * @deprecated "cache()" has been deprecated. Use "isolate()" instead.
30
+ */
31
+ cacheAssign: (cache?: NodeCache) => this;
32
+
33
+ isolate: () => IsolateNode;
34
+ isolateAssign: () => this;
35
+ }
36
+ }
@@ -1,6 +1,5 @@
1
1
  import { Texture } from "../../textures/Texture.js";
2
2
  import { Node } from "../Nodes.js";
3
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
4
3
  import OutputStructNode from "./OutputStructNode.js";
5
4
 
6
5
  export function getTextureIndex(textures: ReadonlyArray<Texture>, name: string): number;
@@ -14,11 +13,11 @@ declare class MRTNode extends OutputStructNode {
14
13
 
15
14
  has(name: string): boolean;
16
15
 
17
- get(name: string): Node;
16
+ get: (name: string) => Node;
18
17
 
19
- merge(mrtNode: MRTNode): ShaderNodeObject<MRTNode>;
18
+ merge(mrtNode: MRTNode): MRTNode;
20
19
  }
21
20
 
22
21
  export default MRTNode;
23
22
 
24
- export const mrt: (outputNodes: { [name: string]: Node }) => ShaderNodeObject<MRTNode>;
23
+ export const mrt: (outputNodes: { [name: string]: Node }) => MRTNode;
@@ -57,6 +57,11 @@ interface NodeJSONOutputData {
57
57
  images?: unknown[];
58
58
  nodes?: NodeJSONOutputData[];
59
59
  }
60
+ export interface NodeChild {
61
+ property: string;
62
+ index?: number | string;
63
+ childNode: Node;
64
+ }
60
65
  /**
61
66
  * Base class for all nodes.
62
67
  *
@@ -72,6 +77,7 @@ declare class Node extends EventDispatcher<{
72
77
  updateAfterType: NodeUpdateType;
73
78
  uuid: string;
74
79
  version: number;
80
+ name: string | null;
75
81
  _cacheKey: number | null;
76
82
  _cacheKeyVersion: number;
77
83
  global: boolean;
@@ -180,13 +186,22 @@ declare class Node extends EventDispatcher<{
180
186
  * @param {traverseCallback} callback - A callback that is executed per node.
181
187
  */
182
188
  traverse(callback: (node: Node) => void): void;
189
+ /**
190
+ * Returns the child nodes of this node.
191
+ *
192
+ * @private
193
+ * @param {Set<Node>} [ignores=new Set()] - A set of nodes to ignore during the search to avoid circular references.
194
+ * @returns {Array<Object>} An array of objects describing the child nodes.
195
+ */
196
+ _getChildren(ignores?: Set<Node>): NodeChild[];
183
197
  /**
184
198
  * Returns the cache key for this node.
185
199
  *
186
200
  * @param {boolean} [force=false] - When set to `true`, a recomputation of the cache key is forced.
201
+ * @param {Set<Node>} [ignores=null] - A set of nodes to ignore during the computation of the cache key.
187
202
  * @return {number} The cache key of the node.
188
203
  */
189
- getCacheKey(force?: boolean): number;
204
+ getCacheKey(force?: boolean, ignores?: Set<Node> | null): number;
190
205
  /**
191
206
  * Generate a custom cache key for this node.
192
207
  *
@@ -320,6 +335,7 @@ declare class Node extends EventDispatcher<{
320
335
  * @return {?boolean} An optional bool that indicates whether the implementation actually performed an update or not (e.g. due to caching).
321
336
  */
322
337
  update(frame: NodeFrame): void;
338
+ before(node: Node): this;
323
339
  /**
324
340
  * This method performs the build of a node. The behavior and return value depend on the current build stage:
325
341
  * - **setup**: Prepares the node and its children for the build process. This process can also create new nodes. Returns the node itself or a variant.
@@ -336,7 +352,7 @@ declare class Node extends EventDispatcher<{
336
352
  *
337
353
  * @return {Generator<Object>} An iterable list of serialized child objects as JSON.
338
354
  */
339
- getSerializeChildren(): Generator<import("./NodeUtils.js").NodeChild, void, unknown>;
355
+ getSerializeChildren(): NodeChild[];
340
356
  /**
341
357
  * Serializes the node to JSON.
342
358
  *
@@ -6,20 +6,10 @@ import { Vector3 } from "../../math/Vector3.js";
6
6
  import { Vector4 } from "../../math/Vector4.js";
7
7
  import Node from "./Node.js";
8
8
 
9
- export interface NodeChild {
10
- property: string;
11
- index?: number | string;
12
- childNode: Node;
13
- }
14
-
15
9
  export const hashString: (str: string) => number;
16
10
  export const hashArray: (array: number[]) => number;
17
11
  export const hash: (...params: number[]) => number;
18
12
 
19
- export function getCacheKey(object: Node, force?: boolean): number;
20
-
21
- export function getNodeChildren(object: Node): Generator<NodeChild, void>;
22
-
23
13
  export function getTypeFromLength(length: number): string | undefined;
24
14
 
25
15
  export function getLengthFromType(type: string): number | undefined;
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
 
4
3
  export default class OutputStructNode extends Node {
@@ -9,4 +8,4 @@ export default class OutputStructNode extends Node {
9
8
  constructor(...members: Node[]);
10
9
  }
11
10
 
12
- export const outputStruct: (...members: Node[]) => ShaderNodeObject<OutputStructNode>;
11
+ export const outputStruct: (...members: Node[]) => OutputStructNode;
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import PropertyNode from "./PropertyNode.js";
3
2
 
4
3
  declare class ParameterNode extends PropertyNode {
@@ -9,4 +8,4 @@ declare class ParameterNode extends PropertyNode {
9
8
 
10
9
  export default ParameterNode;
11
10
 
12
- export const parameter: (type: string, name?: string | null) => ShaderNodeObject<ParameterNode>;
11
+ export const parameter: (type: string, name?: string | null) => ParameterNode;
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
 
4
3
  export default class PropertyNode extends Node {
@@ -10,34 +9,34 @@ export default class PropertyNode extends Node {
10
9
  constructor(nodeType?: string | null, name?: string | null, varying?: boolean);
11
10
  }
12
11
 
13
- export const property: (type?: string | null, name?: string | null) => ShaderNodeObject<PropertyNode>;
14
- export const varyingProperty: (type?: string | null, name?: string | null) => ShaderNodeObject<PropertyNode>;
12
+ export const property: (type?: string | null, name?: string | null) => PropertyNode;
13
+ export const varyingProperty: (type?: string | null, name?: string | null) => PropertyNode;
15
14
 
16
- export const diffuseColor: ShaderNodeObject<PropertyNode>;
17
- export const emissive: ShaderNodeObject<PropertyNode>;
18
- export const roughness: ShaderNodeObject<PropertyNode>;
19
- export const metalness: ShaderNodeObject<PropertyNode>;
20
- export const clearcoat: ShaderNodeObject<PropertyNode>;
21
- export const clearcoatRoughness: ShaderNodeObject<PropertyNode>;
22
- export const sheen: ShaderNodeObject<PropertyNode>;
23
- export const sheenRoughness: ShaderNodeObject<PropertyNode>;
24
- export const iridescence: ShaderNodeObject<PropertyNode>;
25
- export const iridescenceIOR: ShaderNodeObject<PropertyNode>;
26
- export const iridescenceThickness: ShaderNodeObject<PropertyNode>;
27
- export const alphaT: ShaderNodeObject<PropertyNode>;
28
- export const anisotropy: ShaderNodeObject<PropertyNode>;
29
- export const anisotropyT: ShaderNodeObject<PropertyNode>;
30
- export const anisotropyB: ShaderNodeObject<PropertyNode>;
31
- export const specularColor: ShaderNodeObject<PropertyNode>;
32
- export const specularF90: ShaderNodeObject<PropertyNode>;
33
- export const shininess: ShaderNodeObject<PropertyNode>;
34
- export const output: ShaderNodeObject<PropertyNode>;
35
- export const dashSize: ShaderNodeObject<PropertyNode>;
36
- export const gapSize: ShaderNodeObject<PropertyNode>;
37
- export const pointWidth: ShaderNodeObject<PropertyNode>;
38
- export const ior: ShaderNodeObject<PropertyNode>;
39
- export const transmission: ShaderNodeObject<PropertyNode>;
40
- export const thickness: ShaderNodeObject<PropertyNode>;
41
- export const attenuationDistance: ShaderNodeObject<PropertyNode>;
42
- export const attenuationColor: ShaderNodeObject<PropertyNode>;
43
- export const dispersion: ShaderNodeObject<PropertyNode>;
15
+ export const diffuseColor: PropertyNode;
16
+ export const emissive: PropertyNode;
17
+ export const roughness: PropertyNode;
18
+ export const metalness: PropertyNode;
19
+ export const clearcoat: PropertyNode;
20
+ export const clearcoatRoughness: PropertyNode;
21
+ export const sheen: PropertyNode;
22
+ export const sheenRoughness: PropertyNode;
23
+ export const iridescence: PropertyNode;
24
+ export const iridescenceIOR: PropertyNode;
25
+ export const iridescenceThickness: PropertyNode;
26
+ export const alphaT: PropertyNode;
27
+ export const anisotropy: PropertyNode;
28
+ export const anisotropyT: PropertyNode;
29
+ export const anisotropyB: PropertyNode;
30
+ export const specularColor: PropertyNode;
31
+ export const specularF90: PropertyNode;
32
+ export const shininess: PropertyNode;
33
+ export const output: PropertyNode;
34
+ export const dashSize: PropertyNode;
35
+ export const gapSize: PropertyNode;
36
+ export const pointWidth: PropertyNode;
37
+ export const ior: PropertyNode;
38
+ export const transmission: PropertyNode;
39
+ export const thickness: PropertyNode;
40
+ export const attenuationDistance: PropertyNode;
41
+ export const attenuationColor: PropertyNode;
42
+ export const dispersion: PropertyNode;
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
 
4
3
  declare class StackNode extends Node {
@@ -8,8 +7,6 @@ declare class StackNode extends Node {
8
7
 
9
8
  constructor();
10
9
 
11
- add(node: Node): this;
12
-
13
10
  If(boolNode: Node, method: () => void): this;
14
11
 
15
12
  ElseIf(boolNode: Node, method: () => void): this;
@@ -25,4 +22,4 @@ declare class StackNode extends Node {
25
22
 
26
23
  export default StackNode;
27
24
 
28
- export const stack: () => ShaderNodeObject<StackNode>;
25
+ export const stack: () => StackNode;
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
  import StructTypeNode, { MembersLayout } from "./StructTypeNode.js";
4
3
 
@@ -11,9 +10,9 @@ declare class StructNode extends Node {
11
10
  export default StructNode;
12
11
 
13
12
  export interface Struct {
14
- (): ShaderNodeObject<StructNode>;
15
- (values: Node[]): ShaderNodeObject<StructNode>;
16
- (...values: Node[]): ShaderNodeObject<StructNode>;
13
+ (): StructNode;
14
+ (values: Node[]): StructNode;
15
+ (...values: Node[]): StructNode;
17
16
  layout: StructTypeNode;
18
17
  isStruct: true;
19
18
  }
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
 
4
3
  declare class SubBuildNode extends Node {
@@ -12,4 +11,4 @@ declare class SubBuildNode extends Node {
12
11
 
13
12
  export default SubBuildNode;
14
13
 
15
- export const subBuild: (node: Node, name: string, type?: string | null) => ShaderNodeObject<SubBuildNode>;
14
+ export const subBuild: (node: Node, name: string, type?: string | null) => SubBuildNode;
@@ -27,7 +27,7 @@ declare class UniformNode<TValue> extends InputNode<TValue> {
27
27
  * @param {string} name - The name of the uniform.
28
28
  * @return {UniformNode} A reference to this node.
29
29
  */
30
- setName(name: string): this;
30
+ setName: (name: string) => this;
31
31
  /**
32
32
  * Sets the {@link UniformNode#name} property.
33
33
  *
@@ -35,7 +35,7 @@ declare class UniformNode<TValue> extends InputNode<TValue> {
35
35
  * @param {string} name - The name of the uniform.
36
36
  * @return {UniformNode} A reference to this node.
37
37
  */
38
- label(name: string): this;
38
+ label: (name: string) => this;
39
39
  /**
40
40
  * Sets the {@link UniformNode#groupNode} property.
41
41
  *
@@ -71,7 +71,4 @@ export default UniformNode;
71
71
  * @param {string} [type] - The node type. If no explicit type is defined, the node tries to derive the type from its value.
72
72
  * @returns {UniformNode}
73
73
  */
74
- export declare const uniform: <TValue>(
75
- value: InputNode<TValue> | TValue,
76
- type?: Node | string,
77
- ) => import("../tsl/TSLCore.js").ShaderNodeObject<UniformNode<TValue>>;
74
+ export declare const uniform: <TValue>(value: InputNode<TValue> | TValue, type?: Node | string) => UniformNode<TValue>;
@@ -1,4 +1,3 @@
1
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
2
1
  import Node from "./Node.js";
3
2
 
4
3
  declare class VarNode extends Node {
@@ -19,16 +18,21 @@ declare class VarNode extends Node {
19
18
 
20
19
  export default VarNode;
21
20
 
22
- export const Var: (node: Node, name?: string | null) => ShaderNodeObject<VarNode>;
21
+ export const Var: (node: Node, name?: string | null) => VarNode;
23
22
 
24
- export const Const: (node: Node, name?: string | null) => ShaderNodeObject<VarNode>;
23
+ export const Const: (node: Node, name?: string | null) => VarNode;
25
24
 
26
25
  export const VarIntent: (node: Node) => Node;
27
26
 
28
- declare module "../tsl/TSLCore.js" {
29
- interface NodeElements {
30
- toVar: (node: Node, name?: string | null) => ShaderNodeObject<VarNode>;
31
- toConst: (node: Node, name?: string | null) => ShaderNodeObject<VarNode>;
32
- toVarIntent: (node: Node) => Node;
27
+ declare module "../Nodes.js" {
28
+ interface Node {
29
+ toVar: (name?: string | null) => VarNode;
30
+ toVarAssign: (name?: string | null) => this;
31
+
32
+ toConst: (name?: string | null) => VarNode;
33
+ toConstAssign: (name?: string | null) => this;
34
+
35
+ toVarIntent: () => Node;
36
+ toVarIntentAssign: () => this;
33
37
  }
34
38
  }
@@ -1,5 +1,4 @@
1
1
  import { InterpolationSamplingMode, InterpolationSamplingType } from "../../constants.js";
2
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
3
2
  import Node from "./Node.js";
4
3
  import NodeBuilder from "./NodeBuilder.js";
5
4
  import NodeVarying from "./NodeVarying.js";
@@ -18,22 +17,25 @@ export default class VaryingNode extends Node {
18
17
  setupVarying(builder: NodeBuilder): NodeVarying;
19
18
  }
20
19
 
21
- export const varying: (node: Node, name?: string) => ShaderNodeObject<VaryingNode>;
20
+ export const varying: (node: Node, name?: string) => VaryingNode;
22
21
 
23
- export const vertexStage: (node: Node) => ShaderNodeObject<VaryingNode>;
22
+ export const vertexStage: (node: Node) => VaryingNode;
24
23
 
25
- declare module "../tsl/TSLCore.js" {
26
- interface NodeElements {
27
- toVarying: typeof varying;
28
- toVertexStage: typeof vertexStage;
24
+ declare module "../Nodes.js" {
25
+ interface Node {
26
+ toVarying: (name?: string) => VaryingNode;
27
+ toVaryingAssign: (name?: string) => this;
28
+
29
+ toVertexStage: () => VaryingNode;
30
+ toVertexStageAssign: () => this;
29
31
 
30
32
  /**
31
- * @deprecated .varying() has been renamed to .toVarying().
33
+ * @deprecated .vertexStage() has been renamed to .toVertexStage().
32
34
  */
33
- varying: typeof varying;
35
+ vertexStage: () => VaryingNode;
34
36
  /**
35
37
  * @deprecated .vertexStage() has been renamed to .toVertexStage().
36
38
  */
37
- vertexStage: typeof vertexStage;
39
+ vertexStageAssign: () => this;
38
40
  }
39
41
  }
@@ -1,36 +1,35 @@
1
1
  import Node from "../core/Node.js";
2
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
3
2
 
4
- export const blendBurn: (base: Node, blend: Node) => ShaderNodeObject<Node>;
3
+ export const blendBurn: (base: Node, blend: Node) => Node;
5
4
 
6
- export const blendDodge: (base: Node, blend: Node) => ShaderNodeObject<Node>;
5
+ export const blendDodge: (base: Node, blend: Node) => Node;
7
6
 
8
- export const blendScreen: (base: Node, blend: Node) => ShaderNodeObject<Node>;
7
+ export const blendScreen: (base: Node, blend: Node) => Node;
9
8
 
10
- export const blendOverlay: (base: Node, blend: Node) => ShaderNodeObject<Node>;
9
+ export const blendOverlay: (base: Node, blend: Node) => Node;
11
10
 
12
- export const blendColor: (base: Node, blend: Node) => ShaderNodeObject<Node>;
11
+ export const blendColor: (base: Node, blend: Node) => Node;
13
12
 
14
- export const premultiplyAlpha: (color: Node) => ShaderNodeObject<Node>;
13
+ export const premultiplyAlpha: (color: Node) => Node;
15
14
 
16
- export const unpremultiplyAlpha: (color: Node) => ShaderNodeObject<Node>;
15
+ export const unpremultiplyAlpha: (color: Node) => Node;
17
16
 
18
17
  /**
19
18
  * @deprecated
20
19
  */
21
- export const burn: (base: Node, blend: Node) => ShaderNodeObject<Node>;
20
+ export const burn: (base: Node, blend: Node) => Node;
22
21
 
23
22
  /**
24
23
  * @deprecated
25
24
  */
26
- export const dodge: (base: Node, blend: Node) => ShaderNodeObject<Node>;
25
+ export const dodge: (base: Node, blend: Node) => Node;
27
26
 
28
27
  /**
29
28
  * @deprecated
30
29
  */
31
- export const screen: (base: Node, blend: Node) => ShaderNodeObject<Node>;
30
+ export const screen: (base: Node, blend: Node) => Node;
32
31
 
33
32
  /**
34
33
  * @deprecated
35
34
  */
36
- export const overlay: (base: Node, blend: Node) => ShaderNodeObject<Node>;
35
+ export const overlay: (base: Node, blend: Node) => Node;
@@ -1,6 +1,5 @@
1
1
  import Node from "../core/Node.js";
2
2
  import TempNode from "../core/TempNode.js";
3
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
4
3
 
5
4
  declare class BumpMapNode extends TempNode {
6
5
  textureNode: Node;
@@ -14,4 +13,4 @@ export default BumpMapNode;
14
13
  export const bumpMap: (
15
14
  textureNode: Node,
16
15
  scaleNode?: Node | null,
17
- ) => ShaderNodeObject<BumpMapNode>;
16
+ ) => BumpMapNode;
@@ -1,30 +1,29 @@
1
1
  import Node from "../core/Node.js";
2
2
  import MathNode from "../math/MathNode.js";
3
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
4
3
 
5
- export const grayscale: (color: Node) => ShaderNodeObject<Node>;
4
+ export const grayscale: (color: Node) => Node;
6
5
 
7
6
  export const saturation: (
8
7
  color: Node,
9
8
  adjustment?: Node | number,
10
- ) => ShaderNodeObject<Node>;
9
+ ) => Node;
11
10
 
12
11
  export const vibrance: (
13
12
  color: Node,
14
13
  adjustment?: Node | number,
15
- ) => ShaderNodeObject<Node>;
14
+ ) => Node;
16
15
 
17
16
  export const hue: (
18
17
  color: Node,
19
18
  adjustment?: Node | number,
20
- ) => ShaderNodeObject<Node>;
19
+ ) => Node;
21
20
 
22
21
  export const luminance: (
23
22
  color: Node,
24
23
  luminanceCoefficients?: Node,
25
- ) => ShaderNodeObject<MathNode>;
24
+ ) => MathNode;
26
25
 
27
- export const threshold: (color: Node, thershold: Node) => ShaderNodeObject<MathNode>;
26
+ export const threshold: (color: Node, thershold: Node) => MathNode;
28
27
 
29
28
  /**
30
29
  * Color Decision List (CDL) v1.2
@@ -53,4 +52,4 @@ export const cdl: (
53
52
  power?: Node,
54
53
  saturation?: Node,
55
54
  luminanceCoefficients?: Node,
56
- ) => ShaderNodeObject<Node>;
55
+ ) => Node;
@@ -1,6 +1,5 @@
1
1
  import Node from "../core/Node.js";
2
- import { ShaderNodeObject } from "../tsl/TSLCore.js";
3
2
 
4
- export const sRGBTransferEOTF: (color: Node) => ShaderNodeObject<Node>;
3
+ export const sRGBTransferEOTF: (color: Node) => Node;
5
4
 
6
- export const sRGBTransferOETF: (color: Node) => ShaderNodeObject<Node>;
5
+ export const sRGBTransferOETF: (color: Node) => Node;