This version of Unity is unsupported.

ShaderData.GetSubshader

Declaration

public ShaderData.Subshader GetSubshader(int index);

Parameters

index The index of the subshader.

Returns

Subshader The associated runtime subshader or null if none exists.

Description

Obtains the runtime subshader at the given index.