Skip to content

MaterialGraphNode

Defined in: render/materialGraph.ts:42

id: string

Defined in: render/materialGraph.ts:43


optional inputs?: Record<string, string>

Defined in: render/materialGraph.ts:48

Input slot → source node id (e.g. multiply: { a, b }; textureSample: { uv? }).


optional params?: Record<string, unknown>

Defined in: render/materialGraph.ts:46

Node literals: param name, scalar/color value, texture default.


type: GraphNodeType

Defined in: render/materialGraph.ts:44


optional x?: number

Defined in: render/materialGraph.ts:50

Editor canvas position (px). Ignored by the compiler — layout only.


optional y?: number

Defined in: render/materialGraph.ts:51