UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Mass::FProcessingContext Struct Reference

#include <MassProcessingContext.h>

Public Member Functions

 FProcessingContext ()=default
 
 FProcessingContext (const FProcessingContext &)=default
 
 FProcessingContext (FProcessingContext &&)=default
 
 FProcessingContext (FMassEntityManager &InEntityManager, const float InDeltaSeconds=0.f, const bool bInFlushCommandBuffer=true)
 
 FProcessingContext (const TSharedRef< FMassEntityManager > &InEntityManager, const float InDeltaSeconds=0.f, const bool bInFlushCommandBuffer=true)
 
 FProcessingContext (TSharedRef< FMassEntityManager > &&InEntityManager, const float InDeltaSeconds=0.f, const bool bInFlushCommandBuffer=true)
 
 FProcessingContext (const TSharedPtr< FMassEntityManager > &InEntityManager, const float InDeltaSeconds=0.f, const bool bInFlushCommandBuffer=true)
 
MASSENTITY_API ~FProcessingContext ()
 
FMassExecutionContextGetExecutionContext () &
 
FMassExecutionContext && GetExecutionContext () &&
 
bool GetWillFlushCommands () const
 
float GetDeltaSeconds () const
 
void SetCommandBuffer (TSharedPtr< FMassCommandBuffer > &&InCommandBuffer)
 
void SetCommandBuffer (const TSharedPtr< FMassCommandBuffer > &InCommandBuffer)
 
const TSharedRef< FMassEntityManager > & GetEntityManager () const
 

Public Attributes

TSharedRef< FMassEntityManagerEntityManager
 
float DeltaSeconds = 0.f
 
FInstancedStruct AuxData
 
bool bFlushCommandBuffer = true
 
TSharedPtr< FMassCommandBufferCommandBuffer
 

Protected Attributes

uint8 ExecutionContextBuffer [sizeof(FMassExecutionContext)]
 
FMassExecutionContextExecutionContextPtr = nullptr
 

Constructor & Destructor Documentation

◆ FProcessingContext() [1/7]

UE::Mass::FProcessingContext::FProcessingContext ( )
default

◆ FProcessingContext() [2/7]

UE::Mass::FProcessingContext::FProcessingContext ( const FProcessingContext )
default

◆ FProcessingContext() [3/7]

UE::Mass::FProcessingContext::FProcessingContext ( FProcessingContext &&  )
default

◆ FProcessingContext() [4/7]

PRAGMA_DISABLE_DEPRECATION_WARNINGS UE::Mass::FProcessingContext::FProcessingContext ( FMassEntityManager InEntityManager,
const float  InDeltaSeconds = 0.f,
const bool  bInFlushCommandBuffer = true 
)
inlineexplicit

◆ FProcessingContext() [5/7]

UE::Mass::FProcessingContext::FProcessingContext ( const TSharedRef< FMassEntityManager > &  InEntityManager,
const float  InDeltaSeconds = 0.f,
const bool  bInFlushCommandBuffer = true 
)
inlineexplicit

◆ FProcessingContext() [6/7]

UE::Mass::FProcessingContext::FProcessingContext ( TSharedRef< FMassEntityManager > &&  InEntityManager,
const float  InDeltaSeconds = 0.f,
const bool  bInFlushCommandBuffer = true 
)
inlineexplicit

◆ FProcessingContext() [7/7]

UE::Mass::FProcessingContext::FProcessingContext ( const TSharedPtr< FMassEntityManager > &  InEntityManager,
const float  InDeltaSeconds = 0.f,
const bool  bInFlushCommandBuffer = true 
)
inlineexplicit

◆ ~FProcessingContext()

PRAGMA_DISABLE_DEPRECATION_WARNINGS UE::Mass::FProcessingContext::~FProcessingContext ( )

Member Function Documentation

◆ GetDeltaSeconds()

float UE::Mass::FProcessingContext::GetDeltaSeconds ( ) const
inline

◆ GetEntityManager()

const TSharedRef< FMassEntityManager > & UE::Mass::FProcessingContext::GetEntityManager ( ) const
inline

◆ GetExecutionContext() [1/2]

FMassExecutionContext & UE::Mass::FProcessingContext::GetExecutionContext ( ) &
inline

◆ GetExecutionContext() [2/2]

FMassExecutionContext && UE::Mass::FProcessingContext::GetExecutionContext ( ) &&
inline

◆ GetWillFlushCommands()

bool UE::Mass::FProcessingContext::GetWillFlushCommands ( ) const
inline

◆ SetCommandBuffer() [1/2]

void UE::Mass::FProcessingContext::SetCommandBuffer ( const TSharedPtr< FMassCommandBuffer > &  InCommandBuffer)
inline

◆ SetCommandBuffer() [2/2]

void UE::Mass::FProcessingContext::SetCommandBuffer ( TSharedPtr< FMassCommandBuffer > &&  InCommandBuffer)
inline

Member Data Documentation

◆ AuxData

FInstancedStruct UE::Mass::FProcessingContext::AuxData

◆ bFlushCommandBuffer

bool UE::Mass::FProcessingContext::bFlushCommandBuffer = true

If set to "true" the MassExecutor will flush commands at the end of given execution function. If "false" the caller is responsible for manually flushing the commands.

◆ CommandBuffer

TSharedPtr<FMassCommandBuffer> UE::Mass::FProcessingContext::CommandBuffer

◆ DeltaSeconds

float UE::Mass::FProcessingContext::DeltaSeconds = 0.f

◆ EntityManager

TSharedRef<FMassEntityManager> UE::Mass::FProcessingContext::EntityManager

◆ ExecutionContextBuffer

uint8 UE::Mass::FProcessingContext::ExecutionContextBuffer[sizeof(FMassExecutionContext)]
protected

◆ ExecutionContextPtr

FMassExecutionContext* UE::Mass::FProcessingContext::ExecutionContextPtr = nullptr
protected

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