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

# glFramebufferTextureLayer(_:_:_:_:_:)

## Declaration

```swift
func glFramebufferTextureLayer(_ target: GLenum, _ attachment: GLenum, _ texture: GLuint, _ level: GLint, _ layer: GLint)
```
