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 11 days ago
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.