# PerRendererData

> In the Material Inspector, value for this property will be queried from Renderer's MaterialPropertyBlock, instead of from the Material. The value will also appear as read-only. This corresponds to the "[PerRendererData]" attribute in front of a property in the Shader code.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use UnityEngine.Rendering.ShaderPropertyFlags instead.
>
> **Upgrade to** [ShaderPropertyFlags](/engine/6000.7/script-reference/unityengine/rendering/shaderpropertyflags.md)

```csharp
PerRendererData = 2
```
