glBindTextureUnit

glBindTextureUnit: man4/glBindTextureUnit.xml

glBindTextureUnit binds an existing texture object to the texture unit numbered unit. texture must be zero or the name of an existing texture object. When texture is the name of an existing texture object, that object is bound to the target, in the corresponding texture unit, that was specified when the object was created. When texture is zero, each of the targets enumerated at the beginning of this section is reset to its default texture for the corresponding texture image unit.

@OpenGL_Version(OGLIntroducedIn.V4P5)
@OpenGL_Extension("GL_ARB_direct_state_access")
fn_glBindTextureUnit glBindTextureUnit;

See Also

glDeleteTextures, glGenTextures, glGet, glGetTexParameter, glIsTexture, glTexImage1D, glTexImage2D, glTexImage2DMultisample, glTexImage3D, glTexImage3DMultisample, glTexBuffer, glTexParameter

Meta