This version of Unity is unsupported.

Shader.FindPassTagValue

Switch to Manual

Declaration

public Rendering.ShaderTagId FindPassTagValue(int passIndex, Rendering.ShaderTagId tagName);

Parameters

passIndex The index of the pass.
tagName The name of the pass tag.

Description

Search for the pass tag specified by tagName on the shader's active SubShader and returns the value of the tag.