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.