Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

RenderTargetBlendState

struct in UnityEngine.Experimental.Rendering

Switch to Manual

Description

Values for the blend state.

Static Variables

DefaultDefault values for the blend state.

Variables

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.

Constructors

RenderTargetBlendStateCreates a new blend state with the given values.