# ShaderData.ResourceBindingInfo

> Provides resource layout information about a shader resource binding.

## Definition

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

```csharp
public struct ShaderData.ResourceBindingInfo
```

## Properties

| Property                                                                                                   | Description                                                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Index](/engine/6000.5/script-reference/unityeditor/shaderdata/resourcebindinginfo/index.md)               | The index of the shader resource binding (Read Only). The exact value and meaning of this property is platform and graphics API specific.                                    |
| [Kind](/engine/6000.5/script-reference/unityeditor/shaderdata/resourcebindinginfo/kind.md)                 | The kind of shader resource of this shader resource binding. (Read Only)                                                                                                     |
| [Name](/engine/6000.5/script-reference/unityeditor/shaderdata/resourcebindinginfo/name.md)                 | The name of the shader resource binding (Read Only).                                                                                                                         |
| [SamplerIndex](/engine/6000.5/script-reference/unityeditor/shaderdata/resourcebindinginfo/samplerindex.md) | 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. |
| [Writable](/engine/6000.5/script-reference/unityeditor/shaderdata/resourcebindinginfo/writable.md)         | True if the shader resource binding is a read-write resource, such as RWBuffer or RWTexture. (Read Only)                                                                     |
