Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
Include |
#include "Rendering/RenderingCommon.h" |
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,
}
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 |
Flags for drawing a batch