Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPass(int)

Get a pass of a subshader.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public ShaderData.Pass GetPass(int passIndex)

Parameters

passIndex

The index of the pass.

Returns

Type

Description

PassThe specified pass or null, if none exists.