Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RenderStateBlock(RenderStateMask)

Creates a new render state block with the specified mask.
Read time 1 minuteLast updated 6 days ago

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.