# SamplerIndex

> The index of the sampler for this shader resource binding if it's a texture (Read Only). The exact value and meaning of this property is platform and graphics API specific.

## Definition

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

```csharp
public readonly int SamplerIndex { get; }
```
