Public Member Functions | Properties

CCDirectorIOS Class Reference

#import "CCDirectorIOS.h"

Inherits CCDirector.

Inherited by CCDirectorDisplayLink, CCDirectorFast, CCDirectorFastThreaded, and CCDirectorTimer.

Collaboration diagram for CCDirectorIOS:
[legend]

List of all members.

Public Member Functions

(BOOL) - attachInView:
(BOOL) - attachInView:withFrame:
(BOOL) - attachInWindow:
(BOOL) - DEPRECATED_ATTRIBUTE
(void) - setDepthBufferFormat:
(void) - setPixelFormat:

Properties

tPixelFormat pixelFormat DEPRECATED_ATTRIBUTE

Detailed Description

CCDirectorIOS: Base class of iOS directors

Since:
v0.99.5

Member Function Documentation

- (BOOL) attachInView: (UIView *)  DEPRECATED_ATTRIBUTE  

attach in UIView using the full frame. It will create a EAGLView.

Deprecated:
set setOpenGLView instead. Will be removed in v1.0
- (BOOL) attachInView: (UIView *)  view
withFrame: (CGRect)  DEPRECATED_ATTRIBUTE 

attach in UIView using the given frame. It will create a EAGLView and use it.

Deprecated:
set setOpenGLView instead. Will be removed in v1.0
- (BOOL) attachInWindow: (UIWindow *)  DEPRECATED_ATTRIBUTE  

attach in UIWindow using the full frame. It will create a EAGLView.

Deprecated:
set setOpenGLView instead. Will be removed in v1.0
- (BOOL) DEPRECATED_ATTRIBUTE  

detach the cocos2d view from the view/window

- (void) setDepthBufferFormat: (tDepthBufferFormat)  DEPRECATED_ATTRIBUTE  

Change depth buffer format of the render buffer. Call this class method before attaching it to a UIWindow/UIView Default depth buffer: 0 (none). Supported: kCCDepthBufferNone, kCCDepthBuffer16, and kCCDepthBuffer24

Deprecated:
Set the depth buffer format when creating the EAGLView. This method will be removed in v1.0
- (void) setPixelFormat: (tPixelFormat)  DEPRECATED_ATTRIBUTE  

Uses a new pixel format for the EAGLView. Call this class method before attaching it to a UIView Default pixel format: kRGB565. Supported pixel formats: kRGBA8 and kRGB565

Deprecated:
Set the pixel format when creating the EAGLView. This method will be removed in v1.0

Property Documentation

- (tPixelFormat pixelFormat) DEPRECATED_ATTRIBUTE [read, assign]

Pixel format used to create the context


The documentation for this class was generated from the following file: