Navigation
API > API/Runtime > API/Runtime/ImageCore
References
| Module | ImageCore |
| Header | /Engine/Source/Runtime/ImageCore/Public/ImageCoreUtils.h |
| Include | #include "ImageCoreUtils.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCoreUtils.cpp |
namespace FImageCoreUtils
{
ETextureSourceFormat FImageCoreUtils&58;&58;GetCommonSourceFormat
&40;
ETextureSourceFormat Format1,
ETextureSourceFormat Format2
&41;
}
Remarks
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
| Name | Description |
|---|---|
| Format1 | First source format. |
| Format2 | Second source format. |