From 699ffc7ccb548d1217631983fed4da7a75e80459 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Fri, 16 Aug 2024 09:32:34 -0400 Subject: [PATCH] UniformArrayNode: Add uniforms() fallback. --- types/three/src/nodes/accessors/UniformArrayNode.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/three/src/nodes/accessors/UniformArrayNode.d.ts b/types/three/src/nodes/accessors/UniformArrayNode.d.ts index 3f7887cef..1fb902814 100644 --- a/types/three/src/nodes/accessors/UniformArrayNode.d.ts +++ b/types/three/src/nodes/accessors/UniformArrayNode.d.ts @@ -23,3 +23,8 @@ declare class UniformArrayNode extends BufferNode { export default UniformArrayNode; export const uniformArray: (values: unknown[], nodeType?: string | null) => ShaderNodeObject; + +/** + * @deprecated THREE.WebGPURenderer: uniforms() has been renamed to uniformArray(). + */ +export const uniforms: (values: unknown[], nodeType?: string | null) => ShaderNodeObject;