# GetCallableShaderName(RayTracingShader, int)

> Returns the name of a user-defined callable Shader from within a RayTracingShader.

## Definition

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

```csharp
public static string GetCallableShaderName(RayTracingShader s, int shaderIndex)
```

### Parameters

**** (\[RayTracingShader]\(/engine/6000.7/script-reference/unityengine/rendering/raytracingshader)): The [RayTracingShader](/engine/6000.7/script-reference/unityengine/rendering/raytracingshader.md) instance.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The callable Shader index for which to retrieve the name.

### Returns

| Type                                                           | Description                                                                           |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The name of the callable Shader at the index passed using the "shaderIndex" argument. |

### Remarks

Additional Resources: [ShaderUtil.GetCallableShaderCount](/engine/6000.7/script-reference/unityeditor/shaderutil/getcallableshadercount.md), [ShaderUtil.GetCallableShaderParamSize](/engine/6000.7/script-reference/unityeditor/shaderutil/getcallableshaderparamsize.md).
