Taos API Reference
    Preparing search index...

    Function compileExpressionGraph

    • Compile an ExpressionGraph to a WGSL { ... } block, ready to slot into the modifier sequence in spawn or update shaders.

      Variables are declared first as var _v_<name> : <type> = <initial>;. Each variable's initializer is compiled before the variable enters scope, so initial can reference earlier-declared variables but never itself.

      Actions are then emitted in order.

      Parameters

      Returns string