CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
USceneCaptureComponent2D_CARLA Class Reference

#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
 

Detailed Description

Definition at line 19 of file SceneCaptureComponent2D_CARLA.h.

Constructor & Destructor Documentation

◆ USceneCaptureComponent2D_CARLA()

USceneCaptureComponent2D_CARLA::USceneCaptureComponent2D_CARLA ( const FObjectInitializer &  ObjectInitializer = FObjectInitializer::Get())

Definition at line 11 of file SceneCaptureComponent2D_CARLA.cpp.

Member Function Documentation

◆ GetViewOwner()

const AActor * USceneCaptureComponent2D_CARLA::GetViewOwner ( ) const
overridevirtual

Definition at line 16 of file SceneCaptureComponent2D_CARLA.cpp.

References ViewActor.

◆ ReleaseViewStates()

void USceneCaptureComponent2D_CARLA::ReleaseViewStates ( )
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.

Member Data Documentation

◆ ViewActor

TObjectPtr<AActor> USceneCaptureComponent2D_CARLA::ViewActor

Definition at line 27 of file SceneCaptureComponent2D_CARLA.h.

Referenced by GetViewOwner().


The documentation for this class was generated from the following files: