LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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

DrawRendererSettings.SetShaderPassName

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

Parameters

indexIndex of the shader pass to use.
shaderPassNameName of the shader pass.

Description

Set the shader passes that this draw call can render.