Added texture current state tracking