FColor::QuantizeUNormFloatTo8

Conversions to/from GPU UNorm floats, U8, U16 matches convention of [FColor](API\Runtime\Core\Math\FColor)[FLinearColor::QuantizeRound](API\Runtime\Core\Math\FLinearColor\QuantizeRound)

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Color.h

Include

#include "Math/Color.h"

Syntax

static uint8 QuantizeUNormFloatTo8
(
    float UnitFloat
)

Remarks

Conversions to/from GPU UNorm floats, U8, U16 matches convention of FColorFLinearColor::QuantizeRound