Navigation
API > API/Runtime > API/Runtime/SlateCore
| Name | FSlateVectorGraphicsCache |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateVectorGraphicsCache.h |
| Include Path | #include "Rendering/SlateVectorGraphicsCache.h" |
Syntax
class FSlateVectorGraphicsCache : public FSlateFlushableAtlasCache
Inheritance Hierarchy
- FSlateFlushableAtlasCache → FSlateVectorGraphicsCache
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateVectorGraphicsCache
(
TSharedPtr< ISlateTextureAtlasFactory > InAtlasFactory |
Rendering/SlateVectorGraphicsCache.h |
Structs
| Name | Remarks |
|---|---|
| FRasterRequest | |
| FVectorCacheKey |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AtlasDebugData | TMap< const FAtlasedTextureSlot *, FName > | Rendering/SlateVectorGraphicsCache.h | ||
| Atlases | TArray< TUniquePtr< FSlateTextureAtlas > > | Rendering/SlateVectorGraphicsCache.h | ||
| AtlasFactory | TSharedPtr< ISlateTextureAtlasFactory > | Rendering/SlateVectorGraphicsCache.h | ||
| bFlushRequested | bool | Rendering/SlateVectorGraphicsCache.h | ||
| NonAtlasedTextures | TArray< TUniquePtr< FSlateShaderResource > > | Rendering/SlateVectorGraphicsCache.h | ||
| PendingRequests | TArray< FRasterRequest > | Rendering/SlateVectorGraphicsCache.h | ||
| ResourceMap | TMap< FVectorCacheKey, TUniquePtr< FSlateShaderResourceProxy > > | Rendering/SlateVectorGraphicsCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConditionalFlushCache() |
Rendering/SlateVectorGraphicsCache.h | ||
void DeleteResources() |
Rendering/SlateVectorGraphicsCache.h | ||
const FSlateTextureAtlas * GetAtlas
(
const int32 InIndex |
Rendering/SlateVectorGraphicsCache.h | ||
FName GetAtlasDebugData
(
const FAtlasedTextureSlot* InSlot |
Rendering/SlateVectorGraphicsCache.h | ||
FSlateShaderResource * GetAtlasPageResource
(
const int32 InIndex |
Rendering/SlateVectorGraphicsCache.h | ||
int32 GetNumAtlasPages() |
Rendering/SlateVectorGraphicsCache.h | ||
FSlateShaderResourceProxy * GetShaderResource
(
const FSlateBrush& Brush, |
Rendering/SlateVectorGraphicsCache.h | ||
bool IsAtlasPageResourceAlphaOnly
(
const int32 InIndex |
Rendering/SlateVectorGraphicsCache.h | ||
void ReleaseResources
(
bool bWaitForRelease |
Rendering/SlateVectorGraphicsCache.h | ||
void UpdateCache() |
Rendering/SlateVectorGraphicsCache.h |
Overridden from FSlateFlushableAtlasCache
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RequestFlushCache
(
const FString& Reason |
Called when this cache must be flushed | Rendering/SlateVectorGraphicsCache.h |