cocos3d  2.0.0
Instance Methods | List of all members
CC3IOSOnScreenGLRenderbuffer Class Reference

#import <CC3RenderSurfaces.h>

Inheritance diagram for CC3IOSOnScreenGLRenderbuffer:
Inheritance graph
[legend]

Instance Methods

(void) - resizeTo:
 
- Instance Methods inherited from CC3GLRenderbuffer
(id) - initWithPixelFormat:
 
(id) - initWithPixelFormat:andPixelSamples:
 
(id) - initWithSize:andPixelFormat:
 
- Instance Methods inherited from <CC3FramebufferAttachment>
(void) - bindToFramebuffer:asAttachment:
 
(void) - unbindFromFramebuffer:asAttachment:
 
- Instance Methods inherited from <CC3RenderSurfaceAttachment>
(void) - replacePixels:withContent:
 
- Instance Methods inherited from <CC3Object>
(id) - asWeakReference
 
(NSString *) - fullDescription
 
(id) - resolveWeakReference
 

Additional Inherited Members

- Class Methods inherited from CC3GLRenderbuffer
(id) + renderbuffer
 
(id) + renderbufferWithPixelFormat:
 
(id) + renderbufferWithPixelFormat:andPixelSamples:
 
(id) + renderbufferWithSize:andPixelFormat:
 
- Properties inherited from CC3GLRenderbuffer
GLenum pixelFormat
 
GLuint pixelSamples
 
GLuint renderbufferID
 

Detailed Description

CC3IOSOnScreenGLRenderbuffer is a specialized renderbuffer whose contents are presented to the screen, and whose storage is provided by the view under iOS.

In this class, the implementation of the resizeTo: method does not allocate storage within the GL engine, and sets the pixelFormat property by retrieving the value from the GL engine.

Method Documentation

- (void) resizeTo: (CC3IntSize size

Sets the size and retreives the pixelFormat property from the GL engine.

As storage for renderbuffers of this class is provided by the view, this implementation does not allocate storage space within GL memory.

Reimplemented from <CC3RenderSurfaceAttachment>.


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