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::CopyImage
(
const FImageView & SrcImage,
const FImageView & DestImage
)
}
Remarks
Copy FImageView data, converting pixels if necessary. Sizes must match. Dest must already be allocated. For a function that allocates Dest, use CopyTo().
Because FImage implicitly convers to FImageView, these functions can be used on FImage types as well.
Copies an image accounting for format differences. Sizes must match.
Parameters
| Name | Description |
|---|---|
| SrcImage | The source image to copy from. |
| DestImage | The destination image to copy to. (the FImageView is const but what it points at is not) |
| SrcImage | The source image to copy from. |
| DestImage | The destination image to copy to. |