GLINVALIDATETEXIMAGE man page on RedHat
[printable version]
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 © 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 03/16/2013 GLINVALIDATETEXIMAGE(3G)
[top]
List of man pages available for RedHat
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|