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]] ({{Parameter|target}} [[AS]] [[_UNSIGNED]] [[LONG]], {{Parameter|texture}} [[AS]] [[_UNSIGNED]] [[LONG]])




{{PageParameters}}
{{PageParameters}}
* OpenGL has many predefined attributes and values used with its command parameters, which are detailed in the description.
* 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]] for the used parameters.
* 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/glbindtexture Microsoft Docs] and is valid for QB64 too.
* The full description can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/glbindtexture Microsoft Docs] and is also valid for QB64.




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

Revision as of 22:19, 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

SUB _GL