Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Bring a material's shading defines in line with mode.

      Third in the family, and the one whose stale-flag case is worst: a stranded LUXAR_MESH_NO_SHADING alongside LUXAR_MESH_FLAT_NORMAL gives a shader that computes a derivative normal and then discards it, so the mesh renders FLATLY LIT — which looks like a deliberate unlit style rather than a bug.

      Parameters

      Returns boolean

      true when a define was added or removed.