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
(Created page with "'''_glCopyTexImage2D:''' copy pixels into a 2D texture image {{PageSyntax}} : SUB _glCopyTexImage2D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL internalFormat AS _UNSIGNED LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG, BYVAL border AS LONG) : void '''_glCopyTexImage2D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLenum {{Parameter|internalformat}}, GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei...") |
No edit summary |
||
Line 1: | Line 1: | ||
'''_glCopyTexImage2D | {{DISPLAYTITLE:_glCopyTexImage2D}} | ||
The '''_glCopyTexImage2D''' function copies pixels from the framebuffer into a two-dimensional texture image. | |||
{{PageSyntax}} | {{PageSyntax}} | ||
: [[SUB]] '''_glCopyTexImage2D''' ({{Parameter|target}} [[AS]] [[_UNSIGNED]] [[LONG]], {{Parameter|level}} [[AS]] [[LONG]], {{Parameter|internalformat}} [[AS]] [[_UNSIGNED]] [[LONG]], {{Parameter|x}} [[AS]] [[LONG]], {{Parameter|y}} [[AS]] [[LONG]], {{Parameter|width}} [[AS]] [[LONG]], {{Parameter|height}} [[AS]] [[LONG]], {{Parameter|border}} [[AS]] [[LONG]]) | |||
{{PageParameters}} | |||
* OpenGL has many predefined attributes and values, which are used with its command parameters. These are detailed in the respective description. | |||
{{PageDescription}} | {{PageDescription}} | ||
* 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 [https://docs.microsoft.com/en-us/windows/win32/opengl/glcopyteximage2d Microsoft Docs] and is also valid for QB64. | |||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [[_GL|SUB _GL]] | |||
{{PageNavigation}} | |||
[[Category:Final]] |
Revision as of 09:18, 13 July 2022
The _glCopyTexImage2D function 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