Material.GetShaderPassEnabled(string passName)
Checks whether a given Shader pass is enabled on this Material.
Parameters:
Name | Type | Description |
---|---|---|
passName | string | Shader pass name (case insensitive). |
Returns:
type | Description |
---|---|
boolean | True if the Shader pass is enabled. |
Usage
---@type Material
local material;
---@type string
local passName;
local val0 = material.GetShaderPassEnabled(passName)