Navigation
API > API/Runtime > API/Runtime/Engine
Options for texture padding mode.
| Name | ETexturePowerOfTwoSetting::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TextureDefines.h |
| Include Path | #include "Engine/TextureDefines.h" |
Syntax
namespace ETexturePowerOfTwoSetting
{
enum Type
{
None,
PadToPowerOfTwo,
PadToSquarePowerOfTwo,
StretchToPowerOfTwo,
StretchToSquarePowerOfTwo,
ResizeToSpecificResolution,
}
}
Values
| Name | Remarks |
|---|---|
| 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. |