UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateLoadingSynchronizationMechanism Class Reference

#include <MoviePlayerThreading.h>

Public Member Functions

 FSlateLoadingSynchronizationMechanism (TSharedPtr< FMoviePlayerWidgetRenderer, ESPMode::ThreadSafe > InWidgetRenderer, const TSharedPtr< IMovieStreamer, ESPMode::ThreadSafe > &InMovieStreamer)
 
 ~FSlateLoadingSynchronizationMechanism ()
 
void Initialize ()
 
void DestroySlateThread ()
 
bool IsSlateDrawPassEnqueued ()
 
void SetSlateDrawPassEnqueued ()
 
void ResetSlateDrawPassEnqueued ()
 
bool IsSlateMainLoopRunning ()
 
void SetSlateMainLoopRunning ()
 
void ResetSlateMainLoopRunning ()
 
void SlateThreadRunMainLoop ()
 
void SlateThreadInitFailed ()
 

Detailed Description

This class will handle all the nasty bits about running Slate on a separate thread and then trying to sync it up with the game thread and the render thread simultaneously

Constructor & Destructor Documentation

◆ FSlateLoadingSynchronizationMechanism()

FSlateLoadingSynchronizationMechanism::FSlateLoadingSynchronizationMechanism ( TSharedPtr< FMoviePlayerWidgetRenderer, ESPMode::ThreadSafe InWidgetRenderer,
const TSharedPtr< IMovieStreamer, ESPMode::ThreadSafe > &  InMovieStreamer 
)

◆ ~FSlateLoadingSynchronizationMechanism()

FSlateLoadingSynchronizationMechanism::~FSlateLoadingSynchronizationMechanism ( )

Member Function Documentation

◆ DestroySlateThread()

void FSlateLoadingSynchronizationMechanism::DestroySlateThread ( )

Cleans up the slate thread

◆ Initialize()

void FSlateLoadingSynchronizationMechanism::Initialize ( )

Sets up the locks in their proper initial state for running

◆ IsSlateDrawPassEnqueued()

bool FSlateLoadingSynchronizationMechanism::IsSlateDrawPassEnqueued ( )

Handles the strict alternation of the slate drawing passes

◆ IsSlateMainLoopRunning()

bool FSlateLoadingSynchronizationMechanism::IsSlateMainLoopRunning ( )

Handles the counter to determine if the slate thread should keep running

◆ ResetSlateDrawPassEnqueued()

void FSlateLoadingSynchronizationMechanism::ResetSlateDrawPassEnqueued ( )

◆ ResetSlateMainLoopRunning()

void FSlateLoadingSynchronizationMechanism::ResetSlateMainLoopRunning ( )

◆ SetSlateDrawPassEnqueued()

void FSlateLoadingSynchronizationMechanism::SetSlateDrawPassEnqueued ( )

◆ SetSlateMainLoopRunning()

void FSlateLoadingSynchronizationMechanism::SetSlateMainLoopRunning ( )

◆ SlateThreadInitFailed()

void FSlateLoadingSynchronizationMechanism::SlateThreadInitFailed ( )

The main loop could not be initialized

◆ SlateThreadRunMainLoop()

void FSlateLoadingSynchronizationMechanism::SlateThreadRunMainLoop ( )

The main loop to be run from the Slate thread


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