# ShaderData.Subshader

> This class describes a subshader.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public class ShaderData.Subshader
```

## Properties

| Property                                                                                           | Description                                                        |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [LevelOfDetail](/engine/6000.7/script-reference/unityeditor/shaderdata/subshader/levelofdetail.md) | The level of detail (LOD) specified in this subshader (Read Only). |
| [PassCount](/engine/6000.7/script-reference/unityeditor/shaderdata/subshader/passcount.md)         | The number of passes for this subshader.                           |

## Methods

| Method                                                                                           | Description                                                                                     |
| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
| [FindTagValue](/engine/6000.7/script-reference/unityeditor/shaderdata/subshader/findtagvalue.md) | Searches for the tag specified by `tagName` on this SubShader and returns the value of the tag. |
| [GetPass](/engine/6000.7/script-reference/unityeditor/shaderdata/subshader/getpass.md)           | Get a pass of a subshader.                                                                      |
