table of contents
other versions
GLFRAMEBUFFERTEXTURE(3G) | [FIXME: manual] | GLFRAMEBUFFERTEXTURE(3G) |
NAME¶
glFramebufferTextureLayer - attach a single layer of a texture to a framebufferC SPECIFICATION¶
void
glFramebufferTextureLayer(GLenum target,
GLenum attachment, GLuint texture,
GLint level, GLint layer);
PARAMETERS¶
targetSpecifies the framebuffer target.
target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER,
or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to
GL_DRAW_FRAMEBUFFER.
attachment
Specifies the attachment point of the
framebuffer. attachment must be
GL_COLOR_ATTACHMENTi, GL_DEPTH_ATTACHMENT,
GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMMENT.
texture
Specifies the texture object to attach to the
framebuffer attachment point named by attachment.
level
Specifies the mipmap level of texture
to attach.
layer
Specifies the layer of texture to
attach.
DESCRIPTION¶
ERRORS¶
SEE ALSO¶
COPYRIGHT¶
Copyright © 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.05/30/2012 | [FIXME: source] |