ESlateBatchDrawFlag

Flags for drawing a batch

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h

Include

#include "Rendering/RenderingCommon.h"

Syntax

enum ESlateBatchDrawFlag
{
    None                  = 0,
    NoBlending            = 1 << 0,
    PreMultipliedAlpha    = 1 << 1,
    NoGamma               = 1 << 2,
    InvertAlpha           = 1 << 3,
    Wireframe             = 1 << 4,
    TileU                 = 1 << 5,
    TileV                 = 1 << 6,
    ReverseGamma          = 1 << 7,
}

Values

Name

Description

None

No draw flags

NoBlending

Draw the element with no blending

PreMultipliedAlpha

Blend using pre-multiplied alpha. Ignored if NoBlending is set.

NoGamma

No gamma correction should be done

InvertAlpha

Change the alpha value to 1 - Alpha

Wireframe

Draw the element as wireframe

TileU

The element should be tiled horizontally

TileV

The element should be tiled vertically

ReverseGamma

Reverse gamma correction

Remarks

Flags for drawing a batch

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