FImage::CopyTo

Copies the image to a destination image with the specified format.

Windows
MacOS
Linux

References

Module

ImageCore

Header

/Engine/Source/Runtime/ImageCore/Public/ImageCore.h

Include

#include "ImageCore.h"

Source

/Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp

Syntax

void CopyTo
(
    FImage & DestImage,
    ERawImageFormat::Type DestFormat,
    EGammaSpace DestGammaSpace
) const

Remarks

Copies the image to a destination image with the specified format.

Parameters

Parameter

Description

DestImage

The destination image.

DestFormat

The destination image format.

DestSRGB

Whether the destination image is in SRGB format.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss