Write pixel color to UTextureRenderTarget2D?

Hello there!

In my C++ actor I have a “TArray ColorBuffer”, which has the color of each pixel of a “UTextureRenderTarget2D”, obtained using this tutorial

Then, after I alter the ColorBuffer array, I want the original UTextureRenderTarget2D to reflect these changes. How can I do this?

Thanks in advance :slight_smile: