GlBindTexture: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


{{PageSyntax}}
{{PageSyntax}}
: SUB _glBindTexture ([[BYVAL]] {{Parameter|target}} [[AS]] [[_UNSIGNED]] [[LONG]], [[BYVAL]] {{Parameter|texture}} [[AS]] [[_UNSIGNED]] [[LONG]])
: [[SUB]] _glBindTexture ([[BYVAL]] {{Parameter|target}} [[AS]] [[_UNSIGNED]] [[LONG]], [[BYVAL]] {{Parameter|texture}} [[AS]] [[_UNSIGNED]] [[LONG]])
 
 
{{PageParameters}}
* OpenGL has many predefined attributes and values used with its command parameters, which are detailed in the description.




{{PageDescription}}
{{PageDescription}}
* The syntax above is just to clarify the type of the command ([[SUB]] or [[FUNCTION]]) and the correct [[Variable Types]] for the used parameters.
* The syntax above shall just clarify the type of the command ([[SUB]] or [[FUNCTION]]) and the correct QB64 [[Variable Types]] for the used parameters.
* Find the full description at [https://docs.microsoft.com/en-us/windows/win32/opengl/glbindtexture Microsoft Docs].
* The full description can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/glbindtexture Microsoft Docs] and is valid for QB64 too.




{{PageSeeAlso}}
{{PageSeeAlso}}
[[_GL|SUB _GL]]
[[_GL|SUB _GL]]

Revision as of 21:42, 10 July 2022

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


Syntax

SUB _glBindTexture (BYVAL target AS _UNSIGNED LONG, BYVAL texture AS _UNSIGNED LONG)


Parameters

  • OpenGL has many predefined attributes and values used with its command parameters, which are detailed in the description.


Description

  • The syntax above shall just clarify the type of the command (SUB or FUNCTION) and the correct QB64 Variable Types for the used parameters.
  • The full description can be found at Microsoft Docs and is valid for QB64 too.


See also

SUB _GL