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}}
;QB64 definition
: 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]])
 
;C/C++ definition & description
 
:See this [https://docs.microsoft.com/en-us/windows/win32/opengl/glbindtexture Microsoft documentation].
{{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.
* Find the full description at [https://docs.microsoft.com/en-us/windows/win32/opengl/glbindtexture Microsoft Docs].




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

Revision as of 21:21, 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)


Description


See also

SUB _GL