Assigns texture to textureUnit.
texture unit index to be set
texture to be assigned
See Implementation
Assigns texture to textureUnit.