# ShaderData.ResourceBindingInfo

> Provides resource layout information about a shader resource binding.

## Definition

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

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

## Properties

| Property                                                                                                           | Description                                                                                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Binding](/engine/7000.0/script-reference/unityeditor/shaderdata/resourcebindinginfo/binding.md)                   | The binding information associated with this shader resource.                                                                                                                |
| [Index](/engine/7000.0/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/7000.0/script-reference/unityeditor/shaderdata/resourcebindinginfo/kind.md)                         | The kind of shader resource of this shader resource binding. (Read Only)                                                                                                     |
| [Name](/engine/7000.0/script-reference/unityeditor/shaderdata/resourcebindinginfo/name.md)                         | The name of the shader resource binding (Read Only).                                                                                                                         |
| [SamplerIndex](/engine/7000.0/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. |
| [SecondaryBinding](/engine/7000.0/script-reference/unityeditor/shaderdata/resourcebindinginfo/secondarybinding.md) | The secondary binding information associated with this shader resource. The exact value and meaning of this property is platform and graphics API specific.                  |
| [Writable](/engine/7000.0/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)                                                                     |
