Shader.GetAllShaders
 
 
 

Shader.GetAllShaders

Introduced

v7.0

Description

Returns all the shaders nested under the shader if it is a shader compound. Otherwise, it returns an empty collection.

C# Syntax

ShaderCollection Shader.GetAllShaders();

Scripting Syntax

oReturn = Shader.GetAllShaders();

Return Value

ShaderCollection (or an empty collection)

See Also

Shader.GetShaderContainer Camera.GetAllShaders Light.GetAllShaders Material.GetAllShaders