ドキュメント

Unity Engine

Unity Engine

SetRenderStateData(Shader, PassIdentifier)

Sets the render state fields in this graphics state according to the provided shader and pass identifier.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.