Taos API Reference
    Preparing search index...

    Function customShaderUserLineOffset

    • 0-based line index in the assembled shader where the user's first source line lands. A WGSL compiler reports diagnostics against the assembled shader; the editor subtracts this offset to map a message back to the user's .wgsl line (userLine1Based = assembledLine1Based − offset). Pure + stable per template.

      Returns number