'\" t .\" Title: glInvalidateTexImage .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 05/21/2015 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" .TH "GLINVALIDATETEXIMAGE" "3G" "05/21/2015" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" glInvalidateTexImage \- invalidate the entirety a texture image .SH "C SPECIFICATION" .HP \w'void\ glInvalidateTexImage('u .BI "void glInvalidateTexImage(GLuint\ " "texture" ", GLint\ " "level" ");" .SH "PARAMETERS" .PP \fItexture\fR .RS 4 The name of a texture object to invalidate\&. .RE .PP \fIlevel\fR .RS 4 The level of detail of the texture object to invalidate\&. .RE .SH "DESCRIPTION" .PP \fBglInvalidateTexSubImage\fR invalidates all of a texture image\&. \fItexture\fR and \fIlevel\fR indicated which texture image is being invalidated\&. After this command, data in the texture image has undefined values\&. .PP \fIlevel\fR must be greater than or equal to zero and be less than the base 2 logarithm of the maximum texture width, height, or depth\&. .PP For textures of targets \fBGL_TEXTURE_RECTANGLE\fR, \fBGL_TEXTURE_BUFFER\fR, \fBGL_TEXTURE_2D_MULTISAMPLE\fR, or \fBGL_TEXTURE_2D_MULTISAMPLE_ARRAY\fR, level must be zero\&. .SH "ERRORS" .PP \fBGL_INVALID_VALUE\fR is generated if \fIlevel\fR is less than zero or if it is greater or equal to the base 2 logarithm of the maximum texture width, height, or depth\&. .PP \fBGL_INVALID_VALUE\fR is generated if the target of \fItexture\fR is any of \fBGL_TEXTURE_RECTANGLE\fR, \fBGL_TEXTURE_BUFFER\fR, \fBGL_TEXTURE_2D_MULTISAMPLE\fR, or \fBGL_TEXTURE_2D_MULTISAMPLE_ARRAY\fR and \fIlevel\fR is not zero\&. .PP \fBGL_INVALID_VALUE\fR is generated if \fItexture\fR is not the name of an existing texture object\&. .SH "ASSOCIATED GETS" .PP \fBglGet\fR() with argument \fBGL_MAX_TEXTURE_SIZE\fR .SH "VERSION SUPPORT" .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ \fBOpenGL Version\fR T} T{ \fBFunction / Feature Name\fR T}:T{ \fB2\&.0\fR T}:T{ \fB2\&.1\fR T}:T{ \fB3\&.0\fR T}:T{ \fB3\&.1\fR T}:T{ \fB3\&.2\fR T}:T{ \fB3\&.3\fR T}:T{ \fB4\&.0\fR T}:T{ \fB4\&.1\fR T}:T{ \fB4\&.2\fR T}:T{ \fB4\&.3\fR T}:T{ \fB4\&.4\fR T}:T{ \fB4\&.5\fR T} .T& l c c c c c c c c c c c c. T{ \fBglInvalidateTexImage\fR T}:T{ \- T}:T{ \- T}:T{ \- T}:T{ \- T}:T{ \- T}:T{ \- T}:T{ \- T}:T{ \- T}:T{ \- T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T} .TE .sp .SH "SEE ALSO" .PP \fBglInvalidateTexSubImage\fR(),, \fBglInvalidateBufferSubData\fR(), \fBglInvalidateBufferData\fR(), \fBglInvalidateFramebuffer\fR(), \fBglInvalidateSubFramebuffer\fR()\&. .SH "COPYRIGHT" .PP Copyright \(co 2013\-2014 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\&. \m[blue]\fBhttp://opencontent\&.org/openpub/\fR\m[]\&. .SH "COPYRIGHT" .br Copyright \(co 2013-2014 Khronos Group .br