_glCopyTexImage2D

From QB64 Phoenix Edition Wiki
Revision as of 09:38, 13 July 2022 by RhoSigma (talk | contribs)
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



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link