Skip to content

API Reference / @gtkx/gl / framebufferTexture

Function: framebufferTexture() ​

framebufferTexture(target, attachment, texture, level): void

Defined in: packages/gl/src/generated/commands.ts:2639

void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)

Provided by GL_VERSION_3_2. Registry note: Reuse ARB_texture_multisample Also known as glFramebufferTextureARB, glFramebufferTextureEXT, glFramebufferTextureOES.

Parameters ​

target ​

number

FramebufferTarget

attachment ​

number

FramebufferAttachment

texture ​

number

GLuint, object class texture

level ​

number

GLint

Returns ​

void