UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CompressionFlags.h File Reference

Go to the source code of this file.

Macros

#define DEFAULT_ZLIB_BIT_WINDOW   15
 

Enumerations

enum  ECompressionFlags {
  COMPRESS_None = 0x00 , COMPRESS_ZLIB_DEPRECATED = 0x01 , COMPRESS_GZIP_DEPRECATED = 0x02 , COMPRESS_Custom_DEPRECATED = 0x04 ,
  COMPRESS_DeprecatedFormatFlagsMask = 0xF , COMPRESS_NoFlags = 0x00 , COMPRESS_BiasMemory = 0x10 , COMPRESS_BiasSize = COMPRESS_BiasMemory ,
  COMPRESS_BiasSpeed = 0x20 , COMPRESS_SourceIsPadded = 0x80 , COMPRESS_OptionsFlagsMask = 0xF0 , COMPRESS_ForPackaging = 0x100 ,
  COMPRESS_ForPurposeMask = 0xF00
}
 

Macro Definition Documentation

◆ DEFAULT_ZLIB_BIT_WINDOW

#define DEFAULT_ZLIB_BIT_WINDOW   15

Default compressor bit window for Zlib

Enumeration Type Documentation

◆ ECompressionFlags

Flags controlling [de]compression Make sure to update VerifyCompressionFlagsValid after changing these values.

Enumerator
COMPRESS_None 

No flags

COMPRESS_ZLIB_DEPRECATED 

Compress with ZLIB - DEPRECATED, USE FNAME

COMPRESS_GZIP_DEPRECATED 

Compress with GZIP - DEPRECATED, USE FNAME

COMPRESS_Custom_DEPRECATED 

Compress with user defined callbacks - DEPRECATED, USE FNAME

COMPRESS_DeprecatedFormatFlagsMask 

Joint of the previous ones to determine if old flags are being used

COMPRESS_NoFlags 

No flags specified /

COMPRESS_BiasMemory 

Prefer compression that compresses smaller (ONLY VALID FOR COMPRESSION)

COMPRESS_BiasSize 
COMPRESS_BiasSpeed 

Prefer compression that compresses faster (ONLY VALID FOR COMPRESSION)

COMPRESS_SourceIsPadded 

Is the source buffer padded out (ONLY VALID FOR UNCOMPRESS)

COMPRESS_OptionsFlagsMask 

Set of flags that are options are still allowed

COMPRESS_ForPackaging 

Indicate this compress call is for Packaging (pak/iostore)

COMPRESS_ForPurposeMask