Taos API Reference
    Preparing search index...

    Interface PortSpec

    Port definition exposed by a node kind. Type is documentation today; the WGSL compiler is the authoritative type checker.

    interface PortSpec {
        name: string;
        type: "any" | VariableType;
        default?: number | boolean | number[];
    }
    Index

    Properties

    Properties

    name: string
    type: "any" | VariableType
    default?: number | boolean | number[]

    Default value used if the port is left unconnected. Type-shape must match.