Luna::RHI::BlendOp

enum BlendOp : u8
{
    add
    subtract
    rev_subtract
    min
    max
}

Specifies the blend operation.

Options

  • add

    Returns src_blend + dst_blend.

  • subtract

    Returns src_blend - dst_blend.

  • rev_subtract

    Returns dst_blend - src_blend.

  • min

    Returns min(src_blend, dst_blend).

  • max

    Returns max(src_blend, dst_blend).