Documentation

Unity Engine

Unity Engine

SetShaderPassName(int, ShaderTagId)

Set the name of the shader pass.
Read time 1 minuteLast updated 2 months ago

Definition

public void SetShaderPassName(int index, ShaderTagId shaderPassName)

Parameters

index

Index of the shader pass to use.

shaderPassName

Name of the shader pass.