# GenerateAllMips

> Can be used with Texture constructors that take a mip count to indicate that all mips should be generated. The value of this field is -1.

## Definition

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

```csharp
public static readonly int GenerateAllMips
```
