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

RESIZE_TO_SPECIFIC_RESOLUTION: TexturePowerOfTwoSetting

Resize the texture to specific user defined resolution.

Type:

5

STRETCH_TO_POWER_OF_TWO: TexturePowerOfTwoSetting

Stretch the texture to the nearest power of two size.

Type:

3

STRETCH_TO_SQUARE_POWER_OF_TWO: TexturePowerOfTwoSetting

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

Type:

4