I have successfully rendered a triangle with a hard coded shader using
NativeActivity of Android NDK. Now I have the requirement to load a shader file. I tried to use
fopen but it is returning NULL.
I have researched a little bit and found out there's an
AAssetManager which I can use. I want to know why
fopen didn't work and why should I use
AAssetManager to load files?