Documentation
    Preparing search index...

    Interface NodeMaterialOptions

    Construction options: §57's shared render state plus initial uniform values and texture bindings, validated against the graph exactly as the setters validate later writes (F14's rule — one validation, wherever the value arrives from).

    interface NodeMaterialOptions {
        blendMode?: BlendMode;
        colorWrite?: boolean;
        depthTest?: boolean;
        depthWrite?: boolean;
        opacity?: number;
        stencil?: StencilState;
        textures?: Readonly<Record<string, MaterialTexture>>;
        transparent?: boolean;
        uniforms?: Readonly<Record<string, number | readonly number[]>>;
    }

    Hierarchy (View Summary)

    Index
    blendMode?: BlendMode

    Initial Material.blendMode; defaults to "normal".

    colorWrite?: boolean

    Initial Material.colorWrite; defaults to true.

    depthTest?: boolean

    Initial Material.depthTest; defaults to true.

    depthWrite?: boolean

    Initial Material.depthWrite; defaults to true.

    opacity?: number

    Initial Material.opacity; defaults to 1 (fully opaque).

    stencil?: StencilState

    Initial Material.stencil; defaults to undefined (no stencil test). A StencilState, which validates itself at construction.

    textures?: Readonly<Record<string, MaterialTexture>>

    Initial texture bindings by texture-node name (§85-validated).

    transparent?: boolean

    Initial Material.transparent; defaults to false.

    uniforms?: Readonly<Record<string, number | readonly number[]>>

    Initial uniform values by uniform-node name (§85-validated).