Navigation
API > API/Runtime > API/Runtime/SlateCore
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCompareFNewTextureInfoByTextureSize | |||
| FMappedTextureBuffer | |||
| FNewTextureInfo | Represents a new texture that has been loaded but no resource created for it | ||
| FRenderThreadUpdateContext | Update context for deferred drawing of widgets to render targets | ||
| FShaderParams | Shader parameters for slate | ||
| FShortRect | Stores an aligned rect as shorts. | ||
| FSlateBatchData | |||
| FSlateBoxElement | |||
| FSlateCachedBufferElement | |||
| FSlateCachedElementData | Top level class responsible for cached elements within a particular invalidation root. | ||
| FSlateCachedElementList | Cached list of elements corresponding to a particular widget. | ||
| FSlateCachedElementsHandle | Handle used to uniquely identify a cached element list with some widget Used when a widget gets invalidated / additional elements added So we can modify that widget's existing cached element list | ||
| FSlateCachedFastPathRenderingData | Note: FSlateDrawElement has been moved to DrawElementTypes.h Data holder for info used in cached renderbatches. | ||
| FSlateCustomDrawerElement | |||
| FSlateCustomVertsElement | |||
| FSlateDrawBuffer | Implements a draw buffer for Slate. | ||
| FSlateDrawElement | FSlateDrawElement is the building block for Slate's rendering interface. | ||
| FSlateElementBatch | Represents an a set of slate draw elements that are batched together These later get converted into FSlateRenderBatches for final rendering | ||
| FSlateElementBatcher | A class which batches Slate elements for rendering | ||
| FSlateFontServices | Provides access to the game and render thread font caches that Slate should use | ||
| FSlateGradientElement | |||
| FSlateGradientStop | |||
| FSlateLayerElement | |||
| FSlateLayoutTransform | Copyright Epic Games, Inc. All Rights Reserved. | ||
| FSlateLineElement | |||
| FSlateObjectReferenceCollector | Used to gather all the referenced UObjects used by Slate when rendering a frame. | ||
| FSlatePostProcessElement | |||
| FSlateRenderBatch | |||
| FSlateRenderBatchParams | |||
| FSlateRenderer | Abstract base class for Slate renderers. | ||
| FSlateRenderingPolicy | Abstract base class for Slate rendering policies. | ||
| FSlateResourceHandle | A SlateResourceHandle is used as fast path for looking up a rendering resource for a given brush when adding Slate draw elements This can be cached and stored safely in code. | ||
| FSlateRoundedBoxElement | |||
| FSlateShaderResourceManager | Base texture manager class used by a Slate renderer to manage texture resources | ||
| FSlateShapedTextElement | |||
| FSlateSplineElement | |||
| FSlateSVGRasterizer | |||
| FSlateTextElement | |||
| FSlateTintableElement | |||
| FSlateVectorGraphicsCache | |||
| FSlateVertex | A struct which defines a basic vertex seen by the Slate vertex buffers and shaders | ||
| FSlateViewportElement | |||
| FSlateWindowElementList | Represents a top level window and its draw elements. | ||
| FTextOverflowArgs | |||
| ICustomSlateElement | An interface for a custom slate drawing element Implementers of this interface are expected to handle destroying this interface properly when a separate rendering thread may have access to it. | ||
| ISlateUpdatableInstanceBuffer | Represents a per instance data buffer for a custom Slate mesh element. | ||
| ISlateUpdatableInstanceBufferRenderProxy | A proxy object used to access a slate per-instance data buffer on the render thread. | ||
| ISlateViewport | Viewport implementation interface that is used by SViewport when it needs to draw and processes input. |
Typedefs
| Name | Description |
|---|---|
| FSlateDrawElementArray | |
| FSlateDrawElementMap | Tuple / List of element arrays for each element type |
| FSlateIndexArray | |
| FSlateInstanceBufferData | |
| FSlateRenderTransform | Copyright Epic Games, Inc. All Rights Reserved. |
| FSlateVertexArray | Note: FRenderingBufferStatTracker & FSlateDrawElementArray have been moved to DrawElementCoreTypes.h |
| FTexture2DRHIRef | |
| SlateIndex | |
| TSlateDrawElement | Helper template to get draw element type in 'FSlateDrawElementMap' for a given element type enum, used to avoid 'auto' return values |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EColorVisionDeficiency | Enumerates color vision deficiency types. | ||
| EElementType | Slate higher level abstract element types | ||
| ESlateBatchDrawFlag | Flags for drawing a batch | ||
| ESlateDrawEffect | Effects that can be applied to elements when rendered. | ||
| ESlateDrawPrimitive | Draw primitive types | ||
| ESlateLineJoinType | |||
| ESlatePostRT | Bitfield used to mark if a slate post RT is used or not | ||
| ESlateShader | Shader types. | ||
| ESlateVertexRounding | |||
| ESlateViewportDynamicRange | |||
| ETextOverflowDirection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FORCENOINLINE | |||
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| FSlateLayoutTransform | Concatenate
(
const UE::Math::TVector2< T >& Translation, |
Specialization for concatenating a 2D Translation and uniform scale. | |
| FSlateLayoutTransform | Concatenate
(
const UE::Math::TVector2< T >& Translation, |
||
| FSlateLayoutTransform | Concatenate
(
double Scale, |
||
| FSlateLayoutTransform | Concatenate
(
float Scale, |
Specialization for concatenating a uniform scale and 2D Translation. | |
| bool | If it's the game thread, and there's no loading thread, then it owns slate rendering. | ||
| ESlateBrushDrawType::Type | |||
| const FMargin & | |||
| ESlateBrushMirrorType::Type | |||
| ESlateBrushTileType::Type | |||
| const FBox2f & | |||
| const FSlateFontInfo & | GetFontInfo () |
||
| FLinearColor | |||
| FLinearColor | |||
| float | |||
| const TArray< FLinearColor > & | |||
| const TArray< FVector2f > & | GetPoints () |
||
| FVector4f | GetRadius () |
||
| const FSlateShaderResourceProxy * | |||
| const FShapedGlyphSequencePtr & | |||
| const TCHAR * | GetText () |
||
| int32 | |||
| float | GetThickness () |
||
| bool | |||
| bool | Is this thread valid for sending out rendering commands? If the slate loading thread exists, then yes, it is always safe Otherwise, we have to be on the game thread | ||
| void | SetBrush
(
const FSlateBrush* InBrush, |
||
| void | SetCachedBuffer
(
FSlateRenderDataHandle* InRenderDataHandle, |
Cached Buffers. | |
| void | SetCubicBezier
(
const UE::Slate::FDeprecateVector2DParameter InP0, |
||
| void | SetCustomDrawer
(
const TSharedPtr< ICustomSlateElement, ESPMode::ThreadSafe >& InCustomDrawer |
||
| void | SetCustomVerts
(
const FSlateShaderResourceProxy* InRenderProxy, |
||
| void | SetGradient
(
TArray< FSlateGradientStop > InGradientStops, |
||
| void | SetGradientHermiteSpline
(
const UE::Slate::FDeprecateVector2DParameter InStart, |
||
| void | SetHermiteSpline
(
const UE::Slate::FDeprecateVector2DParameter InStart, |
||
| void | SetLayer
(
FSlateDrawLayerHandle* InLayerHandle |
||
| void | SetLines
(
TArray< FVector2f > InPoints, |
||
| void | |||
| void | SetOutline
(
const FLinearColor& InOutlineColor, |
||
| void | SetOverflowArgs
(
const FTextOverflowArgs& InArgs |
||
| void | |||
| void | SetShapedText
(
FSlateWindowElementList& ElementList, |
||
| void | SetText
(
const FString& InText, |
||
| void | SetText
(
const FString& InText, |
||
| void | SetThickness
(
float InThickness |
Thickness. | |
| void | SetViewport
(
const TSharedPtr< const ISlateViewport >& InViewport, |
||
| auto | |||
| auto | UE::Slate::MakeTupleIndiciesInner
(
std::integer_sequence< IndexType, Indices... > |
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8 | bAllowViewportScaling | ||
| bool | bAntialias | ||
| uint8 | bRequiresVSync | ||
| uint8 | bViewportTextureAlphaOnly | ||
| FVector2f | CachedRenderDataOffset | ||
| FVector4f | CornerRadius | ||
| int32 | DownsampleAmount | ||
| ESlateBrushDrawType::Type | DrawType | ||
| EOrientation | GradientType | ||
| int32 | GSlateFeathering | ||
| FString | ImmutableText | Basic text data. | |
| TArray< SlateIndex > | Indices | ||
| ISlateUpdatableInstanceBufferRenderProxy * | InstanceData | Instancing support. | |
| uint32 | InstanceOffset | ||
| ESlateBrushMirrorType::Type | Mirroring | ||
| uint32 | NumInstances | ||
| FLinearColor | OutlineTint | ||
| float | OutlineWeight | ||
| FTextOverflowArgs | OverflowArgs | ||
| FVector2f | P0 | Bezier Spline Data points. | |
| FVector2f | P1 | ||
| FVector2f | P2 | ||
| FVector2f | P3 | ||
| TArray< FLinearColor > | PointColors | ||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | Deprecated payloads. | ||
| FVector4f | Radius | ||
| const FSlateShaderResourceProxy * | ResourceProxy | ||
| float | Thickness | ||
| ESlateBrushTileType::Type | Tiling | ||
| FBox2f | UVRegion | ||
| TArray< FSlateVertex > | Vertices |