code: function() {
          var t;
          for (var i = 0; i < this.bound_textures.length; i++) {
              t = this.bound_textures[i];
              t.unbind();
          }
          this.bound_textures = [];
          this.active = null;
      }
docs: Clear out the bound textures and other existing state