Skip to content

API Reference / @gtkx/gl / namedFramebufferTextureLayer

Function: namedFramebufferTextureLayer()

namedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer): void

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

void glNamedFramebufferTextureLayer(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer)

Provided by GL_VERSION_4_5. Registry note: Reuse GL_ARB_direct_state_access Also provided by the GL_ARB_direct_state_access extension. GL_ARB_direct_state_access note: Framebuffer object functions.

Parameters

framebuffer

number

GLuint, object class framebuffer

attachment

number

FramebufferAttachment

texture

number

GLuint, object class texture

level

number

GLint

layer

number

GLint

Returns

void

Released under the MPL-2.0 License.