How would i go about displaying an image in the game scene with c++?

I’m not quite sure how would i go about displaying an image gotten from a directory path onto an mesh or/and UIcanvas image using c++ (i guess it could also be achieved by using lua but then i would have to send c++ requests to lua).

If someone could explain basic steps to achieve this it would be greatly appreciated.
Thank you!