Macros | |
#define | APPORTABLE 0 |
#define | CC3_IOS defined(__IPHONE_OS_VERSION_MAX_ALLOWED) |
#define | CC3_OGL (CC3_OSX) |
#define | CC3_OGLES (CC3_IOS) |
#define | CC3_OGLES_1 ((CC3_OGLES) && (CC3_PVR_OGLES_1)) |
#define | CC3_OGLES_2 ((CC3_OGLES) && (!CC3_PVR_OGLES_1)) |
#define | CC3_OSX defined(__MAC_OS_X_VERSION_MAX_ALLOWED) |
#define | CC3_PVR_OGLES_1 0 |
#define APPORTABLE 0 |
Running on Android via Apportable.
Explicitly set as a build setting.
#define CC3_IOS defined(__IPHONE_OS_VERSION_MAX_ALLOWED) |
Running on an Apple OS.
Required for Apportable. Running on iOS
#define CC3_OGL (CC3_OSX) |
Running OpenGL under OSX on the Mac.
#define CC3_OGLES (CC3_IOS) |
Running some form of OpenGL ES under iOS.
#define CC3_OGLES_1 ((CC3_OGLES) && (CC3_PVR_OGLES_1)) |
Running OpenGL ES 1 under iOS.
#define CC3_OGLES_2 ((CC3_OGLES) && (!CC3_PVR_OGLES_1)) |
Running OpenGL ES 2 under iOS.
#define CC3_OSX defined(__MAC_OS_X_VERSION_MAX_ALLOWED) |
Running on OSX.
#define CC3_PVR_OGLES_1 0 |
Allow build settings to force the use of OGLES 1 if compiling for older iOS devices.