Interface VulkanPipelineColorBlendAttachmentStateType
- All Known Implementing Classes:
VulkanPipelineColorBlendAttachmentState
@Immutable
public interface VulkanPipelineColorBlendAttachmentStateType
Structure specifying a pipeline color blend attachment state.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault VulkanBlendOpdefault VulkanBlendOpdefault Set<VulkanColorComponentFlag> default VulkanBlendFactordefault VulkanBlendFactorbooleanenable()default VulkanBlendFactordefault VulkanBlendFactor
-
Method Details
-
enable
@Parameter boolean enable()- Returns:
trueif blending is enabled for the corresponding color attachment. If blending is not enabled, the source fragment’s color for that attachment is passed through unmodified.
-
srcColorBlendFactor
- Returns:
- the blend factor used to determine the source factors (Sr,Sg,Sb).
-
dstColorBlendFactor
- Returns:
- the blend factor used to determine the destination factors (Dr,Dg,Db).
-
colorBlendOp
- Returns:
- the blend operation used to calculate the RGB values to write to the color attachment.
-
srcAlphaBlendFactor
- Returns:
- the blend factor used to determine the source factor Sa.
-
dstAlphaBlendFactor
- Returns:
- the blend factor used to determine the destination factor Da.
-
alphaBlendOp
- Returns:
- the blend operation used to calculate the alpha values to write to the color attachment.
-
colorWriteMask
- Returns:
- the R, G, B, and/or A components enabled for writing.
-