Navigation
API > API/Runtime > API/Runtime/SlateCore
Flags for drawing a batch
| Name | ESlateBatchDrawFlag |
| Type | enum |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include Path | #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,
HDR = 1 << 8,
}
Values
| Name | Remarks |
|---|---|
| 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 |
| HDR | Potentially apply to HDR batch when composition is active |