ETexturePowerOfTwoSetting::Type

Options for texture padding mode.

Windows
MacOS
Linux

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,
    }
}

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.

Remarks

Options for texture padding mode.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss