Shader.FindPassTagValue

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

Parameters

passIndexThe index of the pass.
tagNameThe 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.