/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h
Generates a texture from an array of samples
The new texture.
static [UTexture2D](API\Runtime\Engine\Engine\UTexture2D) * CreateTexture ( [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * Outer, const [FString](API\Runtime\Core\Containers\FString) & AssetLongName, FIntPoint Size, const [TArray](API\Runtime\Core\Containers\TArray)< [FColor](API\Runtime\Core\Math\FColor) > & Samples, const [FCreateTexture2DParameters](API\Runtime\Engine\FCreateTexture2DParameters) & CreateParams, EObjectFlags Flags )