How to Implement dynamic texture in c++ plugin?

Actually I’ve created UTexture2D and it is getting updated with some data in c++ plugin, currently I’ve attached with UserWidget. But I want to expose it as texture so that I can put it on any shape object like sphere or cube.
Can you pls guide me how Do I create texture asset or RenderTarget in c++ plugin?