On this page

renderTargetBlend QML Type

Defines blending parameters for a single color attachment of a render pass. More...

Import Statement: import QtQuick3D
Since: Qt 6.11

Detailed Description

The renderTargetBlend type is used to specify blending parameters for a single color attachment of a RenderPass. An instance of renderTargetBlend can be assigned to one of the PipelineStateOverride::targetBlendN properties, where N is the index of the color attachment to configure.

If set to true, enables blending for the color attachment. If set to false, disables blending.

Sets the color channels that will be written to the color attachment.

ConstantValue
renderTargetBlend.R
renderTargetBlend.G
renderTargetBlend.B
renderTargetBlend.A

Sets the source color blend factor for the color attachment.

ConstantValue
renderTargetBlend.Zero
renderTargetBlend.One
renderTargetBlend.SrcColor
renderTargetBlend.OneMinusSrcColor
renderTargetBlend.DstColor
renderTargetBlend.OneMinusDstColor
renderTargetBlend.SrcAlpha
renderTargetBlend.OneMinusSrcAlpha
renderTargetBlend.DstAlpha
renderTargetBlend.OneMinusDstAlpha
renderTargetBlend.ConstantColor
renderTargetBlend.OneMinusConstantColor
renderTargetBlend.ConstantAlpha
renderTargetBlend.OneMinusConstantAlpha
renderTargetBlend.SrcAlphaSaturate
renderTargetBlend.Src1Color
renderTargetBlend.OneMinusSrc1Color
renderTargetBlend.Src1Alpha
renderTargetBlend.OneMinusSrc1Alpha

Sets the destination color blend factor for the color attachment.

ConstantValue
renderTargetBlend.Zero
renderTargetBlend.One
renderTargetBlend.SrcColor
renderTargetBlend.OneMinusSrcColor
renderTargetBlend.DstColor
renderTargetBlend.OneMinusDstColor
renderTargetBlend.SrcAlpha
renderTargetBlend.OneMinusSrcAlpha
renderTargetBlend.DstAlpha
renderTargetBlend.OneMinusDstAlpha
renderTargetBlend.ConstantColor
renderTargetBlend.OneMinusConstantColor
renderTargetBlend.ConstantAlpha
renderTargetBlend.OneMinusConstantAlpha
renderTargetBlend.SrcAlphaSaturate
renderTargetBlend.Src1Color
renderTargetBlend.OneMinusSrc1Color
renderTargetBlend.Src1Alpha
renderTargetBlend.OneMinusSrc1Alpha

Sets the color blend operation for the color attachment.

ConstantValue
renderTargetBlend.Add
renderTargetBlend.Subtract
renderTargetBlend.ReverseSubtract
renderTargetBlend.Min
renderTargetBlend.Max

Sets the source alpha blend factor for the color attachment.

ConstantValue
renderTargetBlend.Zero
renderTargetBlend.One
renderTargetBlend.SrcColor
renderTargetBlend.OneMinusSrcColor
renderTargetBlend.DstColor
renderTargetBlend.OneMinusDstColor
renderTargetBlend.SrcAlpha
renderTargetBlend.OneMinusSrcAlpha
renderTargetBlend.DstAlpha
renderTargetBlend.OneMinusDstAlpha
renderTargetBlend.ConstantColor
renderTargetBlend.OneMinusConstantColor
renderTargetBlend.ConstantAlpha
renderTargetBlend.OneMinusConstantAlpha
renderTargetBlend.SrcAlphaSaturate
renderTargetBlend.Src1Color
renderTargetBlend.OneMinusSrc1Color
renderTargetBlend.Src1Alpha
renderTargetBlend.OneMinusSrc1Alpha

Sets the destination alpha blend factor for the color attachment.

ConstantValue
renderTargetBlend.Zero
renderTargetBlend.One
renderTargetBlend.SrcColor
renderTargetBlend.OneMinusSrcColor
renderTargetBlend.DstColor
renderTargetBlend.OneMinusDstColor
renderTargetBlend.SrcAlpha
renderTargetBlend.OneMinusSrcAlpha
renderTargetBlend.DstAlpha
renderTargetBlend.OneMinusDstAlpha
renderTargetBlend.ConstantColor
renderTargetBlend.OneMinusConstantColor
renderTargetBlend.ConstantAlpha
renderTargetBlend.OneMinusConstantAlpha
renderTargetBlend.SrcAlphaSaturate
renderTargetBlend.Src1Color
renderTargetBlend.OneMinusSrc1Color
renderTargetBlend.Src1Alpha
renderTargetBlend.OneMinusSrc1Alpha

Sets the alpha blend operation for the color attachment.

ConstantValue
renderTargetBlend.Add
renderTargetBlend.Subtract
renderTargetBlend.ReverseSubtract
renderTargetBlend.Min
renderTargetBlend.Max

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.