unreal.TexturePowerOfTwoSetting

class unreal.TexturePowerOfTwoSetting

Bases: EnumBase

Options for texture padding mode.

C++ Source:

  • Module: Engine

  • File: TextureDefines.h

NONE: TexturePowerOfTwoSetting

Do not modify the texture dimensions.

Type:

0

PAD_TO_POWER_OF_TWO: TexturePowerOfTwoSetting

Pad the texture to the nearest power of two size.

Type:

1

PAD_TO_SQUARE_POWER_OF_TWO: TexturePowerOfTwoSetting

Pad the texture to the nearest square power of two size.

Type:

2