Luna::RHI::ICommandBuffer::set_blend_factor

virtual void set_blend_factor(const Float4U &blend_factor)=0

Sets the blend factor of the graphics pipeline.

The blend factor is used if BlendFactor::blend_factor or BlendFactor::one_minus_blend_factor is used for any blending operation in BlendDesc of the binding graphics pipeline state object.

Parameters

  • in blend_factor

    The blend factor (in RGBA order) to set.