Navigation
API > API/Runtime > API/Runtime/ImageCore > API/Runtime/ImageCore/FImage > API/Runtime/ImageCore/FImage/Linearize
References
| Module | ImageCore |
| Header | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include | #include "ImageCore.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
void Linearize
&40;
uint8 SourceEncoding,
FImage & DestImage
&41; const
Remarks
Linearize to a RGBA32F destination image by applying the decoding function that corresponds to the specified source encoding. If None, this call will be equivalent to CopyTo(DestImage, ERawImageFormat::RGBA32F, EGammaSpace::Linear).
SourceEncoding = None (0) to Linearize using the GammaSpace in this FImage
Parameters
| Name | Description |
|---|---|
| SourceEncoding | Opaque source encoding (matching UE::Color::EEncoding). |
| DestImage | The destination image. |