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

Functions

IMAGECORE_API bool IsImageImportPossible (int64 Width, int64 Height)
 
IMAGECORE_API int32 GetMipCountFromDimensions (int32 InSizeX, int32 InSizeY, int32 InVolumeZ, bool bInIsVolume)
 
IMAGECORE_API ERawImageFormat::Type ConvertToRawImageFormat (ETextureSourceFormat Format)
 
IMAGECORE_API ETextureSourceFormat ConvertToTextureSourceFormat (ERawImageFormat::Type Format)
 
IMAGECORE_API EPixelFormat GetPixelFormatForRawImageFormat (ERawImageFormat::Type InFormat, ERawImageFormat::Type *pOutEquivalentFormat=nullptr)
 
IMAGECORE_API FName ConvertToUncompressedTextureFormatName (ERawImageFormat::Type Format)
 
IMAGECORE_API ETextureSourceFormat GetCommonSourceFormat (ETextureSourceFormat Format1, ETextureSourceFormat Format2)
 
IMAGECORE_API ERawImageFormat::Type GetRawImageFormatForPixelFormat (EPixelFormat PF)
 

Function Documentation

◆ ConvertToRawImageFormat()

IMAGECORE_API ERawImageFormat::Type FImageCoreUtils::ConvertToRawImageFormat ( ETextureSourceFormat  Format)

◆ ConvertToTextureSourceFormat()

IMAGECORE_API ETextureSourceFormat FImageCoreUtils::ConvertToTextureSourceFormat ( ERawImageFormat::Type  Format)

◆ ConvertToUncompressedTextureFormatName()

IMAGECORE_API FName FImageCoreUtils::ConvertToUncompressedTextureFormatName ( ERawImageFormat::Type  Format)

◆ GetCommonSourceFormat()

IMAGECORE_API ETextureSourceFormat FImageCoreUtils::GetCommonSourceFormat ( ETextureSourceFormat  Format1,
ETextureSourceFormat  Format2 
)

Returns ETextureSourceFormat which can be used to efficiently store data encoded in both input formats. Can be used in cases when multiple sources need to be mixed together (i.e. in a texture array or UDIM)

Parameters
Format1- First source format.
Format2- Second source format.

◆ GetMipCountFromDimensions()

IMAGECORE_API int32 FImageCoreUtils::GetMipCountFromDimensions ( int32  InSizeX,
int32  InSizeY,
int32  InVolumeZ,
bool  bInIsVolume 
)

◆ GetPixelFormatForRawImageFormat()

IMAGECORE_API EPixelFormat FImageCoreUtils::GetPixelFormatForRawImageFormat ( ERawImageFormat::Type  InFormat,
ERawImageFormat::Type pOutEquivalentFormat = nullptr 
)

◆ GetRawImageFormatForPixelFormat()

IMAGECORE_API ERawImageFormat::Type FImageCoreUtils::GetRawImageFormatForPixelFormat ( EPixelFormat  PF)

◆ IsImageImportPossible()

IMAGECORE_API bool FImageCoreUtils::IsImageImportPossible ( int64  Width,
int64  Height 
)