pyktx.ktx_pack_uastc_flag_bits module

class pyktx.ktx_pack_uastc_flag_bits.KtxPackUastcFlagBits(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

Flags specifiying UASTC encoding options.

DEFAULT = 2

Default compression. 47.47dB.

ETC1_DISABLE_FLIP_AND_INDIVIDUAL = 256

Not documented in BasisU code.

ETC1_FASTER_HINTS = 64

Optimize for faster transcoding to ETC1.

ETC1_FASTEST_HINTS = 128

Optimize for fastest transcoding to ETC1.

FASTER = 1

Faster compression. 46.49dB.

FASTEST = 0

Fastest compression. 43.45dB.

FAVOR_BC7_ERROR = 16

Optimize for lowest BC7 error.

FAVOR_UASTC_ERROR = 8

Optimize for lowest UASTC error.

LEVEL_MASK = 15

Mask to extract the level from the other bits.

MAX_LEVEL = 4

Maximum supported quality level.

SLOWER = 3

Slower compression. 48.01dB.

VERY_SLOW = 4

Very slow compression. 48.24dB.