15 #include <vsg/state/GraphicsPipeline.h>
24 using ColorBlendAttachments = std::vector<VkPipelineColorBlendAttachmentState>;
28 explicit ColorBlendState(
const ColorBlendAttachments& colorBlendAttachments);
31 VkBool32 logicOpEnable = VK_FALSE;
32 VkLogicOp logicOp = VK_LOGIC_OP_COPY;
33 ColorBlendAttachments attachments;
34 float blendConstants[4] = {0.0f, 0.0f, 0.0f, 0.0f};
38 void read(
Input& input)
override;
39 void write(
Output& output)
const override;
41 void apply(
Context& context, VkGraphicsPipelineCreateInfo& pipelineInfo)
const override;
ColorBlendState encapsulates to VkPipelineColorBlendStateCreateInfo settings passed when setting up G...
Definition: ColorBlendState.h:22
int compare(const Object &rhs) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...