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.