|
|
virtual void | AddStreamingRenderAsset (UStreamableRenderAsset *RenderAsset)=0 |
| | Adds a new texture/mesh to the streaming manager.
|
| |
| virtual void | BoostTextures (AActor *Actor, float BoostFactor)=0 |
| | Temporarily boosts the streaming distance factor by the specified number. 更多...
|
| |
|
virtual void | FastForceFullyResident (UStreamableRenderAsset *RenderAsset)=0 |
| | Stream in non-resident mips for an asset ASAP.
|
| |
|
virtual ENGINE_API void | GetAssetComponents (const UStreamableRenderAsset *RenderAsset, TArray< const UPrimitiveComponent * > &OutComps, TFunction< bool(const UPrimitiveComponent *)> ShouldChoose=[](const UPrimitiveComponent *) { return true;})=0 |
| | Return all components referencing the asset
|
| |
|
virtual int64 | GetMaxEverRequired () const =0 |
| | Max required textures/meshes ever seen in bytes.
|
| |
|
virtual ENGINE_API void | GetObjectReferenceBounds (const UObject *RefObject, TArray< FBox > &AssetBoxes)=0 |
| | Return all bounds related to the ref object
|
| |
|
virtual int64 | GetPoolSize () const =0 |
| | Pool size for streaming.
|
| |
|
virtual void | MarkMountedStateDirty (FIoFilenameHash FilenameHash)=0 |
| | Notify the streamer that the mounted state of a file needs to be re-evaluated.
|
| |
|
virtual void | PauseRenderAssetStreaming (bool bInShouldPause)=0 |
| | Set current pause state for texture/mesh streaming
|
| |
|
virtual void | RemoveStreamingRenderAsset (UStreamableRenderAsset *RenderAsset)=0 |
| | Removes a texture/mesh from the streaming manager.
|
| |
| virtual void | ResetMaxEverRequired ()=0 |
| | Resets the max ever required textures/meshes. 更多...
|
| |
| virtual bool | StreamOutRenderAssetData (int64 RequiredMemorySize)=0 |
| | Try to stream out texture/mesh mip-levels to free up more memory. 更多...
|
| |
| virtual void | UpdateIndividualRenderAsset (UStreamableRenderAsset *RenderAsset)=0 |
| | Updates streaming for an individual texture/mesh, taking into account all view infos. 更多...
|
| |
|
virtual void | AddLevel (class ULevel *Level)=0 |
| | Adds a ULevel that has already prepared StreamingData to the streaming manager.
|
| |
| ENGINE_API void | AddViewInformation (const FVector &ViewOrigin, float ScreenSize, float FOVScreenSize, float BoostFactor=1.0f, bool bOverrideLocation=false, float Duration=0.0f, TWeakObjectPtr< AActor > InActorToBoost=NULL) |
| | Adds the passed in view information to the static array. 更多...
|
| |
| ENGINE_API void | AddViewSlaveLocation (const FVector &SlaveLocation, float BoostFactor=1.0f, bool bOverrideLocation=false, float Duration=0.0f) |
| | Queue up view "slave" locations to the streaming system. 更多...
|
| |
| virtual int32 | BlockTillAllRequestsFinished (float TimeLimit=0.0f, bool bLogResults=false)=0 |
| | Blocks till all pending requests are fulfilled. 更多...
|
| |
|
virtual void | CancelForcedResources ()=0 |
| | Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures").
|
| |
| virtual bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| | Allows the streaming manager to process exec commands. 更多...
|
| |
|
ENGINE_API int32 | GetNumViews () const |
| | Returns the number of view infos.
|
| |
|
virtual int32 | GetNumWantingResources () const |
| | Returns the number of resources that currently wants to be streamed in.
|
| |
| virtual int32 | GetNumWantingResourcesID () const |
| | Returns the current ID for GetNumWantingResources(). 更多...
|
| |
|
ENGINE_API const FStreamingViewInfo & | GetViewInformation (int32 ViewIndex) const |
| | Returns the view info by the specified index.
|
| |
|
virtual void | NotifyActorDestroyed (AActor *Actor) |
| | Called when a spawned actor is destroyed.
|
| |
|
virtual void | NotifyLevelChange ()=0 |
| | Notifies manager of "level" change.
|
| |
|
virtual void | NotifyLevelOffset (class ULevel *Level, const FVector &Offset)=0 |
| | Notifies manager that level primitives were shifted
|
| |
|
virtual void | NotifyPrimitiveDetached (const UPrimitiveComponent *Primitive) |
| | Called when a primitive is detached from an actor or another component.
|
| |
|
virtual void | NotifyPrimitiveUpdated (const UPrimitiveComponent *Primitive) |
| | Called when a primitive streaming data needs to be updated.
|
| |
|
virtual void | NotifyPrimitiveUpdated_Concurrent (const UPrimitiveComponent *Primitive) |
| | Called when a primitive streaming data needs to be updated in the last stage of the frame.
|
| |
|
virtual void | PropagateLightingScenarioChange () |
| | Propagates a change to the active lighting scenario.
|
| |
|
virtual void | RemoveLevel (class ULevel *Level)=0 |
| | Removes a ULevel from the streaming manager.
|
| |
| void | RemoveStreamingViews (ERemoveStreamingViews RemovalType) |
| | Removes streaming views from the streaming manager. 更多...
|
| |
|
virtual void | SetDisregardWorldResourcesForFrames (int32 NumFrames)=0 |
| | Don't stream world resources for the next NumFrames.
|
| |
| virtual int32 | StreamAllResources (float TimeLimit=0.0f) |
| | Streams in/out all resources that wants to and blocks until it's done. 更多...
|
| |
| virtual ENGINE_API void | Tick (float DeltaTime, bool bProcessEverything=false) |
| | Calls UpdateResourceStreaming(), and does per-frame cleaning. 更多...
|
| |
| virtual void | UpdateResourceStreaming (float DeltaTime, bool bProcessEverything=false)=0 |
| | Updates streaming, taking into account all current view infos. 更多...
|
| |
|
virtual | ~IStreamingManager () |
| | Virtual destructor
|
| |
Interface to add functions specifically related to texture/mesh streaming