C++ advice on dynamically creating cube textures?

Is there a way to dynamically create cube textures like this example shows?

I have a need to do this for my project, but I’m unable to figure out how to do it at runtime. I’m inexperienced in C++, but I understand the BPs well. Can anyone provide assistance?

can any dev weigh in here? For procedural captures, you can create 2d render targets but not cube components. Is a cube component possible? I’ve seen suggestions for creating a wider FOV 2d texture, but I don’t think that would work for me, applying the texture to a sphere.

I have the same problem, have you solved the problem?