FAsyncCompressedAnimationsManagement

Manager for Async anim compression.

Windows
MacOS
Linux

Inheritance Hierarchy

FTickableEditorObject

FGCObject

FAsyncCompressedAnimationsManagement

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimCompressionDerivedDataPublic.h

Include

#include "Animation/AnimCompressionDerivedDataPublic.h"

Syntax

class FAsyncCompressedAnimationsManagement :
    public FTickableEditorObject,
    public FGCObject

Remarks

Manager for Async anim compression. Maintains active compressions tracks memory usage of async compression Gives API for blocking on compression

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Static

FAsyncCompre...

 

Get()

Public function Const

int32

 

GetNumRemainingJobs()

Returns the number of remaining compression jobs (used for UI)

Public function

bool

 

RequestAsyncCompression

(
    FDerivedDataAnimationCompression& ...,
    UAnimSequence* Anim,
    const bool bPerformFrameStripping,
    TArray< uint8 >& OutData
)

Request an async compression of an animation, may not actually run async if memory usage is already high Returns true if an async compression task was allowed.

Public function

bool

 

WaitOnExistingCompression

(
    UAnimSequence* Anim,
    const bool bWantResults
)

Blocks on compression for the supplied animation. Returns false if there was no compression job to wait on.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss