Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RenderTargetBlendState

Values for the blend state.
Read time 1 minuteLast updated 4 days ago

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.