![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Namespaces | |
| namespace | ACES |
Classes | |
| class | FColorSpace |
| struct | FColorSpaceTransform |
Enumerations | |
| enum class | EEncoding : uint8 { None = 0 , Linear = 1 , sRGB , ST2084 , Gamma22 , BT1886 , Gamma26 , Cineon , REDLog , REDLog3G10 , SLog1 , SLog2 , SLog3 , AlexaV3LogC , CanonLog , ProTune , VLog , Max } |
| enum class | EColorSpace : uint8 { None = 0 , sRGB = 1 , Rec2020 = 2 , ACESAP0 = 3 , ACESAP1 = 4 , P3DCI = 5 , P3D65 = 6 , REDWideGamut = 7 , SonySGamut3 = 8 , SonySGamut3Cine = 9 , AlexaWideGamut = 10 , CanonCinemaGamut = 11 , GoProProtuneNative = 12 , PanasonicVGamut = 13 , PLASA_E1_54 = 14 , ACESCAM16 = 15 , Max } |
| enum class | EChromaticAdaptationMethod : uint8 { None = 0 , Bradford = 1 , CAT02 = 2 , Max } |
| enum class | EWhitePoint : uint8 { CIE1931_D65 = 0 , ACES_D60 = 1 , DCI_CalibrationWhite , Max } |
Variables | |
| constexpr uint32 | ENCODING_TYPES_VER = 4 |
| constexpr uint32 | COLORSPACE_VER = 2 |
| constexpr EChromaticAdaptationMethod | DEFAULT_CHROMATIC_ADAPTATION_METHOD = EChromaticAdaptationMethod::Bradford |
|
strong |
List of available chromatic adaptation methods.
NOTE: This list is replicated as a UENUM in TextureDefines.h, and both should always match.
| Enumerator | |
|---|---|
| None | |
| Bradford | |
| CAT02 | |
| Max | |
|
strong |
List of available color spaces. (Increment COLORSPACE_VER upon breaking changes to the list.)
NOTE: This list is partially replicated as a UENUM in TextureDefines.h: any type exposed to textures should match the enum value below.
| Enumerator | |
|---|---|
| None | |
| sRGB | |
| Rec2020 | |
| ACESAP0 | |
| ACESAP1 | |
| P3DCI | |
| P3D65 | |
| REDWideGamut | |
| SonySGamut3 | |
| SonySGamut3Cine | |
| AlexaWideGamut | |
| CanonCinemaGamut | |
| GoProProtuneNative | |
| PanasonicVGamut | |
| PLASA_E1_54 | |
| ACESCAM16 | |
| Max | |
|
strong |
List of available encodings/transfer functions.
NOTE: This list is replicated as a UENUM in TextureDefines.h, and both should always match.
| Enumerator | |
|---|---|
| None | |
| Linear | |
| sRGB | |
| ST2084 | |
| Gamma22 | |
| BT1886 | |
| Gamma26 | |
| Cineon | |
| REDLog | |
| REDLog3G10 | |
| SLog1 | |
| SLog2 | |
| SLog3 | |
| AlexaV3LogC | |
| CanonLog | |
| ProTune | |
| VLog | |
| Max | |
|
strong |
| CORE_API FLinearColor UE::Color::Decode | ( | EEncoding | Encoding, |
| const FLinearColor & | Color | ||
| ) |
Decode a color based on the specified encoding type. Note: Less optimal due to function pointer call.
Decode a value based on the specified encoding type. Note: Less optimal due to function pointer call.
Decode value with an ARRI Alexa LogC encoding.
Decode value with an ITU-R BT.1886 encoding.
Decode value with a Canon Log encoding.
Decode value with a Cineon encoding.
Decode value with a Gamma 2.2 encoding.
Decode value with a Gamma 2.6 encoding.
Decode value with a GoPro ProTune encoding.
Decode value with a Panasonic V-Log encoding.
Decode value with a RED Log encoding.
Decode value with a RED Log3G10 encoding.
Decode value with a Sony S-Log1 encoding.
Decode value with a Sony S-Log2 encoding.
Decode value with a Sony S-Log3 encoding.
Decode value with an sRGB encoding.
Decode value with a SMPTE ST 2084:2014 encoding.
| CORE_API FLinearColor UE::Color::Encode | ( | EEncoding | Encoding, |
| const FLinearColor & | Color | ||
| ) |
Encode a color based on the specified encoding type. Note: Less optimal due to function pointer call.
Encode a value based on the specified encoding type. Note: Less optimal due to function pointer call.
Encode value to ARRI Alexa LogC.
Encode value to ITU-R BT.1886.
Encode value to Canon Log.
Encode value to Cineon.
Encode value to Gamma 2.2.
Encode value to Gamma 2.6.
Encode value to GoPro ProTune.
Encode value to Panasonic V-Log.
Encode value to RED Log.
Encode value to RED Log3G10.
Encode value to Sony S-Log1.
Encode value to Sony S-Log2.
Encode value to Sony S-Log3.
Encode value to SMPTE ST 2084:2014.
| CORE_API TFunction< FLinearColor(const FLinearColor &)> UE::Color::GetColorDecodeFunction | ( | EEncoding | Encoding | ) |
Get the decode function that matches the encoding type.
| CORE_API TFunction< FLinearColor(const FLinearColor &)> UE::Color::GetColorEncodeFunction | ( | EEncoding | Encoding | ) |
Get the encode function that matches the encoding type.
Get the decode function that matches the encoding type.
Get the encode function that matches the encoding type.
|
inline |
|
inline |
Get standard white point coordinates.
| InWhitePoint | White point type. |
| void UE::Color::PreloadWorkingColorSpace | ( | ) |
|
inline |
Convenience function to get the transposed matrix, i.e. for pre-multiplied shader matrices.
Convert chromaticity coordinate and luminance to CIE XYZ tristimulus values.
Convert CIE XYZ tristimulus values to chromaticitiy coordinates and luminance.
Increment upon breaking changes to the EColorSpace and EChromaticAdaptationMethod enums. Note that changing this forces a rebuild of textures that rely on it.
|
constexpr |
Default method used across the engine for chromatic adaptation.