Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetShaderPassName(int, ShaderTagId)

Set the name of the shader pass.
Read time 1 minuteLast updated 8 days ago

Definition

public void SetShaderPassName(int index, ShaderTagId shaderPassName)

Parameters

index

Index of the shader pass to use.

shaderPassName

Name of the shader pass.