UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ModularQuantize Namespace Reference

Classes

struct  TCompressedFloatDetails
 

Functions

template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool ToCompressedFloat (const T InValue, uint32 &OutCompressedFloat)
 
template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool FromCompressedFloat (const uint32 InCompressed, T &OutValue)
 
template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool WriteCompressedFloat (const T Value, FArchive &Ar)
 
template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool ReadCompressedFloat (T &Value, FArchive &Ar)
 
template<int32 MaxValue, uint32 NumBits>
bool SerializeFixedFloat (double &InOutValue, FArchive &Ar)
 
template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
void QuantizeValue (T &Value)
 
template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool QuantizedIsNearlyEqual (const T &Left, const T &Right)
 

Function Documentation

◆ FromCompressedFloat()

template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool ModularQuantize::FromCompressedFloat ( const uint32  InCompressed,
T &  OutValue 
)

◆ QuantizedIsNearlyEqual()

template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool ModularQuantize::QuantizedIsNearlyEqual ( const T &  Left,
const T &  Right 
)

◆ QuantizeValue()

template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
void ModularQuantize::QuantizeValue ( T &  Value)

◆ ReadCompressedFloat()

template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool ModularQuantize::ReadCompressedFloat ( T &  Value,
FArchive Ar 
)

◆ SerializeFixedFloat()

template<int32 MaxValue, uint32 NumBits>
bool ModularQuantize::SerializeFixedFloat ( double InOutValue,
FArchive Ar 
)

◆ ToCompressedFloat()

template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool ModularQuantize::ToCompressedFloat ( const T  InValue,
uint32 OutCompressedFloat 
)

◆ WriteCompressedFloat()

template<int32 MaxValue, uint32 NumBits, typename T UE_REQUIRES>
bool ModularQuantize::WriteCompressedFloat ( const T  Value,
FArchive Ar 
)