Documentation

Unity Engine

Unity Engine

BlendState(bool, bool)

Creates a new blend state with the specified values.
Read time 1 minuteLast updated 2 months ago

Definition

public BlendState(bool separateMRTBlend = false, bool alphaToMask = false)

Parameters

separateMRTBlend

Determines whether each render target uses a separate blend state.

alphaToMask

Turns on alpha-to-coverage.

Remarks

All blend states are initialized to RenderTargetBlendState.defaultValue.