Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAnimCompress_RemoveLinearKeys
Description
Estimates the peak memory usage in bytes needed to compress the given data with this codec. This is used to make informed scheduling decisions during asset cooking. Estimates that are too low may cause out-of-memory conditions. Estimates that are too high can unnecessarily limit the number of concurrent cook processes.
Values below zero indicate that no estimate has been given and high memory usage is hence assumed.
Virtual Inheritance
- UAnimBoneCompressionCodec::EstimateCompressionMemoryUsage → UAnimCompress_RemoveLinearKeys::EstimateCompressionMemoryUsage
| Name | EstimateCompressionMemoryUsage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimCompress_RemoveLinearKeys.h |
| Include Path | #include "Animation/AnimCompress_RemoveLinearKeys.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimCompress_RemoveLinearKeys.cpp |
virtual int64 EstimateCompressionMemoryUsage
(
const UAnimSequence & AnimSequence
) const
Estimated peak memory usage in bytes. Values < 0 indicate maximum memory usage.
Parameters
| Name | Remarks |
|---|---|
| AnimSequence | The Animation Sequence to estimate the memory usage for. |