Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering > API/Runtime/SlateCore/Rendering/FSlateDrawElement
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include | #include "Rendering/DrawElementTypes.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElementTypes.cpp |
static void MakePostProcessBlur
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
const FVector4f & Params,
int32 DownsampleAmount,
const FVector4f CornerRadius
)
Remarks
Creates an element that performs a blur pass
Parameters
| Name | Description |
|---|---|
| ElementList | The list in which to add elements |
| InLayer | The layer to draw the element on |
| PaintGeometry | DrawSpace position and dimensions; see FPaintGeometry |
| Params | Shader params for blur, should be tuple of KernelSize, Strength, Width, & Height |
| DownSampleAmount | Amount we can downsample for the blur based on kernel size / strength |
| CornerRadius | Amount pixels will be weighted in any direction |