Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glinvalidateteximage(3g) [centos man page]

GLINVALIDATETEXIMAGE(3G)					   OpenGL Manual					  GLINVALIDATETEXIMAGE(3G)

NAME
glInvalidateTexImage - invalidate the entirety a texture image C SPECIFICATION
void glInvalidateTexImage(GLuint texture, GLint level); PARAMETERS
texture The name of a texture object to invalidate. level The level of detail of the texture object to invalidate. DESCRIPTION
glInvalidateTexSubImage invalidates all of a texture image. texture and level indicated which texture image is being invalidated. After this command, data in the texture image has undefined values. level must be greater than or equal to zero and be less than the base 2 logarithm of the maximum texture width, height, or depth. For textures of targets GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE, or GL_TEXTURE_2D_MULTISAMPLE_ARRAY, level must be zero. ERRORS
GL_INVALID_VALUE is generated if level is less than zero or if it is greater or equal to the base 2 logarithm of the maximum texture width, height, or depth. GL_INVALID_VALUE is generated if the target of texture is any of GL_TEXTURE_RECTANGLE, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE, or GL_TEXTURE_2D_MULTISAMPLE_ARRAY and level is not zero. GL_INVALID_VALUE is generated if texture is not the name of an existing texture object. ASSOCIATED GETS
glGet() with argument GL_MAX_TEXTURE_SIZE SEE ALSO
glInvalidateTexSubImage(),, glInvalidateBufferSubData(), glInvalidateBufferData(), glInvalidateFramebuffer(), glInvalidateSubFramebuffer(). COPYRIGHT
Copyright (C) 2012 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/. AUTHORS
opengl.org opengl.org 06/10/2014 GLINVALIDATETEXIMAGE(3G)

Check Out this Related Man Page

GLFRAMEBUFFERTEXTURE(3G)					    OpenGL 3.3						  GLFRAMEBUFFERTEXTURE(3G)

NAME
glFramebufferTextureLayer - attach a single layer of a texture to a framebuffer C SPECIFICATION
void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); PARAMETERS
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_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
glFramebufferTextureLayer operates like glFramebufferTexture(), except that only a single layer of the texture level, given by layer, is attached to the attachment point. If texture is not zero, layer must be greater than or equal to zero. texture must either be zero or the name of an existing three-dimensional texture, one- or two-dimensional array texture, or multisample array texture. NOTES
glFramebufferTextureLayer is available only if the GL version is 3.2 or greater. ERRORS
GL_INVALID_ENUM is generated if target is not one of the accepted tokens. GL_INVALID_ENUM is generated if attachment is not one of the accepted tokens. GL_INVALID_VALUE is generated if texture is not zero or the name of an existing texture object. GL_INVALID_VALUE is generated if texture is not zero and layer is negative. GL_INVALID_OPERATION is generated if zero is bound to target. GL_INVALID_OPERATION is generated if texture is not zero or the name of an existing cube map texture. SEE ALSO
glGenFramebuffers(), glBindFramebuffer(), glGenRenderbuffers(), glFramebufferTexture(), glFramebufferTextureFace() COPYRIGHT
Copyright (C) 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/. OpenGL 3.3 03/08/2011 GLFRAMEBUFFERTEXTURE(3G)
Man Page