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.
|
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 .
|
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 .
| bool FStreamingPauseRenderingModule::bMovieWasStarted |
If a movie was started by BeginStreamingPause.
This could be false if a movie was already playing when BeginStreamingPause was called