/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/Texture2DUtil.h
Extract the Dimensions and image pixels from an input TextureMapBydefault, the "Source" texture data is read. This is only available in-Editor. At runtime, only "Platform" data is available.
true on success
namespace UE { namespace AssetUtils { bool UE::AssetUtils::ReadTexture ( [UTexture2D](API\Runtime\Engine\Engine\UTexture2D) * TextureMap, [TImageBuilder](API\Runtime\GeometryCore\Image\TImageBuilder)< FVector4f > & DestImageOut, const bool bPreferPlatformData ) } }