Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

RenderStateBlockConstructor

Switch to Manual
public RenderStateBlock (Experimental.Rendering.RenderStateMask mask);

Parameters

maskSpecifies which parts of the render state that is overriden.

Description

Creates a new render state block with the specified mask.

All states are initialized to their default values. stencilReference is initialized to 0.

See Also: BlendState.Default, DepthState.Default, RasterState.Default, StencilState.Default.