文档

Unity Engine

Unity Engine

RenderStateBlock(RenderStateMask)

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

Definition

public RenderStateBlock(RenderStateMask mask)

Parameters

Specifies which parts of the GPU's render state to override.

Remarks

All states are initialized to their default values.