OpenGL ES Constants

No overview available.




Specifies a 16-bit RGB format that corresponds to the OpenGL ES GL_RGB565 format.


Specifies a 32-bit RGBA format that corresponds to the OpenGL ES GL_RGBA8888 format.


The key specifying the internal color buffer format for the drawable surface. The value for this key is an NSString object that specifies a specific color buffer format. This color buffer format is used by the EAGLContext object to create the storage for a renderbuffer. The default value is kEAGLColorFormatRGBA8.


The key specifying whether the drawable surface retains its contents after displaying them. The value for this key is an NSNumber object containing a BOOL data type. If NO, you may not rely on the contents being the same after the contents are displayed. If YES, then the contents will not change after being displayed. Setting the value to YES is recommended only when you need the content to remain unchanged, as using it can result in both reduced performance and additional memory usage. The default value is NO.