Building application and texture state handling.