Help me initialize OpenGL ES in a View-based app
Hello,
I am writing a view-based app in which when I press a button, a new view with opengl triangle should be displayed.
I know changing views using addSubview and I also know how to write opengl triangle code. But, I don't know in what method to put the opengl code in! Do I have to write a renderScene() and then link to UIView glview ?
Please help me.
|