CCConfiguration Class Reference
| Inherits from | NSObject |
| Declared in | CCConfiguration.h |
Tasks
Other Methods
-
maxTextureSizeOpenGL Max texture size.
property -
maxTextureUnitsreturns the maximum texture units
property -
supportsNPOTWhether or not the GPU supports NPOT (Non Power Of Two) textures. OpenGL ES 2.0 already supports NPOT (iOS).
property -
supportsPVRTCWhether or not PVR Texture Compressed is supported
property -
supportsBGRA8888Whether or not BGRA8888 textures are supported.
property -
supportsDiscardFramebufferWhether or not glDiscardFramebufferEXT is supported
property -
supportsShareableVAOWhether or not shareable VAOs are supported.
property -
OSVersionreturns the OS version.
property- On iOS devices it returns the firmware version. - On Mac returns the OS version -
+ sharedConfigurationreturns a shared instance of the CCConfiguration
-
– checkForGLExtension:returns whether or not an OpenGL is supported
-
– runningDevicereturns the current device
-
– dumpInfodumps in the console the CCConfiguration information.
Other Methods
-
loadingBundlethe bundle we load everything from
property -
maxModelviewStackDepthOpenGL 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 OSVersionAvailability
Declared In
CCConfiguration.hloadingBundle
the bundle we load everything from
@property (nonatomic, readwrite, assign) NSBundle *loadingBundleDeclared In
CCConfiguration.hmaxModelviewStackDepth
OpenGL Max Modelview Stack Depth.
@property (nonatomic, readonly) GLint maxModelviewStackDepthDeclared In
CCConfiguration.hmaxTextureSize
OpenGL Max texture size.
@property (nonatomic, readonly) GLint maxTextureSizeDeclared In
CCConfiguration.hmaxTextureUnits
returns the maximum texture units
@property (nonatomic, readonly) GLint maxTextureUnitsAvailability
Declared In
CCConfiguration.hsupportsBGRA8888
Whether or not BGRA8888 textures are supported.
@property (nonatomic, readonly) BOOL supportsBGRA8888Availability
Declared In
CCConfiguration.hsupportsDiscardFramebuffer
Whether or not glDiscardFramebufferEXT is supported
@property (nonatomic, readonly) BOOL supportsDiscardFramebufferAvailability
Declared In
CCConfiguration.hsupportsNPOT
Whether or not the GPU supports NPOT (Non Power Of Two) textures. OpenGL ES 2.0 already supports NPOT (iOS).
@property (nonatomic, readonly) BOOL supportsNPOTAvailability
Declared In
CCConfiguration.h