---
title: "glDiscardFramebufferEXT(_:_:_:)"
framework: OpenGL ES
role: symbol
role_heading: Function
platforms: [iOS 4.0+, iPadOS 4.0+, Mac Catalyst 4.0+, tvOS 9.0+]
path: "opengles/gldiscardframebufferext(_:_:_:)"
---

# glDiscardFramebufferEXT(_:_:_:)

## Declaration

```swift
func glDiscardFramebufferEXT(_ target: GLenum, _ numAttachments: GLsizei, _ attachments: UnsafePointer<GLenum>!)
```
