Detailed Description

This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass. The view content is basically an EAGL surface you render your OpenGL scene into. Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.

Only available for Mac OS X

Method Documentation

- (CGPoint)
convertPointFromViewToSurface:

(CGPoint)

point

- (CGPoint)
convertPointFromViewToSurface:

var

point

- (CGPoint)
convertPointFromViewToSurface:

local

point

- (CGRect)
convertRectFromViewToSurface:

(CGRect)

rect

- (CGRect)
convertRectFromViewToSurface:

var

rect

- (CGRect)
convertRectFromViewToSurface:

local

rect

- (NSUInteger) depthFormat

returns the depth format of the view in BPP

var depthFormat

returns the depth format of the view in BPP

local depthFormat

returns the depth format of the view in BPP

- (void)
doAnimationWhenAnotherEditBeClicked

var
doAnimationWhenAnotherEditBeClicked

local
doAnimationWhenAnotherEditBeClicked

- (void)
doAnimationWhenKeyboardMoveWithDuration:

(float)

duration

distance:

(float)

dis

- (void)
doAnimationWhenKeyboardMoveWithDuration:

var

duration

distance:

var

dis

- (void)
doAnimationWhenKeyboardMoveWithDuration:

local

duration

distance:

local

dis

- (int) getHeight

var getHeight

local getHeight

- (int) getHeight

var getHeight

local getHeight

- (int) getWidth

var getWidth

local getWidth

- (int) getWidth

var getWidth

local getWidth

- (id) initWithFrame:

(CGRect)

frame

Initializes an EAGLView with a frame and 0-bit depth buffer, and a RGB565 color buffer.

- (id) initWithFrame:

var

frame

Initializes an EAGLView with a frame and 0-bit depth buffer, and a RGB565 color buffer.

- (id) initWithFrame:

local

frame

Initializes an EAGLView with a frame and 0-bit depth buffer, and a RGB565 color buffer.