Navigation
API > API/Plugins > API/Plugins/RenderGrid > API/Plugins/RenderGrid/FRenderGridUtils
Description
Converts bytes into an texture.
Returns NULL if it fails.
Will re-use the given Texture2D if possible, bOutReusedGivenTexture2D will be true if it was possible.
| Name | BytesToExistingImage |
| Type | function |
| Header File | /Engine/Plugins/Experimental/RenderGrid/Source/RenderGrid/Public/Utils/RenderGridUtils.h |
| Include Path | #include "Utils/RenderGridUtils.h" |
| Source | /Engine/Plugins/Experimental/RenderGrid/Source/RenderGrid/Private/Utils/RenderGridUtils.cpp |
static UTexture2D * BytesToExistingImage
(
const TArray < uint8 > & ByteArray,
const EImageFormat ImageFormat,
UTexture2D * Texture2D,
bool & bOutReusedGivenTexture2D
)