Click or drag to resize

TextureUnbindFromTextureUnit Method

Actives a texture unit and unbinds this texture from that unit.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void UnbindFromTextureUnit(
	int textureUnit
)

Parameters

textureUnit
Type: SystemInt32
index of the texture unit to make active. The number of texture units is implementation dependent, but must be at least 8.
Exceptions
ExceptionCondition
GLExceptionInvalidEnum if textureUnit is greater than the number of supported texture units.
Remarks
Once the texture unit is active, it unbinds the texture by calling Unbind.

OpenGL API: glActiveTexture, glBindTexture

See Also