SetRenderStateData(Shader, PassIdentifier)
Sets the render state fields in this graphics state according to the provided shader and pass identifier.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void SetRenderStateData(Shader shader, PassIdentifier passId)
Parameters
Shader to use to set the GraphicsStateCollection.GraphicsState.renderState data from.
PassIdentifier to use to set the GraphicsStateCollection.GraphicsState.renderState data from.