Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Point-material TSL factory.

      Consumes pre-created UniformNode references via nodes; the wrapper class (PointTSLMaterial) owns those nodes and exposes them through material.uniforms as IUniform-shaped getter/setter proxies. The harness / POINT_SOURCE ShaderSource registry constructs the nodes from a plain uniforms record via buildPointTSLNodesFromUniforms.

      Pass outMaterial to configure an existing NodeMaterial subclass (e.g. PointTSLMaterial) rather than allocating a new one — the subclass owns the nodes table, so the factory just attaches vertexNode / colorNode / blending state. When omitted, a fresh NodeMaterial is allocated (the common standalone case used by tsl-shader-parity.spec.ts).

      Parameters

      Returns NodeMaterial