Add textureType variable.

Needed to differentiate between different texture types.