Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ShaderData.ActiveSubshader

public ShaderData.Subshader ActiveSubshader;

Description

Returns the active subshader or null if none is currently active.

The active subshader is the first one that is supported and satisfied the LOD needs.