LiteFX::Rendering::Backends::VulkanCommandBuffer::setBlendFactors¶
Sets the blend factors for the subsequent draw calls.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] virtual void setBlendFactors(Vector4f const& blendFactors) const noexcept override;
Description¶
Blend factors are set for all render targets that use the blend modes BlendFactor::ConstantColor, BlendFactor::OneMinusConstantColor, BlendFactor::ConstantAlpha or BlendFactor::OneMinusConstantAlpha.
Parameters¶
| Name | Description |
|---|---|
| blendFactors | The blend factors for the subsequent draw calls. |