_glCopyTexImage2D
Jump to navigation
Jump to search
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