<!--
{
  "availability" : [
    "iOS: 3.0.0 - 12.0.0",
    "iPadOS: 3.0.0 - 12.0.0",
    "macCatalyst: 3.0.0 - 12.0.0",
    "tvOS: 9.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "OpenGLES",
  "identifier" : "/documentation/OpenGLES/glBindFramebuffer(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "OpenGL ES"
    ],
    "preciseIdentifier" : "c:@F@glBindFramebuffer"
  },
  "title" : "glBindFramebuffer(_:_:)"
}
-->

# glBindFramebuffer(_:_:)

```
func glBindFramebuffer(_ target: GLenum, _ framebuffer: GLuint)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)