UE5에서 코드가 살짝 변경되었다. 수정 완료.

레퍼런스

ImageWrapper

IImageWrapperModule

모듈 추가

[모듈 이름].Build.cs에 다음과 같이 추가한다.

PrivateDependencyModuleNames.AddRange(
			new string[]
			{
				//...
        "ImageWrapper",
				//...
			}
			);

헤더 파일

#include "Runtime/Core/Public/PixelFormat.h"
#include "Runtime/Core/public/Misc/FileHelper.h"
#include "Runtime/ImageWrapper/Public/IImageWrapper.h"
#include "Runtime/RenderCore/Public/RenderUtils.h"
#include "Runtime/Engine/Classes/Engine/Texture2D.h"
#include "IImageWrapperModule.h"

코드

프로젝트 적용

결과.