Skip to content

API Reference / @gtkx/gl / framebufferTexture

Function: framebufferTexture()

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

Defined in: generated/commands.d.ts:2126

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

Released under the MPL-2.0 License.