gentextures.3gl 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 gentextur
  9. .ds Xs 11752 4 gentextures.gl
  10. .TH GLGENTEXTURES 3G
  11. .SH NAME
  12. .B "glGenTextures
  13. \- generate texture names
  14. .SH C SPECIFICATION
  15. void \f3glGenTextures\fP(
  16. GLsizei \fIn\fP,
  17. .nf
  18. .ta \w'\f3void \fPglGenTextures( 'u
  19. GLuint \fI*textures\fP )
  20. .fi
  21. .SH PARAMETERS
  22. .TP \w'\fItextures\fP\ \ 'u
  23. \f2n\fP
  24. Specifies the number of texture names to be generated.
  25. .TP
  26. \f2textures\fP
  27. Specifies an array in which the generated texture names are stored.
  28. .SH DESCRIPTION
  29. \%\f3glGenTextures\fP returns \f2n\fP texture names in \f2textures\fP.
  30. There is no guarantee that the names form a contiguous set of integers;
  31. however, it is guaranteed that none of the returned names was in use
  32. immediately before the call to \%\f3glGenTextures\fP.
  33. .P
  34. The generated textures have no dimensionality; they assume the dimensionality
  35. of the texture target to which they are first bound
  36. (see \%\f3glBindTexture\fP).
  37. .P
  38. Texture names returned by a call to \%\f3glGenTextures\fP are not returned by
  39. subsequent calls, unless they are first deleted with
  40. \%\f3glDeleteTextures\fP.
  41. .SH NOTES
  42. \%\f3glGenTextures\fP is available only if the GL version is 1.1 or greater.
  43. .SH ERRORS
  44. \%\f3GL_INVALID_VALUE\fP is generated if \f2n\fP is negative.
  45. .P
  46. \%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGenTextures\fP is executed
  47. between the execution of \%\f3glBegin\fP and the corresponding
  48. execution of \%\f3glEnd\fP.
  49. .SH ASSOCIATED GETS
  50. \%\f3glIsTexture\fP
  51. .SH SEE ALSO
  52. \%\f3glBindTexture(3G)\fP,
  53. \%\f3glCopyTexImage1D(3G)\fP,
  54. \%\f3glCopyTexImage2D(3G)\fP,
  55. \%\f3glDeleteTextures(3G)\fP,
  56. \%\f3glGet(3G)\fP,
  57. \%\f3glGetTexParameter(3G)\fP,
  58. \%\f3glTexImage1D(3G)\fP,
  59. \%\f3glTexImage2D(3G)\fP,
  60. \%\f3glTexImage3D(3G)\fP,
  61. \%\f3glTexParameter(3G)\fP