objective c - How co call methods of EAGLView from ES1Renderer? -
using standard opengl es ipad pattern such 'structure'. i've read delegating, protocols, still got no direct answer particular purpose. please enlighten me.
why need this? action goes on in es1renderer , want [eaglview setuserinteractionenabled:true];
example, gives me:
'eaglview' may not respond '+setuserinteractionenabled:'
you're sending message class, not instance. you'd need object of type eaglview
send setuserinteractionenabled:
message to.
like:
eaglview *myview; [myview setuserinteractionenabled:true];
Comments
Post a Comment