NodeSpec
Defined in: materialGraph.ts:350
Static schema for a node type — the single source the palette, ports, and node inspector all read, kept beside the compiler so the editor and codegen never drift.
Properties
Section titled “Properties”addable
Section titled “addable”addable:
boolean
Defined in: materialGraph.ts:357
Whether the palette offers it (the singleton output node is not addable).
inputs
Section titled “inputs”inputs:
NodePort[]
Defined in: materialGraph.ts:352
label:
string
Defined in: materialGraph.ts:351
output
Section titled “output”output:
GraphType|null
Defined in: materialGraph.ts:354
Output port type, or null for the output sink (no output port).
params
Section titled “params”params:
NodeParamSpec[]
Defined in: materialGraph.ts:355