Declared in CC3CC2Extensions.h

Overview

Extension to support Cocos3D functionality.

Properties

colorRenderBuffer

Color Renderbuffer

@property (nonatomic, readonly) GLuint colorRenderBuffer

Declared In

CC3CC2Extensions.h

context

The OpenGL context used by this view.

@property (nonatomic, retain, readonly) CC3GLContext *context

Declared In

CC3CC2Extensions.h

defaultFrameBuffer

Default Renderbuffer

@property (nonatomic, readonly) GLuint defaultFrameBuffer

Declared In

CC3CC2Extensions.h

depthBuffer

Depth Buffer

@property (nonatomic, readonly) GLuint depthBuffer

Declared In

CC3CC2Extensions.h

msaaColorBuffer

MSAA Color Buffer

@property (nonatomic, readonly) GLuint msaaColorBuffer

Declared In

CC3CC2Extensions.h

msaaFrameBuffer

MSAA Framebuffer

@property (nonatomic, readonly) GLuint msaaFrameBuffer

Declared In

CC3CC2Extensions.h

pixelColorFormat

Returns the GL color format of the pixels.

@property (nonatomic, readonly) GLenum pixelColorFormat

Declared In

CC3CC2Extensions.h

pixelDepthFormat

Returns the GL depth format of the pixels.

@property (nonatomic, readonly) GLenum pixelDepthFormat

Declared In

CC3CC2Extensions.h

pixelSamples

Returns the actual number of samples used to define each pixel.

@property (nonatomic, readonly) GLuint pixelSamples

Discussion

This may return a value that is different than the value returned by the requestedSamples property because this property is limited by the capabilities of the platform.

Declared In

CC3CC2Extensions.h

requestedSamples

Returns the number of samples that was requested to be used to define each pixel.

@property (nonatomic, readonly) GLuint requestedSamples

Discussion

This may return a value that is different than the value returned by the pixelSamples property because that property is limited by the capabilities of the platform.

Declared In

CC3CC2Extensions.h

surfaceSize

returns surface size in pixels

@property (nonatomic, readonly) CGSize surfaceSize

Declared In

CC3CC2Extensions.h

Class Methods

viewWithFrame:pixelFormat:depthFormat:preserveBackbuffer:numberOfSamples:

Allocates and initializes an instance with the specified characteristics.

+ (id)viewWithFrame:(CGRect)frame pixelFormat:(NSString *)colorFormat depthFormat:(GLenum)depthFormat preserveBackbuffer:(BOOL)isRetained numberOfSamples:(GLuint)sampleCount

Declared In

CC3CC2Extensions.h

Instance Methods

addGestureRecognizer:

Dummy method for compatibility with iOS.

- (void)addGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer

Declared In

CC3CC2Extensions.h

initWithFrame:pixelFormat:depthFormat:preserveBackbuffer:numberOfSamples:

Initializes this instance with the specified characteristics.

- (id)initWithFrame:(CGRect)frame pixelFormat:(NSString *)colorFormat depthFormat:(GLenum)depthFormat preserveBackbuffer:(BOOL)isRetained numberOfSamples:(GLuint)sampleCount

Declared In

CC3CC2Extensions.h

removeGestureRecognizer:

Dummy method for compatibility with iOS.

- (void)removeGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer

Declared In

CC3CC2Extensions.h