Documentation

Unity Engine


Unity Engine


SetRenderStateData(Shader, PassIdentifier)

Sets the render state fields in this graphics state according to the provided shader and pass identifier.
Read time 1 minuteLast updated a month ago

Definition

public void SetRenderStateData(Shader shader, PassIdentifier passId)

Parameters

shader

Shader to use to set the GraphicsStateCollection.GraphicsState.renderState data from.

PassIdentifier to use to set the GraphicsStateCollection.GraphicsState.renderState data from.