GlBindTexture: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''_glBindTexture:''' bind a named texture to a texturing target {{PageSyntax}} :: SUB '''_glBindTexture''' (BYVAL target AS _UNSIGNED LONG, BYVAL texture AS _UNSIGNED LONG) :: void '''_glBindTexture'''(GLenum {{Parameter|target}}, GLuint {{Parameter|texture}}); ; target : Specifies the target to which the texture is bound. Must be either {{KW|_GL_TEXTURE_1D}}, {{KW|_GL_TEXTURE_2D}}, {{KW|_GL_TEXTURE_3D}}, or {{KW|_GL_TEXTURE_1D_ARRAY}}, {{KW|_GL_TEXTURE_2D_ARRAY}},...") |
(Replaced content with "{{DISPLAYTITLE:_glBindTexture}} The _glBindTexture statement enables the creation of a named texture that is bound to a texture target. {{PageSyntax}} ;QB64 definition :SUB _glBindTexture (BYVAL target AS _UNSIGNED LONG, BYVAL texture AS _UNSIGNED LONG) ;C/C++ definition & description :See [https://docs.microsoft.com/en-us/windows/win32/opengl/glbindtexture Microsoft docs] {{PageSeeAlso}} SUB _GL") Tag: Replaced |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:_glBindTexture}} | |||
The [[_glBindTexture]] statement enables the creation of a named texture that is bound to a texture target. | |||
{{PageSyntax}} | {{PageSyntax}} | ||
;QB64 definition | |||
:SUB [[_glBindTexture]] (BYVAL target AS _UNSIGNED LONG, BYVAL texture AS _UNSIGNED LONG) | |||
;C/C++ definition & description | |||
:See [https://docs.microsoft.com/en-us/windows/win32/opengl/glbindtexture Microsoft docs] | |||
: | |||
: | |||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
[[_GL|SUB _GL]] | [[_GL|SUB _GL]] | ||
Revision as of 20:14, 10 July 2022
The _glBindTexture statement enables the creation of a named texture that is bound to a texture target.
Syntax
- QB64 definition
- SUB _glBindTexture (BYVAL target AS _UNSIGNED LONG, BYVAL texture AS _UNSIGNED LONG)
- C/C++ definition & description
- See Microsoft docs