Skip to content

Commit a943f0a

Browse files
committed
ShaderNodeFn: improve DX for Layout
1 parent 39b0b03 commit a943f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/three/src/nodes/tsl/TSLCore.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export function nodeImmutable<T>(
217217
interface Layout {
218218
name: string;
219219
type: string;
220-
inputs: { name: string; type: string }[];
220+
inputs: { name: string; type: "bool" | "int" | "float" | "vec2" | "vec3" | "vec4"; qualifier?: "in" | "out" | "inout" }[];
221221
}
222222

223223
interface ShaderNodeFn<Args extends readonly unknown[]> {

0 commit comments

Comments
 (0)