Added the drawTex method to make texture drawing easy.