Version: 2020.1
언어: 한국어

RenderStateBlock

struct in UnityEngine.Rendering

매뉴얼로 전환

설명

A set of values used to override the render state. Note that it is not enough to set e.g. blendState, but that mask must also include RenderStateMask.Blend for the override to occur.

See Also: ScriptableRenderContext.DrawRenderers, RenderStateMask, RenderStateMapping.

변수

blendStateSpecifies the new blend state.
depthStateSpecifies the new depth state.
maskSpecifies which parts of the render state that is overriden.
rasterStateSpecifies the new raster state.
stencilReferenceThe value to be compared against and/or the value to be written to the buffer based on the stencil state.
stencilStateSpecifies the new stencil state.

생성자

RenderStateBlockCreates a new render state block with the specified mask.