How to store a bitmap as a texture from android
I was trying to achieve the following -
Open the android gallery and save the image picked as a texture for the project.
I am a learner with C++, well programming in general, but I am able to achieve opening the gallery in android through content provider. Now, what I want is to save that image in unreal as a texture. I cannot achieve that, here is the android part of the code that I added.
And the onActivityResult part -
This is how I'm calling from C++ (Generic call like in AndroidJNI), I'm sure here is where I am supposed to store it in a UTexture2D type variable but I don't know how
And then implementing this so that I can use it in blueprints. So, can someone help me ?
asked Nov 20 '16 at 10:11 AM in C++ Programming
Have you tried to use images in power of two format?
answered Feb 15 '17 at 06:42 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here