|
CARLA
|
#include <SceneCaptureComponent2D_CARLA.h>
Inheritance diagram for USceneCaptureComponent2D_CARLA:Public Member Functions | |
| virtual const AActor * | GetViewOwner () const override |
| void | ReleaseViewStates () |
| Free the persistent per-view render state (Lumen scene, TSR/TAA history, shadow caches...) right away. | |
| USceneCaptureComponent2D_CARLA (const FObjectInitializer &=FObjectInitializer::Get()) | |
Public Attributes | |
| TObjectPtr< AActor > | ViewActor |
Definition at line 19 of file SceneCaptureComponent2D_CARLA.h.
| USceneCaptureComponent2D_CARLA::USceneCaptureComponent2D_CARLA | ( | const FObjectInitializer & | ObjectInitializer = FObjectInitializer::Get() | ) |
Definition at line 11 of file SceneCaptureComponent2D_CARLA.cpp.
|
overridevirtual |
Definition at line 16 of file SceneCaptureComponent2D_CARLA.cpp.
References ViewActor.
|
inline |
Free the persistent per-view render state (Lumen scene, TSR/TAA history, shadow caches...) right away.
USceneCaptureComponent only releases ViewStates when the UObject is garbage collected, which in -game can be a minute after the sensor is destroyed; with bAlwaysPersistRenderingState that state is hundreds of MB per view. Game thread only; call after the render thread is done with the view (FlushRenderingCommands).
Definition at line 38 of file SceneCaptureComponent2D_CARLA.h.
| TObjectPtr<AActor> USceneCaptureComponent2D_CARLA::ViewActor |
Definition at line 27 of file SceneCaptureComponent2D_CARLA.h.
Referenced by GetViewOwner().