New To The Forum? Click Here To Read The How To Guide. -- Developers Click Here.

How do you load a texture?

CuryousCuryous Posts: 6
NerveGear
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.

Comments

  • CuryousCuryous Posts: 6
    NerveGear
    This worked: ovr_ReadFileFromApplicationPackage("assets/...")
Sign In or Register to comment.