Navigation
API > API/Plugins > API/Plugins/RenderGrid > API/Plugins/RenderGrid/FRenderGridUtils
Description
Loads an image from the disk, tries to automatically figure out the correct image format.
Returns NULL if it fails.
Will re-use the given Texture2D if possible, bOutReusedGivenTexture2D will be true if it was possible.
| Name | GetImage |
| 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 * GetImage
(
const FString & ImagePath,
UTexture2D * Texture2D,
bool & bOutReusedGivenTexture2D
)