ESlateTextureAtlasPaddingStyle

Specifies how to handle texture atlas padding (when specified for the atlas).

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h

Include

#include "Textures/TextureAtlas.h"

Syntax

enum ESlateTextureAtlasPaddingStyle
{
    NoPadding,
    DilateBorder,
    PadWithZero,
}

Values

Name

Description

NoPadding

Don't pad the atlas.

DilateBorder

Dilate the texture by one pixel to pad the atlas.

PadWithZero

One pixel uniform padding border filled with zeros.

Remarks

Specifies how to handle texture atlas padding (when specified for the atlas). We only support one pixel of padding because we don't support mips or aniso filtering on atlas textures right now.

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