기술 자료

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분최근 업데이트: 한 달 전

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.