Thank you for suggesting that. I was under the impression that because it was marked as a Blueprint Function Library that it could not be used directly in C++ and I also read a post by someone else that said we (developers) should not use the Kismet libraries if they are marked with “MinimalAPI” in the UCLASS?
After running a small test to create the texture render target 2D it does work using:
UTextureRenderTarget2D* mytexture = UKismetRenderingLibrary::CreateRenderTarget2D(this, 512, 512, RTF_R8);