#import "CCDirectorIOS.h"
Inherits CCDirector.
Inherited by CCDirectorDisplayLink, CCDirectorFast, CCDirectorFastThreaded, and CCDirectorTimer.
Public Member Functions | |
(BOOL) | - attachInView: |
(BOOL) | - attachInView:withFrame: |
(BOOL) | - attachInWindow: |
(BOOL) | - DEPRECATED_ATTRIBUTE |
(void) | - setDepthBufferFormat: |
(void) | - setPixelFormat: |
Properties | |
tPixelFormat pixelFormat | DEPRECATED_ATTRIBUTE |
CCDirectorIOS: Base class of iOS directors
- (BOOL) attachInView: | (UIView *) | DEPRECATED_ATTRIBUTE |
attach in UIView using the full frame. It will create a EAGLView.
- (BOOL) attachInView: | (UIView *) | view | ||
withFrame: | (CGRect) | DEPRECATED_ATTRIBUTE | ||
attach in UIView using the given frame. It will create a EAGLView and use it.
- (BOOL) attachInWindow: | (UIWindow *) | DEPRECATED_ATTRIBUTE |
attach in UIWindow using the full frame. It will create a EAGLView.
- (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
- (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
- (tPixelFormat pixelFormat) DEPRECATED_ATTRIBUTE [read, assign] |
Pixel format used to create the context