deletetextures.3gl 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. '\" e
  2. '\"! eqn | mmdoc
  3. '\"macro stdmacro
  4. .ds Vn Version 1.2
  5. .ds Dt 24 September 1999
  6. .ds Re Release 1.2.1
  7. .ds Dp Jan 14 18:30
  8. .ds Dm 01 deletetex
  9. .ds Xs 39225 4 deletetextures.gl
  10. .TH GLDELETETEXTURES 3G
  11. .SH NAME
  12. .B "glDeleteTextures
  13. \- delete named textures
  14. .SH C SPECIFICATION
  15. void \f3glDeleteTextures\fP(
  16. GLsizei \fIn\fP,
  17. .nf
  18. .ta \w'\f3void \fPglDeleteTextures( 'u
  19. const GLuint \fI*textures\fP )
  20. .fi
  21. .SH PARAMETERS
  22. .TP \w'\fItextures\fP\ \ 'u
  23. \f2n\fP
  24. Specifies the number of textures to be deleted.
  25. .TP
  26. \f2textures\fP
  27. Specifies an array of textures to be deleted.
  28. .SH DESCRIPTION
  29. \%\f3glDeleteTextures\fP deletes \f2n\fP textures named by the elements of the array \f2textures\fP.
  30. After a texture is deleted, it has no contents or dimensionality,
  31. and its name is free for reuse (for example by \%\f3glGenTextures\fP).
  32. If a texture that is currently bound is deleted, the binding reverts
  33. to 0 (the default texture).
  34. .P
  35. \%\f3glDeleteTextures\fP silently ignores 0's and names that do not correspond to
  36. existing textures.
  37. .SH NOTES
  38. \%\f3glDeleteTextures\fP is available only if the GL version is 1.1 or greater.
  39. .SH ERRORS
  40. \%\f3GL_INVALID_VALUE\fP is generated if \f2n\fP is negative.
  41. .P
  42. \%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDeleteTextures\fP is executed
  43. between the execution of \%\f3glBegin\fP and the corresponding
  44. execution of \%\f3glEnd\fP.
  45. .SH ASSOCIATED GETS
  46. \%\f3glIsTexture\fP
  47. .SH SEE ALSO
  48. \%\f3glAreTexturesResident(3G)\fP,
  49. \%\f3glBindTexture(3G)\fP,
  50. \%\f3glCopyTexImage1D(3G)\fP,
  51. \%\f3glCopyTexImage2D(3G)\fP,
  52. \%\f3glGenTextures(3G)\fP,
  53. \%\f3glGet(3G)\fP,
  54. \%\f3glGetTexParameter(3G)\fP,
  55. \%\f3glPrioritizeTextures(3G)\fP,
  56. \%\f3glTexImage1D(3G)\fP,
  57. \%\f3glTexImage2D(3G)\fP,
  58. \%\f3glTexParameter(3G)\fP