Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/TextureDefines.h |
Include | #include "Engine/TextureDefines.h" |
Syntax
namespace ETexturePowerOfTwoSetting
{
enum Type
{
None,
PadToPowerOfTwo,
PadToSquarePowerOfTwo,
StretchToPowerOfTwo,
StretchToSquarePowerOfTwo,
ResizeToSpecificResolution,
}
}
Values
Name | Description |
---|---|
None | Do not modify the texture dimensions. |
PadToPowerOfTwo | Pad the texture to the nearest power of two size. |
PadToSquarePowerOfTwo | Pad the texture to the nearest square power of two size. |
StretchToPowerOfTwo | Stretch the texture to the nearest power of two size. |
StretchToSquarePowerOfTwo | Stretch the texture to the nearest square power of two size. |
ResizeToSpecificResolution | Resize the texture to specific user defined resolution. |
Remarks
Options for texture padding mode.