This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

DrawRendererSettings.SetShaderPassName

Declaration

public void SetShaderPassName(int index, Experimental.Rendering.ShaderPassName shaderPassName);

Parameters

index Index of the shader pass to use.
shaderPassName Name of the shader pass.

Description

Set the shader passes that this draw call can render.