Skip to main content

Material.FindPass(string passName)

Returns the index of the pass passName.

Parameters:

NameTypeDescription
passNamestringName of the Pass.

Returns:

typeDescription
numberthe index of the pass passName. -1 if it does not exist.

Usage

---@type Material
local material;

---@type string
local passName;


local val0 = material.FindPass(passName)