---
title: hasEyeTexture
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/rendering/graphicsstatecollection/graphicsstate/haseyetexture
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/rendering/graphicsstatecollection/graphicsstate/haseyetexture.md
last_updated: 2026-10-07
generated_at: 2026-11-11T05:57:38.002Z
locale: en-us
---

# hasEyeTexture

> Note: This field obsolete and no longer used in recording the graphics state. Flag indicating that a VR eye texture is being rendered to in this rendering configuration.

## Definition

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

> **Warning:**
>
> **Removed.** hasEyeTexture is obsolete and no longer used for defining the graphics state.

```csharp
public bool hasEyeTexture
```

### Remarks

See: [RenderTextureCreationFlags.EyeTexture](/engine/7000.0/script-reference/unityengine/rendertexturecreationflags/eyetexture.md).
