Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BlendState

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

Definition

public struct BlendState : IEquatable<BlendState>

Remarks

Additional Resources: RenderStateBlock, ShaderLab: Blending.

Constructors

Constructor

Description

BlendState(System.Boolean,System.Boolean)Creates a new blend state with the specified values.

Properties

Property

Description

alphaToMaskTurns on alpha-to-coverage.
blendState0Blend state for render target 0.
blendState1Blend state for render target 1.
blendState2Blend state for render target 2.
blendState3Blend state for render target 3.
blendState4Blend state for render target 4.
blendState5Blend state for render target 5.
blendState6Blend state for render target 6.
blendState7Blend state for render target 7.
separateMRTBlendStatesDetermines whether each render target uses a separate blend state.

Static Properties

Property

Description

defaultValueDefault values for the blend state.