UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateFXSubsystem.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
Subsystems/EngineSubsystem.h
"
6
7
#include "
Engine/World.h
"
8
9
#include "SlateFXSubsystem.generated.h"
10
11
#define UE_API SLATERHIRENDERER_API
12
13
class
FSlateRHIPostBufferProcessorProxy
;
14
class
USlateRHIPostBufferProcessor
;
15
16
UCLASS
(MinimalAPI, DisplayName =
"Slate FX Subsystem"
)
17
class
USlateFXSubsystem
:
public
UEngineSubsystem
18
{
19
GENERATED_BODY
()
20
21
public
:
22
23
static
UE_API
USlateRHIPostBufferProcessor
* GetPostProcessor(
ESlatePostRT
InSlatePostBufferBit
);
24
static
UE_API
TSharedPtr<FSlateRHIPostBufferProcessorProxy>
GetPostProcessorProxy(
ESlatePostRT
InSlatePostBufferBit
);
25
26
//~ Begin UObject Interface.
27
UE_API
virtual
void
BeginDestroy
()
override
;
28
//~ End UObject Interface.
29
30
//~Begin UGameInstanceSubsystem Interface
31
UE_API
virtual
bool
ShouldCreateSubsystem(
UObject
*
Outer
)
const override
;
32
UE_API
virtual
void
Initialize
(
FSubsystemCollectionBase
&
Collection
)
override
;
33
UE_API
virtual
void
Deinitialize()
override
;
34
//~End UGameInstanceSubsystem Interface
35
37
UE_API
TSharedPtr<FSlateRHIPostBufferProcessorProxy>
GetSlatePostProcessorProxy(
ESlatePostRT
InPostBufferBit
);
38
39
public
:
40
42
UFUNCTION
(BlueprintCallable, Category =
"SlateFX"
)
43
UE_API
USlateRHIPostBufferProcessor
* GetSlatePostProcessor(
ESlatePostRT
InPostBufferBit
);
44
45
private
:
46
48
UPROPERTY
(
Transient
)
49
TMap<ESlatePostRT, TObjectPtr<USlateRHIPostBufferProcessor>
> SlatePostBufferProcessors;
50
51
private
:
52
54
void
OnPreWorldInitialization(
UWorld
*
World
,
const
UWorld::InitializationValues
IVS
);
55
57
void
OnPostWorldCleanup(
UWorld
*
World
,
bool
SessionEnded
,
bool
bCleanupResources
);
58
59
private
:
60
62
TMap<ESlatePostRT, TSharedPtr<FSlateRHIPostBufferProcessorProxy>
> SlatePostBufferProcessorProxies;
63
};
64
65
#undef UE_API
EARSessionType::World
@ World
ESphericalLimitType::Outer
@ Outer
EChaosVDAccelerationStructureType::Collection
@ Collection
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EngineSubsystem.h
EPackageAutoSaveType::Transient
@ Transient
UPROPERTY
#define UPROPERTY(...)
UObject definition macros.
Definition
ObjectMacros.h:744
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UFUNCTION
#define UFUNCTION(...)
Definition
ObjectMacros.h:745
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
ESlateAttributeBindAction::Initialize
@ Initialize
UE_API
#define UE_API
Definition
SlateFXSubsystem.h:11
ESlatePostRT
ESlatePostRT
Definition
SlateRendererTypes.h:15
World.h
FSlateRHIPostBufferProcessorProxy
Definition
SlateRHIPostBufferProcessor.h:24
FSubsystemCollectionBase
Definition
SubsystemCollection.h:15
TMap
Definition
UnrealString.h.inl:34
TSharedPtr
Definition
SharedPointer.h:692
UEngineSubsystem
Definition
EngineSubsystem.h:22
UObject
Definition
Object.h:95
UObject::BeginDestroy
virtual COREUOBJECT_API void BeginDestroy()
Definition
Obj.cpp:1071
USlateFXSubsystem
Definition
SlateFXSubsystem.h:18
USlateRHIPostBufferProcessor
Definition
SlateRHIPostBufferProcessor.h:75
UWorld
Definition
World.h:918
FWorldInitializationValues
Definition
WorldInitializationValues.h:9
Engine
Source
Runtime
SlateRHIRenderer
Public
FX
SlateFXSubsystem.h
Generated by
1.9.8