# Texture2D.EXRFlags

> Flags used to control the encoding to an EXR file.

## Definition

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

```csharp
[Flags]
public enum Texture2D.EXRFlags
```

## Remarks

Additional Resources: [ImageConversion.EncodeToEXR](/engine/6000.0/script-reference/unityengine/imageconversion/encodetoexr.md).

## Fields

| Value                                                                                            | Description                                                                                               |
| ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------- |
| [CompressPIZ](/engine/6000.0/script-reference/unityengine/texture2d/exrflags/compresspiz.md)     | This texture will use Wavelet compression. This is best used for grainy images.                           |
| [CompressRLE](/engine/6000.0/script-reference/unityengine/texture2d/exrflags/compressrle.md)     | The texture will use RLE (Run Length Encoding) EXR compression format (similar to Targa RLE compression). |
| [CompressZIP](/engine/6000.0/script-reference/unityengine/texture2d/exrflags/compresszip.md)     | The texture will use the EXR ZIP compression format.                                                      |
| [None](/engine/6000.0/script-reference/unityengine/texture2d/exrflags/none.md)                   | No flag. This will result in an uncompressed 16-bit float EXR file.                                       |
| [OutputAsFloat](/engine/6000.0/script-reference/unityengine/texture2d/exrflags/outputasfloat.md) | The texture will be exported as a 32-bit float EXR file (default is 16-bit).                              |
