Documentation
    Preparing search index...

    Type Alias ShaderUnaryOp

    ShaderUnaryOp:
        | "sin"
        | "cos"
        | "abs"
        | "floor"
        | "fract"
        | "normalize"
        | "negate"
        | "saturate"
        | "length"
        | "angle"

    The unary operators (§60), closed — see the module header.

    "angle" is RFC 0001's one-row closed-union amendment: atan2(y, x) of a vec2, in radians (right-handed, §7a), so a §58 conic gradient can be expressed without opening the operator set any further.