# GetShaderPassName(int)

> Get the name of the shader pass.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Rendering](/engine/6000.0/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public ShaderTagId GetShaderPassName(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the shader pass to use.

### Returns

| Type                                                                                | Description |
| ----------------------------------------------------------------------------------- | ----------- |
| [ShaderTagId](/engine/6000.0/script-reference/unityengine/rendering/shadertagid.md) |             |
