Struct CompressionPolicy
sealed struct CompressionPolicy
Specifies various levels of internal compression technologies system can enable on buffers and
textures for optimal performance and power consumptions. These compression level hints are different
than the compression technologies required to support application level compressed image/texture formats.
Compression ratio for ‘MODERATE’ is less than ‘AGGRESSIVE’ and the actual compression
ratio and technologies would be different even for the same policy on different platforms based on the
underlying hardware support. Please see [ContextConfigAttributes].
Fields
Constants
SYSTEM_DEFAULT
No user preferred compression policy, let the system choose the optimal one based on use case.CompressionPolicy={"SYSTEM_DEFAULT"}
NONE
In this mode, system is allowed to perform absolutely no internal compressionCompressionPolicy={"NONE"}
MODERATE
In this mode, system is allowed to perform moderate level of internal compressionCompressionPolicy={"MODERATE"}
AGGRESSIVE
In this mode, system is allowed to perform aggressive level of internal compressionCompressionPolicy={"AGGRESSIVE"}

