# GetPropertyDescription(Shader, int)

> Get the description of the shader propery at index propertyIdx of Shader s.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use Shader.GetPropertyDescription instead.

```csharp
public static string GetPropertyDescription(Shader s, int propertyIdx)
```

### Parameters

**** (\[Shader]\(/engine/6000.7/script-reference/unityengine/shader)): The shader to check against.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The property index to use.

### Returns

| Type                                                           | Description                                           |
| -------------------------------------------------------------- | ----------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | Returns the description of the given shader property. |
