ofTextures in classes

Hey all

I seem to be getting a really weird phenomena that affects most of my iPhone/iPad apps.
It seems that all my ofTexture objects need to be kept and drawn in the main app class.

if they’re in another class then loadData doesn’t work and the texture stays white.
If you store in main App class, then send a pointer somewhere, you can load the data into it from another class. but you still need to call the draw from the main class

has anybody else experienced anything similar?

thanks!

p.s.
when i run the same code on OSX oF (i.e. not iPhone), textures works fine wherever they are.
Maybe an OpenGL ES thing??

draw command is now working within the subclass. but the ofTexture still seems to be need to be stored in the app class.
will keep testing…