GlBindTexture: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:_glBindTexture}}
{{DISPLAYTITLE:_glBindTexture}}
The [[_glBindTexture]] statement enables the creation of a named texture that is bound to a texture target.
The '''_glBindTexture''' statement enables the creation of a named texture that is bound to a texture target.




{{PageSyntax}}
{{PageSyntax}}
: [[SUB]] [[_glBindTexture]] ({{Parameter|target}} [[AS]] [[_UNSIGNED]] [[LONG]], {{Parameter|texture}} [[AS]] [[_UNSIGNED]] [[LONG]])
: [[SUB]] '''_glBindTexture''' ({{Parameter|target}} [[AS]] [[_UNSIGNED]] [[LONG]], {{Parameter|texture}} [[AS]] [[_UNSIGNED]] [[LONG]])





Revision as of 23:31, 10 July 2022

The _glBindTexture statement enables the creation of a named texture that is bound to a texture target.


Syntax

SUB _glBindTexture (target AS _UNSIGNED LONG, texture AS _UNSIGNED 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