Added method for texture drawing