#import <CCConfiguration.h>
Public Member Functions | |
| (BOOL) | - checkForGLExtension: |
Static Public Member Functions | |
| (CCConfiguration *) | + sharedConfiguration |
Properties | |
| NSBundle * | loadingBundle |
| GLint | maxTextureSize |
| GLint | maxModelviewStackDepth |
| BOOL | supportsNPOT |
| BOOL | supportsPVRTC |
| BOOL | supportsBGRA8888 |
| BOOL | supportsDiscardFramebuffer |
CCConfiguration contains some openGL variables
Definition at line 33 of file CCConfiguration.h.
| - (BOOL) checkForGLExtension: | (NSString *) | searchName |
returns whether or not an OpenGL is supported
| + (CCConfiguration *) sharedConfiguration |
returns a shared instance of the CCConfiguration
- (NSBundle*) loadingBundle [read, write, assign] |
the bundle we load everything from
Definition at line 46 of file CCConfiguration.h.
- (GLint) maxModelviewStackDepth [read, assign] |
OpenGL Max Modelview Stack Depth.
Definition at line 52 of file CCConfiguration.h.
- (GLint) maxTextureSize [read, assign] |
OpenGL Max texture size.
Definition at line 49 of file CCConfiguration.h.
- (BOOL) supportsBGRA8888 [read, assign] |
Whether or not BGRA8888 textures are supported.
Definition at line 70 of file CCConfiguration.h.
- (BOOL) supportsDiscardFramebuffer [read, assign] |
Whether or not glDiscardFramebufferEXT is supported
Definition at line 76 of file CCConfiguration.h.
- (BOOL) supportsNPOT [read, assign] |
Whether or not the GPU supports NPOT (Non Power Of Two) textures. NPOT textures have the following limitations:
Definition at line 61 of file CCConfiguration.h.
- (BOOL) supportsPVRTC [read, assign] |
Whether or not PVR Texture Compressed is supported
Definition at line 64 of file CCConfiguration.h.