# ActiveSubshaderIndex

> Returns the index of the active subshader or -1 if none is currently active.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public int ActiveSubshaderIndex { get; }
```

### Remarks

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