---
title: framebufferTexture2D
framework: webkitjs
role: symbol
role_heading: Instance Method
path: webkitjs/webglrenderingcontextbase/1631554-framebuffertexture2d
---

# framebufferTexture2D

## Declaration

```data
void framebufferTexture2D(
    GLenum target, 
    GLenum attachment, 
    GLenum textarget, 
    WebGLTexture? texture, 
    GLint level
);
```
