2022-07-31 21:57:56 +00:00
{{QBDLDATE:07-31-2022}}
{{QBDLTIME:23:53:07}}
{{DISPLAYTITLE:_glTexImage1D}}
The '''_glTexImage1D''' statement specifies a one-dimensional texture image.
2022-05-20 22:18:31 +00:00
{{PageSyntax}}
2022-07-31 21:57:56 +00:00
: '''_glTexImage1D''' GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|internalformat}}, GLsizei {{Parameter|width}}, GLint {{Parameter|border}}, GLint {{Parameter|format}}, GLenum {{Parameter|type}}, const GLvoid {{Parameter|*pixels}}
2022-05-20 22:18:31 +00:00
2022-07-31 21:57:56 +00:00
{{PageParameters}}
* OpenGL is using its own set of variable types to describe its command parameters.
* Use the following table to find the respective QB64 [[Variable Types]].
{{OpenGLTypesPlugin}}
2022-05-20 22:18:31 +00:00
{{PageDescription}}
2022-07-31 21:57:56 +00:00
* OpenGL's documentation is available in several places, so we won't reproduce it here for another time.
* The full description for this command can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/glteximage1d Microsoft Docs] and is also valid for QB64 usage.
2022-05-20 22:18:31 +00:00
{{PageSeeAlso}}
2022-07-31 21:57:56 +00:00
* [[_GL|SUB _GL]]
* [[_glBegin]], [[_glCopyPixels]], [[_glCopyTexImage1D]], [[_glCopyTexImage2D]]
* [[_glCopyTexSubImage1D]], [[_glCopyTexSubImage2D]], [[_glDrawPixels]], [[_glEnd]]
* [https://docs.microsoft.com/en-us/windows/win32/opengl/glfog _glFog], [[_glGetTexImage]], [[_glIsEnabled]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glpixelstore-functions _glPixelStore]
* [https://docs.microsoft.com/en-us/windows/win32/opengl/glpixeltransfer _glPixelTransfer], [https://docs.microsoft.com/en-us/windows/win32/opengl/gltexenv-functions _glTexEnv], [https://docs.microsoft.com/en-us/windows/win32/opengl/gltexgen-functions _glTexGen], [[_glTexImage2D]]
* [[_glTexSubImage1D]], [[_glTexSubImage2D]], [https://docs.microsoft.com/en-us/windows/win32/opengl/gltexparameter-functions _glTexParameter]
2022-05-20 22:18:31 +00:00
{{PageNavigation}}
2022-07-31 21:57:56 +00:00
[[Category:Final]]