# mipCount

> The number of mipmap levels in this GraphicsTexture.

## Definition

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

```csharp
public int mipCount
```

### Remarks

The value includes the base level, so it must always be 1 or more. Note that a GraphicsTexture represents what is uploaded to the GPU, so this value may differ from [Texture.mipmapCount](/engine/6000.3/script-reference/unityengine/texture/mipmapcount.md) depending on the values of [Texture2D.activeMipmapLimit](/engine/6000.3/script-reference/unityengine/texture2d/activemipmaplimit.md) and [Texture2D.streamingMipmaps](/engine/6000.3/script-reference/unityengine/texture2d/streamingmipmaps.md).

If the [GraphicsTextureDescriptor.format](/engine/6000.3/script-reference/unityengine/rendering/graphicstexturedescriptor/format.md) is a depth-only format, then mipCount is ignored.
