Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Texture2D.EXRFlags

Flags used to control the encoding to an EXR file.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
[Flags]public enum Texture2D.EXRFlags

Remarks

Additional Resources: ImageConversion.EncodeToEXR.

Fields

Value

Description

CompressPIZThis texture will use Wavelet compression. This is best used for grainy images.
CompressRLEThe texture will use RLE (Run Length Encoding) EXR compression format (similar to Targa RLE compression).
CompressZIPThe texture will use the EXR ZIP compression format.
NoneNo flag. This will result in an uncompressed 16-bit float EXR file.
OutputAsFloatThe texture will be exported as a 32-bit float EXR file (default is 16-bit).