GlCopyTexImage2D: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:_glCopyTexImage2D}} | {{DISPLAYTITLE:_glCopyTexImage2D}} | ||
The '''_glCopyTexImage2D''' | The '''_glCopyTexImage2D''' statement copies pixels from the framebuffer into a two-dimensional texture image. | ||
Revision as of 09:38, 13 July 2022
The _glCopyTexImage2D statement copies pixels from the framebuffer into a two-dimensional texture image.
Syntax
- SUB _glCopyTexImage2D (target AS _UNSIGNED LONG, level AS LONG, internalformat AS _UNSIGNED LONG, x AS LONG, y AS LONG, width AS LONG, height AS LONG, border AS LONG)
Parameters
- OpenGL has many predefined attributes and values, which are used with its command parameters. These are detailed in the respective description.
Description
- The syntax above shall just clarify the type of the command (SUB or FUNCTION) and the correct QB64 Variable Types to use for the respective parameters.
- The full description can be found at Microsoft Docs and is also valid for QB64.
See also