---
title: kEAGLDrawablePropertyColorFormat
framework: opengles
role: symbol
role_heading: Global Variable
path: opengles/keagldrawablepropertycolorformat
---

# kEAGLDrawablePropertyColorFormat

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.

## Declaration

```swift
let kEAGLDrawablePropertyColorFormat: String
```
