framebufferTexture2D method
      
void
framebufferTexture2D(
    
- GLenum target,
- GLenum attachment,
- GLenum textarget,
- WebGLTexture? texture,
- GLint level,
The WebGLRenderingContext.framebufferTexture2D() method
of the
WebGL API
attaches a texture to a
WebGLFramebuffer.
Implementation
external void framebufferTexture2D(
  GLenum target,
  GLenum attachment,
  GLenum textarget,
  WebGLTexture? texture,
  GLint level,
);