---
title: EAGLDrawable
framework: opengles
role: symbol
role_heading: Protocol
path: opengles/eagldrawable
---

# EAGLDrawable

iOS objects that implement the EAGLDrawable protocol can be used as a rendering surface and displayed to the screen by an EAGLContext object. In iOS 2.0, this protocol is implemented only by the CAEAGLLayer class, but in the future other classes may choose to implement the protocol. The EAGLDrawable protocol is not intended to be implemented by objects outside of the iOS.

## Declaration

```swift
protocol EAGLDrawable
```

## Topics

### Drawable Properties

- [drawableProperties](opengles/eagldrawable/drawableproperties.md)

### Constants

- [Drawable Property Keys](opengles/drawable-property-keys.md)
- [Color Formats](opengles/color-formats.md)
