1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 21:40:25 +00:00
QB64-PE/internal/help/_glTexSubImage2D__001001001000021.txt
Roland Heyder 6912727753 Update help files
Help file snapshot as of 07/31/2022.
2022-07-31 23:57:56 +02:00

34 lines
1.9 KiB
Plaintext

{{QBDLDATE:07-31-2022}}
{{QBDLTIME:23:53:18}}
{{DISPLAYTITLE:_glTexSubImage2D}}
The '''_glTexSubImage2D''' statement specifies a portion of an existing one-dimensional texture image. You cannot define a new texture with '''_glTexSubImage2D'''.
{{PageSyntax}}
: '''_glTexSubImage2D''' GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|xoffset}}, GLint {{Parameter|yoffset}}, GLsizei {{Parameter|width}}, GLsizei {{Parameter|height}}, GLenum {{Parameter|format}}, GLenum {{Parameter|type}}, const GLvoid {{Parameter|*pixels}}
{{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}}
{{PageDescription}}
* 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/gltexsubimage2d Microsoft Docs] and is also valid for QB64 usage.
{{PageSeeAlso}}
* [[_GL|SUB _GL]]
* [[_glCopyTexImage1D]], [[_glCopyTexImage2D]], [[_glCopyTexSubImage1D]], [[_glCopyTexSubImage2D]]
* [[_glDrawPixels]], [[_glEnable]], [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], [[_glTexImage1D]], [[_glTexImage2D]], [[_glTexSubImage1D]]
* [[_glTexImage2D]], [https://docs.microsoft.com/en-us/windows/win32/opengl/gltexparameter-functions _glTexParameter]
{{PageNavigation}}
[[Category:Final]]