Pass.GetAllShaders

Introduced

v7.0

Description

Returns all shaders nested under the pass, even the ones that are not connected. If no shaders are found, this method returns an empty collection.

C# Syntax

ShaderCollection Pass.GetAllShaders();

Scripting Syntax

oReturn = Pass.GetAllShaders();

Return Value

ShaderCollection

See Also

Light.GetShaderInputType Camera.GetAllShaders Material.GetAllShaders Shader.GetAllShaders