ESlateTextureAtlasPaddingStyle

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

Choose your operating system:

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.