# CompressionLevel

> Enum to indicate if compression should emphasize speed or size.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Build.Content](/engine/6000.0/script-reference/unityeditor/build/content.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Removed.** UnityEditor.Build.Content.CompressionLevel has been deprecated. Use UnityEngine.CompressionLevel instead
>
> **Upgrade to** [CompressionLevel](/engine/6000.0/script-reference/unityengine/compressionlevel.md)

```csharp
public enum CompressionLevel
```

## Remarks

Note: this enum and its values exist to provide low-level support for the **Scriptable Build Pipeline** package. This is intended for internal use only; use the [Scriptable Build Pipeline package](https://docs.unity3d.com/Packages/com.unity.scriptablebuildpipeline@latest/index.html) to implement a fully featured build pipeline. You can install this via the [Unity Package Manager](https://docs.unity3d.com/Packages/com.unity.package-manager-ui@latest/index.html).

## Fields

| Value                                                                                            | Description                                         |
| ------------------------------------------------------------------------------------------------ | --------------------------------------------------- |
| [Fast](/engine/6000.0/script-reference/unityeditor/build/content/compressionlevel/fast.md)       | Content should be compressed as fast.               |
| [Fastest](/engine/6000.0/script-reference/unityeditor/build/content/compressionlevel/fastest.md) | Content should be compressed as fast as possible.   |
| [High](/engine/6000.0/script-reference/unityeditor/build/content/compressionlevel/high.md)       | Content should be compressed small.                 |
| [Maximum](/engine/6000.0/script-reference/unityeditor/build/content/compressionlevel/maximum.md) | Content should be compressed as small as possible.  |
| [None](/engine/6000.0/script-reference/unityeditor/build/content/compressionlevel/none.md)       | None. Defaults to Normal.                           |
| [Normal](/engine/6000.0/script-reference/unityeditor/build/content/compressionlevel/normal.md)   | Content should be ballanced between size and speed. |
