CCGLView(CC3) Category Reference
Declared in | CC3CC2Extensions.h |
Tasks
-
pixelColorFormat
property -
pixelDepthFormat
property -
defaultFrameBuffer
property -
msaaFrameBuffer
property -
colorRenderBuffer
property -
msaaColorBuffer
property -
depthBuffer
property -
requestedSamples
property -
pixelSamples
property -
– initWithFrame:pixelFormat:depthFormat:preserveBackbuffer:numberOfSamples:
-
+ viewWithFrame:pixelFormat:depthFormat:preserveBackbuffer:numberOfSamples:
-
surfaceSize
property -
context
property -
– addGestureRecognizer:
-
– removeGestureRecognizer:
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
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