Unity: Pass texture pointer from OpenGL to Unity
I am not sure if doing this is right or wrong or actually needed in practice. However, I was curious once &amp; wanted to learn about Unity Native plugins, so i decided to do exactly what you need. 

Basically, I wrote a native plugin, which loads image data using C++ &amp; stb_image library, it then passes byte[] to Unity C# side where it gets applied on a quad. There are many things you need to consider if it's a cross platform app, I was able to run it on both PC &amp; Android during the experiment. 

Let me know if this is what you want to achieve &amp; I can pass on the code to you. 

Best.