CCConfiguration Class Reference
Inherits from | NSObject |
Declared in | CCConfiguration.h |
Tasks
Other Methods
-
maxTextureSize
OpenGL Max texture size.
property -
maxTextureUnits
returns the maximum texture units
property -
supportsNPOT
Whether or not the GPU supports NPOT (Non Power Of Two) textures. OpenGL ES 2.0 already supports NPOT (iOS).
property -
supportsPVRTC
Whether or not PVR Texture Compressed is supported
property -
supportsBGRA8888
Whether or not BGRA8888 textures are supported.
property -
supportsDiscardFramebuffer
Whether or not glDiscardFramebufferEXT is supported
property -
supportsShareableVAO
Whether or not shareable VAOs are supported.
property -
OSVersion
returns the OS version.
property- On iOS devices it returns the firmware version. - On Mac returns the OS version
-
+ sharedConfiguration
returns a shared instance of the CCConfiguration
-
– checkForGLExtension:
returns whether or not an OpenGL is supported
-
– runningDevice
returns the current device
-
– dumpInfo
dumps in the console the CCConfiguration information.
Other Methods
-
loadingBundle
the bundle we load everything from
property -
maxModelviewStackDepth
OpenGL Max Modelview Stack Depth.
property
Properties
OSVersion
returns the OS version.
- On iOS devices it returns the firmware version.
- On Mac returns the OS version
@property (nonatomic, readonly) unsigned int OSVersion
Availability
Declared In
CCConfiguration.h
loadingBundle
the bundle we load everything from
@property (nonatomic, readwrite, assign) NSBundle *loadingBundle
Declared In
CCConfiguration.h
maxModelviewStackDepth
OpenGL Max Modelview Stack Depth.
@property (nonatomic, readonly) GLint maxModelviewStackDepth
Declared In
CCConfiguration.h
maxTextureSize
OpenGL Max texture size.
@property (nonatomic, readonly) GLint maxTextureSize
Declared In
CCConfiguration.h
maxTextureUnits
returns the maximum texture units
@property (nonatomic, readonly) GLint maxTextureUnits
Availability
Declared In
CCConfiguration.h
supportsBGRA8888
Whether or not BGRA8888 textures are supported.
@property (nonatomic, readonly) BOOL supportsBGRA8888
Availability
Declared In
CCConfiguration.h
supportsDiscardFramebuffer
Whether or not glDiscardFramebufferEXT is supported
@property (nonatomic, readonly) BOOL supportsDiscardFramebuffer
Availability
Declared In
CCConfiguration.h
supportsNPOT
Whether or not the GPU supports NPOT (Non Power Of Two) textures. OpenGL ES 2.0 already supports NPOT (iOS).
@property (nonatomic, readonly) BOOL supportsNPOT
Availability
Declared In
CCConfiguration.h