This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass its superclass VgEAGLBaseView contains most important methods. More...


Public Member Functions | |
| (id) | - initWithFrame: |
| Creates a new VgEAGLView and as well as setting itself as the current context. | |
| (id) | - initWithFrame:pixelFormat: |
| (id) | - initWithFrame:pixelFormat:depthFormat:preserveBackbuffer: |
| (void) | - startAnimation |
| Responsible for creating the VisioDevKit application. | |
This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass its superclass VgEAGLBaseView contains most important methods.
The view content is basically an EAGL surface you render your OpenGL scene into.
| - (id) initWithFrame: | (CGRect) | frame |
Creates a new VgEAGLView and as well as setting itself as the current context.
By default multiple touch support on the view is enabled. The default orientation is UIInterfaceOrientationPortrait.
| frame | - default frame size of the view |
| - (id) initWithFrame: | (CGRect) | frame | |
| pixelFormat: | (NSString *) | format | |
| - (id) initWithFrame: | (CGRect) | frame | |
| pixelFormat: | (NSString *) | format | |
| depthFormat: | (unsigned int) | depth | |
| preserveBackbuffer: | (BOOL) | retained | |
| - (void) startAnimation |
Responsible for creating the VisioDevKit application.
This means it will call VgApplication::VgIApplication::createApplication on your behalf as well as initiating the animation timer responsible for invoking the render scene.
Implements VgEAGLBaseView.