文档

Unity Engine

Unity Engine

RenderTargetBlendState

Values for the blend state.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct RenderTargetBlendState : IEquatable<RenderTargetBlendState>

Remarks

Additional Resources: RenderStateBlock, ShaderLab: Blending.

Constructors

Properties

Property

Description

alphaBlendOperationOperation used for blending the alpha (A) channel.
colorBlendOperationOperation used for blending the color (RGB) channel.
destinationAlphaBlendModeBlend factor used for the alpha (A) channel of the destination.
destinationColorBlendModeBlend factor used for the color (RGB) channel of the destination.
sourceAlphaBlendModeBlend factor used for the alpha (A) channel of the source.
sourceColorBlendModeBlend factor used for the color (RGB) channel of the source.
writeMaskSpecifies which color components will get written into the target framebuffer.

Static Properties

Property

Description

defaultValueDefault values for the blend state.