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

Enumerations

enum  Type : uint8 {
  G8 , BGRA8 , BGRE8 , RGBA16 ,
  RGBA16F , RGBA32F , G16 , R16F ,
  R32F , MAX , Invalid = 0xFF
}
 

Functions

IMAGECORE_API int64 GetBytesPerPixel (Type Format)
 
IMAGECORE_API const TCHARGetName (Type Format)
 
IMAGECORE_API const FUtf8StringView GetNameView (Type Format)
 
IMAGECORE_API bool GetFormatFromString (FUtf8StringView InString, Type &OutFormat)
 
IMAGECORE_API bool IsU8Channels (Type Format)
 
IMAGECORE_API int NumChannels (Type Format)
 
IMAGECORE_API bool IsHDR (Type Format)
 
IMAGECORE_API bool HasAlphaChannel (Type Format)
 
IMAGECORE_API const FLinearColor GetOnePixelLinear (const void *PixelData, Type Format, EGammaSpace Gamma)
 
const FLinearColor GetOnePixelLinear (const void *PixelData, Type Format, bool bSRGB)
 
bool GetFormatNeedsGammaSpace (Type Format)
 
EGammaSpace GetDefaultGammaSpace (Type Format)
 

Enumeration Type Documentation

◆ Type

Enumerates supported raw image formats. should map one-to-one with ETextureSourceFormat

Enumerator
G8 
BGRA8 
BGRE8 
RGBA16 
RGBA16F 
RGBA32F 
G16 
R16F 
R32F 
MAX 
Invalid 

Function Documentation

◆ GetBytesPerPixel()

IMAGECORE_API int64 ERawImageFormat::GetBytesPerPixel ( Type  Format)

◆ GetDefaultGammaSpace()

EGammaSpace ERawImageFormat::GetDefaultGammaSpace ( Type  Format)
inline

◆ GetFormatFromString()

bool ERawImageFormat::GetFormatFromString ( FUtf8StringView  InString,
ERawImageFormat::Type OutType 
)

◆ GetFormatNeedsGammaSpace()

bool ERawImageFormat::GetFormatNeedsGammaSpace ( Type  Format)
inline

◆ GetName()

IMAGECORE_API const TCHAR * ERawImageFormat::GetName ( Type  Format)

◆ GetNameView()

const FUtf8StringView ERawImageFormat::GetNameView ( Type  Format)

◆ GetOnePixelLinear() [1/2]

const FLinearColor ERawImageFormat::GetOnePixelLinear ( const void PixelData,
Type  Format,
bool  bSRGB 
)
inline

◆ GetOnePixelLinear() [2/2]

IMAGECORE_API const FLinearColor ERawImageFormat::GetOnePixelLinear ( const void PixelData,
ERawImageFormat::Type  Format,
EGammaSpace  Gamma 
)

◆ HasAlphaChannel()

IMAGECORE_API bool ERawImageFormat::HasAlphaChannel ( Type  Format)

◆ IsHDR()

IMAGECORE_API bool ERawImageFormat::IsHDR ( Type  Format)

◆ IsU8Channels()

IMAGECORE_API bool ERawImageFormat::IsU8Channels ( Type  Format)

◆ NumChannels()

IMAGECORE_API int ERawImageFormat::NumChannels ( Type  Format)