//
//  MyView.h
//  eagl
//
//  Created by pin xue on 4/8/08.
//  Copyright http://www.play3d.net 2008. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

/**
 * OpenGL ES View
 * This view has capacity to display OpenGL ES content.
 * But the OpenGL ES system is not initialized inside,
 * it depends on extern c function void init_egl(NativeWindow) to do it.
 * It doesn't call rendering too, the user has to hold the context and surface by himself.
 */
@interface eglView : UIView 
{
   
}

/**
 * Return native window of this view.
 */
- (EAGLNativeWindow) getNativeWindow;

@end
