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

    Function applyBlendingStateToMaterial

    • Apply a CompleteBlendingState to a THREE material in-place. Returns true when any THREE.js side state actually changed (callers can use this to decide whether to set needsUpdate).

      Does NOT update userData.blendingMode or shader defines — material-specific applyBlendingMode() methods own those.

      Parameters

      Returns boolean

      true if any of blending / blendEquation / blendSrc / blendDst / depthTest / depthWrite / transparent actually changed on the material. Use this to decide whether to set material.needsUpdate = true.