Function TRAP::Graphics::API::VulkanInits::PipelineColorBlendStateCreateInfo(VkLogicOp, std::span<const VkPipelineColorBlendAttachmentState>, f32, f32, f32, f32)#

Function Documentation#

constexpr VkPipelineColorBlendStateCreateInfo TRAP::Graphics::API::VulkanInits::PipelineColorBlendStateCreateInfo(VkLogicOp logicOp, std::span<const VkPipelineColorBlendAttachmentState> attachments, f32 blendConstR, f32 blendConstG, f32 blendConstB, f32 blendConstA) noexcept#

Create a Vulkan pipeline color blend state create info.

Parameters:
  • logicOp – Vulkan pipeline logic op.

  • attachments – Vulkan pipeline color blend attachment states.

  • blendConstR – Blend constant red color.

  • blendConstG – Blend constant green color.

  • blendConstB – Blend constant blue color.

  • blendConstA – Blend constant alpha value.

Returns:

VkPipelineColorBlendStateCreateInfo.