Navigation
API > API/Runtime > API/Runtime/ImageCore
Description
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)
| Name | FImageCoreUtils::GetCommonSourceFormat |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCoreUtils.h |
| Include Path | #include "ImageCoreUtils.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCoreUtils.cpp |
namespace FImageCoreUtils
{
ETextureSourceFormat FImageCoreUtils::GetCommonSourceFormat
(
ETextureSourceFormat Format1,
ETextureSourceFormat Format2
)
}
Parameters
| Name | Remarks |
|---|---|
| Format1 | First source format. |
| Format2 | Second source format. |