文档

Unity Engine

Unity Engine

BlendState(bool, bool)

Creates a new blend state with the specified values.
阅读时间1 分钟最后更新于 1 个月前

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.