cancel
Showing results for 
Search instead for 
Did you mean: 

How do you load a texture?

Curyous
Honored Guest
In my own native, non-VR projects, I can load an ETC2 texture using the AssetManager in Java, then pass it to native code for decoding and submitting to the GPU with glCompressedTexImage2D(), but how do you do it when stuck in native C++ land all the time?

The main thing I need is how to load a file.
1 REPLY 1

Curyous
Honored Guest
This worked: ovr_ReadFileFromApplicationPackage("assets/...")