 | 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)
Syntaxpublic void UnbindFromTextureUnit(
int textureUnit
)
Public Sub UnbindFromTextureUnit (
textureUnit As Integer
)
public:
void UnbindFromTextureUnit(
int textureUnit
)
member UnbindFromTextureUnit :
textureUnit : int -> unit
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.
ExceptionsException | Condition |
---|
GLException | InvalidEnum 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