CARLA
Loading...
Searching...
No Matches
Public Attributes | List of all members
FPrimaryWorldState Struct Reference

What a Multi-GPU primary remembers between the frames it sends, to send the world state only when it changes. More...

#include <FrameData.h>

Public Attributes

std::unordered_map< uint32_t, FMirroredAppearance > Appearances
 The appearance last sent, by actor id.
 
TSet< int32 > ChangedLights
 The scene lights changed since the last frame sent, by light id.
 
uint64 EnvironmentObjectsSerial = 0u
 ACarlaGameModeBase::GetEnvironmentObjectsSerial() of the set last sent.
 
uint64 WeatherSerial = 0u
 AWeather::GetApplySerial() of the weather last sent.
 

Detailed Description

What a Multi-GPU primary remembers between the frames it sends, to send the world state only when it changes.

Definition at line 105 of file FrameData.h.

Member Data Documentation

◆ Appearances

std::unordered_map<uint32_t, FMirroredAppearance> FPrimaryWorldState::Appearances

The appearance last sent, by actor id.

Definition at line 117 of file FrameData.h.

Referenced by FFrameData::AddActorAppearance(), and FFrameData::GetFrameData().

◆ ChangedLights

TSet<int32> FPrimaryWorldState::ChangedLights

The scene lights changed since the last frame sent, by light id.

Definition at line 114 of file FrameData.h.

Referenced by FFrameData::AddWorldState().

◆ EnvironmentObjectsSerial

uint64 FPrimaryWorldState::EnvironmentObjectsSerial = 0u

ACarlaGameModeBase::GetEnvironmentObjectsSerial() of the set last sent.

Definition at line 111 of file FrameData.h.

Referenced by FFrameData::AddWorldState().

◆ WeatherSerial

uint64 FPrimaryWorldState::WeatherSerial = 0u

AWeather::GetApplySerial() of the weather last sent.

Definition at line 108 of file FrameData.h.

Referenced by FFrameData::AddWorldState().


The documentation for this struct was generated from the following file: