Custom BP Node to load/unload texture


I’m attempting to dive into some C++ coding (haven’t touched it for several years). I need to create a BP node to manually load and unload a media texture. How would I go about this?

I have several media textures and loading them manually would help to improve performance.