51 return BatchKey ==
Other.BatchKey && ShaderResource ==
Other.ShaderResource;
75 const int32 InstanceCount;
76 const uint32 InstanceOffset;
78 const int8 SceneIndex;
123 return DrawFlags ==
Other.DrawFlags
124 && ShaderType ==
Other.ShaderType
125 && DrawPrimitiveType ==
Other.DrawPrimitiveType
126 && DrawEffects ==
Other.DrawEffects
127 && ShaderParams ==
Other.ShaderParams
128 && ClipStateHandle ==
Other.ClipStateHandle
130 && InstanceCount ==
Other.InstanceCount
131 && InstanceOffset ==
Other.InstanceOffset
133 && SceneIndex ==
Other.SceneIndex;
224 int32 MaxNumFinalVertices = 0;
225 int32 MaxNumFinalIndices = 0;
227 int32 FirstRenderBatchIndex;
236 bool bIsStencilBufferRequired;
238 bool bRequiresVirtualTextureFeedback;
304 template<
typename ElementType,
typename ElementAdder,
typename ElementBatchParamCreator,
typename ElementBatchReserver>
313 template<ESlateVertexRounding Rounding>
319 template<
typename ElementType>
325 template<ESlateVertexRounding Rounding>
331 template<ESlateVertexRounding Rounding>
337 template<ESlateVertexRounding Rounding>
353 template<ESlateVertexRounding Rounding>
359 template<ESlateVertexRounding Rounding>
379 return CreateRenderBatch(BatchData, Layer, ShaderParams,
InResource, PrimitiveType, ShaderType, DrawEffects, DrawFlags, SceneIndex, ClippingState);
392 return CreateRenderBatch(BatchData, Layer, ShaderParams,
InResource, PrimitiveType, ShaderType, DrawEffects, DrawFlags, DrawElement);
420 struct FShapedTextBuildContext
433 float LocalClipBoundingBoxLeft = 0;
434 float LocalClipBoundingBoxRight = 0;
435 int32 MaxGlyphCountToRender = -1;
440 bool bEnableCulling : 1;
441 bool bForceEllipsis : 1;
445 template<ESlateVertexRounding Rounding>
446 int32 BuildShapedTextSequence(
const FShapedTextBuildContext&
Context);
449 struct FMiddleEllipsisOverflowData
451 FMiddleEllipsisOverflowData()
460 int32 SkipIndexStart;
507 int32 NumPostProcessPasses;
510 const float PixelCenterOffset;
513 const bool bSRGBVertexColor;
519 bool bCompositeHDRViewports;
@ INDEX_NONE
Definition CoreMiscDefines.h:150
#define DECLARE_CYCLE_STAT_EXTERN(CounterName, StatId, GroupId, API)
Definition Stats.h:679
#define DECLARE_DWORD_COUNTER_STAT_EXTERN(CounterName, StatId, GroupId, API)
Definition Stats.h:682
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ETextOverflowDirection
Definition DrawElementTextOverflowArgs.h:9
int32 GSlateFeathering
Definition ElementBatcher.cpp:36
ESlateDrawPrimitive
Definition RenderingCommon.h:49
ESlateBatchDrawFlag
Definition RenderingCommon.h:118
ESlateDrawEffect
Definition RenderingCommon.h:89
ESlateShader
Definition RenderingCommon.h:60
ESlatePostRT
Definition SlateRendererTypes.h:15
ETextOverflowPolicy
Definition SlateTypes.h:79
Definition FontCache.h:334
Definition ElementBatcher.h:154
SLATECORE_API ~FSlateBatchData()
SLATECORE_API bool IsVirtualTextureFeedbackRequired() const
Definition ElementBatcher.cpp:113
SLATECORE_API void MergeRenderBatches()
Definition ElementBatcher.cpp:171
int32 GetMaxNumFinalIndices() const
Definition ElementBatcher.h:177
const FSlateVertexArray & GetFinalVertexData() const
Definition ElementBatcher.h:179
SLATECORE_API FSlateBatchData()
Definition ElementBatcher.cpp:78
SLATECORE_API bool IsStencilClippingRequired() const
Definition ElementBatcher.cpp:108
int32 GetFirstRenderBatchIndex() const
Definition ElementBatcher.h:170
SLATECORE_API void ResetData()
Definition ElementBatcher.cpp:88
int32 GetMaxNumFinalVertices() const
Definition ElementBatcher.h:176
const FSlateIndexArray & GetFinalIndexData() const
Definition ElementBatcher.h:180
friend FSlateElementBatcher
Definition ElementBatcher.h:206
int32 GetNumFinalBatches() const
Definition ElementBatcher.h:174
const TArray< FSlateRenderBatch > & GetRenderBatches() const
Definition ElementBatcher.h:162
SLATECORE_API void FillVertexAndIndexBuffer(uint8 *VertexBuffer, uint8 *IndexBuffer, bool bAbsoluteIndices)
FSlateRenderBatch & AddRenderBatch(int32 InLayer, const FShaderParams &InShaderParams, const FSlateShaderResource *InResource, ESlateDrawPrimitive InPrimitiveType, ESlateShader InShaderType, ESlateDrawEffect InDrawEffects, ESlateBatchDrawFlag InDrawFlags, int8 SceneIndex)
Definition ElementBatcher.cpp:118
int32 GetNumLayers() const
Definition ElementBatcher.h:172
Definition Clipping.h:207
Definition DrawElementTypes.h:46
Definition ElementBatcher.h:44
bool operator==(const FSlateElementBatch &Other) const
Definition ElementBatcher.h:49
int32 IndexArrayIndex
Definition ElementBatcher.h:149
ESlateShader GetShaderType() const
Definition ElementBatcher.h:58
const ISlateUpdatableInstanceBuffer * GetInstanceData() const
Definition ElementBatcher.h:63
int8 GetSceneIndex() const
Definition ElementBatcher.h:64
ESlateBatchDrawFlag GetDrawFlags() const
Definition ElementBatcher.h:56
int32 VertexArrayIndex
Definition ElementBatcher.h:147
ESlateDrawEffect GetDrawEffects() const
Definition ElementBatcher.h:59
uint32 NumElementsInBatch
Definition ElementBatcher.h:145
const FShaderParams & GetShaderParams() const
Definition ElementBatcher.h:55
const FSlateShaderResource * GetShaderResource() const
Definition ElementBatcher.h:54
const TWeakPtr< ICustomSlateElement, ESPMode::ThreadSafe > GetCustomDrawer() const
Definition ElementBatcher.h:60
ESlateDrawPrimitive GetPrimitiveType() const
Definition ElementBatcher.h:57
int32 GetInstanceCount() const
Definition ElementBatcher.h:61
uint32 GetInstanceOffset() const
Definition ElementBatcher.h:62
Definition ElementBatcher.h:246
bool CompositeHDRViewports() const
Definition ElementBatcher.h:267
bool RequiresVsync() const
Definition ElementBatcher.h:262
ESlatePostRT GetResourceUpdatingPostBuffers() const
Definition ElementBatcher.h:271
FColor PackVertexColor(const FLinearColor &InLinearColor) const
Definition ElementBatcher.h:282
void SetCompositeHDRViewports(bool bInCompositeHDRViewports)
Definition ElementBatcher.h:275
ESlatePostRT GetUsedSlatePostBuffers() const
Definition ElementBatcher.h:269
SLATECORE_API void AddElements(FSlateWindowElementList &ElementList)
Definition ElementBatcher.cpp:303
SLATECORE_API void ResetBatches()
Definition ElementBatcher.cpp:3961
SLATECORE_API ~FSlateElementBatcher()
Definition ElementBatcher.cpp:299
void SetResourceUpdatingPostBuffers(ESlatePostRT InResourceUpdatingPostBuffers)
Definition ElementBatcher.h:273
bool HasFXPassses() const
Definition ElementBatcher.h:265
Definition FontCache.h:756
Definition SlateRenderBatch.h:45
Definition RenderingPolicy.h:19
Definition SlateShaderResource.h:44
Definition DrawElements.h:220
Definition RenderingCommon.h:974
Definition SharedPointer.h:153
Definition SharedPointer.h:1295
bool operator==(const FCachedAssetKey &A, const FCachedAssetKey &B)
Definition AssetDataMap.h:501
void DrawElement(int32 Dimension, TArray< FVector > &Points, EVisuProperty Property)
Definition Display.cpp:81
Definition Clipping.h:296
Definition SlateFontInfo.h:37
Definition RenderingCommon.h:187
Definition DrawElementTypes.h:423
Definition DrawElements.h:140
Definition DrawElements.h:48
Definition DrawElementTypes.h:688
Definition DrawElementTypes.h:727
Definition DrawElementTypes.h:550
Definition DrawElementTypes.h:752
Definition DrawElementTypes.h:512
Definition DrawElementTypes.h:564
Definition DrawElementTypes.h:476
Definition DrawElementTypes.h:671
TTuple< FSlateDrawElementArray< FSlateBoxElement >, FSlateDrawElementArray< FSlateBoxElement >, FSlateDrawElementArray< FSlateTextElement >, FSlateDrawElementArray< FSlateShapedTextElement >, FSlateDrawElementArray< FSlateSplineElement >, FSlateDrawElementArray< FSlateLineElement >, FSlateDrawElementArray< FSlateGradientElement >, FSlateDrawElementArray< FSlateViewportElement >, FSlateDrawElementArray< FSlateBoxElement >, FSlateDrawElementArray< FSlateCustomDrawerElement >, FSlateDrawElementArray< FSlateCustomVertsElement >, FSlateDrawElementArray< FSlatePostProcessElement >, FSlateDrawElementArray< FSlateRoundedBoxElement >, FSlateDrawElementArray< FSlateDrawElement > >