# flags

> A set of GraphicsTextureDescriptorFlags that control how the texture can be rendered to or read from.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/6000.6/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public GraphicsTextureDescriptorFlags flags
```

### Remarks

To use a GraphicsTexture as a render target, it must have [GraphicsTextureDescriptorFlags.RenderTarget](/engine/6000.6/script-reference/unityengine/rendering/graphicstexturedescriptorflags/rendertarget.md) enabled.
