Skip to content

API Reference / @gtkx/gl / framebufferTextureLayer

Function: framebufferTextureLayer()

framebufferTextureLayer(target, attachment, texture, level, layer): void

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

void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)

Provided by GL_VERSION_3_0. Registry note: Reuse ARB_framebuffer_object Also provided by the GL_ARB_framebuffer_object extension. Also known as glFramebufferTextureLayerARB, glFramebufferTextureLayerEXT. GLX render opcode 237.

Parameters

target

number

FramebufferTarget

attachment

number

FramebufferAttachment

texture

number

GLuint, object class texture

level

number

GLint, kind CheckedInt32

layer

number

GLint, kind CheckedInt32

Returns

void

Released under the MPL-2.0 License.