# TextureImporterNPOTScale

> Scaling mode for non power of two textures in TextureImporter.

## Definition

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

```csharp
public enum TextureImporterNPOTScale
```

## Remarks

Additional Resources: [TextureImporter.npotScale](/engine/6000.3/script-reference/unityeditor/textureimporter/npotscale.md).

## Fields

| Value                                                                                          | Description                           |
| ---------------------------------------------------------------------------------------------- | ------------------------------------- |
| [None](/engine/6000.3/script-reference/unityeditor/textureimporternpotscale/none.md)           | Keep non power of two textures as is. |
| [ToLarger](/engine/6000.3/script-reference/unityeditor/textureimporternpotscale/tolarger.md)   | Scale to larger power of two.         |
| [ToNearest](/engine/6000.3/script-reference/unityeditor/textureimporternpotscale/tonearest.md) | Scale to nearest power of two.        |
| [ToSmaller](/engine/6000.3/script-reference/unityeditor/textureimporternpotscale/tosmaller.md) | Scale to smaller power of two.        |
