This version of Unity is unsupported.

ShaderData.Subshader.GetPass

public ShaderData.Pass GetPass(int passIndex);

Parameters

passIndexThe index of the pass.

Returns

Pass The specified pass or null, if none exists.

Description

Get a pass of a subshader.