Shader.FindPassTagValue

Switch to Manual
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.

Did you find this page useful? Please give it a rating: