Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Window depth of the current fragment from its interpolated clip zw, remapped per coordinate system at graph-build time (the builder knows the renderer; the graph factories do not, and the same factory serves native WebGPU and the WebGL2 fallback).

    Hierarchy

    • Node
      • GlassFragmentDepthNode
    Index
    clipZW: any
    • Build the window-depth expression for this renderer: z/w under the WebGPU coordinate system, z/w * 0.5 + 0.5 under WebGL's.

      Parameters

      • builder: NodeBuilder

      Returns any