rullino
    Preparing search index...

    Interface ColorParam

    A colour picked by the user: straight sRGB-encoded [r, g, b] in [0, 1], as colour pickers show it. In WGSL a vec4f (r, g, b, 1) with the same encoded values; filters convert to linear themselves.

    interface ColorParam {
        default: readonly [number, number, number];
        description?: string;
        group?: string;
        label?: string;
        type: "color";
    }

    Hierarchy

    • ParamBase
      • ColorParam
    Index
    default: readonly [number, number, number]
    description?: string
    group?: string

    UI grouping: params sharing a group are shown together (as tabs in the playground).

    label?: string
    type: "color"