Documentation
    Preparing search index...

    Function blendStateFor

    • The WebGPU blend state for one §57 blend mode, or undefined for an opaque draw — the module's BLEND_STATES table behind a total function, exported (WP-R1.9) so the node pipeline store (wgpu-node-program.ts) builds its descriptors from the very objects every landed family bakes in, rather than from a second table that could drift.

      Parameters

      • blend: "none" | "normal" | "additive" | "multiply" | "screen"

      Returns GpuBlendState | undefined