engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FStreamingPauseRenderingModule类 参考

Module handling default behavior for streaming pause rendering. 更多...

#include <StreamingPauseRendering.h>

+ 类 FStreamingPauseRenderingModule 继承关系图:

Public 成员函数

virtual void BeginStreamingPause (class FViewport *Viewport)
 Enqueue the streaming pause to suspend rendering during blocking load.
 
virtual void EndStreamingPause ()
 Enqueue the streaming pause to resume rendering after blocking load is completed.
 
 FStreamingPauseRenderingModule ()
 Default constructor.
 
virtual void ShutdownModule ()
 Called before the module is unloaded, right before the module object is destroyed. 更多...
 
virtual void StartupModule ()
 Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
 
- Public 成员函数 继承自 IModuleInterface
virtual bool IsGameModule () const
 Returns true if this module hosts gameplay code 更多...
 
virtual void PostLoadCallback ()
 Called after the module has been reloaded
 
virtual void PreUnloadCallback ()
 Called before the module has been unloaded
 
virtual void ShutdownModule ()
 Called before the module is unloaded, right before the module object is destroyed. 更多...
 
virtual void StartupModule ()
 Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
 
virtual bool SupportsAutomaticShutdown ()
 Override this to set whether your module would like cleanup on application shutdown 更多...
 
virtual bool SupportsDynamicReloading ()
 Override this to set whether your module is allowed to be unloaded on the fly 更多...
 
virtual ~IModuleInterface ()
 Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface

 

Public 属性

TSharedPtr< class FBackgroundView > BackgroundView
 Helper class to translate the RHI render target to Slate
 
FBeginStreamingPauseDelegate BeginDelegate
 Delegate providing default functionality for beginning streaming pause.
 
bool bMovieWasStarted
 If a movie was started by BeginStreamingPause. 更多...
 
FEndStreamingPauseDelegate EndDelegate
 Delegate providing default functionality for ending streaming pause.
 
TSharedPtr< FSceneViewport > SceneViewport
 Viewport being used to render the scene once to a target while paused
 
TSharedPtr< SViewport > ViewportWidget
 Slate viewport widget used to draw the target
 

详细描述

Module handling default behavior for streaming pause rendering.

Games can override by calling RegisterBegin/EndStreamingPauseDelegate with their own delegates.

成员函数说明

◆ ShutdownModule()

virtual void FStreamingPauseRenderingModule::ShutdownModule ( )
virtual

Called before the module is unloaded, right before the module object is destroyed.

During normal shutdown, this is called in reverse order that modules finish StartupModule(). This means that, as long as a module references dependent modules in it's StartupModule(), it can safely reference those dependencies in ShutdownModule() as well.

重载 IModuleInterface .

◆ StartupModule()

virtual void FStreamingPauseRenderingModule::StartupModule ( )
virtual

Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule.

ie:

FModuleManager::Get().LoadModuleChecked(TEXT("HTTP"));

重载 IModuleInterface .

类成员变量说明

◆ bMovieWasStarted

bool FStreamingPauseRenderingModule::bMovieWasStarted

If a movie was started by BeginStreamingPause.


This could be false if a movie was already playing when BeginStreamingPause was called


该类的文档由以下文件生成: