# MaterialProperty.PropFlags

> Flags that control how a MaterialProperty is displayed.

## Definition

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

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

```csharp
[Flags]
public enum MaterialProperty.PropFlags
```

## Fields

| Value                                                                                                                          | Description                                                                                                                                                                                                                                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Gamma](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/gamma.md)                                       | Signifies that values of this property are in gamma space and should not be gamma corrected.                                                                                                                                                                                                                                                               |
| [HDR](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/hdr.md)                                           | Signifies that values of this property contain High Dynamic Range (HDR) data.                                                                                                                                                                                                                                                                              |
| [HideInInspector](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/hideininspector.md)                   | Do not show the property in the Inspector.                                                                                                                                                                                                                                                                                                                 |
| [None](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/none.md)                                         | No flags are set.                                                                                                                                                                                                                                                                                                                                          |
| [NonModifiableTextureData](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/nonmodifiabletexturedata.md) | Do not allow this texture property to be edited in the Inspector.                                                                                                                                                                                                                                                                                          |
| [Normal](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/normal.md)                                     | Signifies that values of this property contain Normal (normalized vector) data.                                                                                                                                                                                                                                                                            |
| [NoScaleOffset](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/noscaleoffset.md)                       | Do not show UV scale/offset fields next to a texture.                                                                                                                                                                                                                                                                                                      |
| [PerRendererData](/engine/6000.6/script-reference/unityeditor/materialproperty/propflags/perrendererdata.md)                   | In the Material Inspector, value for this property will be queried from Renderer's [MaterialPropertyBlock](/engine/6000.6/script-reference/unityengine/materialpropertyblock.md), 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. |
