Navigation
API > API/Runtime > API/Runtime/ImageCore
References
| Module | ImageCore |
| Header | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include | #include "ImageCore.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
namespace FImageCore
{
void FImageCore::SanitizeFloat16AndSetAlphaOpaqueForBC6H
(
const FImageView & InOutImage
)
}
Remarks
Clamp Float16 colors which aren't encodable in the BC6H format RGB is clamped to non-negative and finite A is set to 1.0
Parameters
| Name | Description |
|---|---|
| InOutImage | is modified. Must be RGBA16F. (the FImageView is const but what it points at is not) |