glFramebufferTextureLayer

attach a single layer of a texture to a framebuffer

Signature

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

Parameters

VariablesDescription
target
Specifies 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_ATTACHMENT i , GL_DEPTH_ATTACHMENT , GL_STENCIL_ATTACHMENT or GL_DEPTH_STENCIL_ATTACHMENT .
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.

Copyright Notices

This documentation is based on documentation licensed under the SGI Free Software License B.

AltStyle によって変換されたページ (->オリジナル) /