code: def toggle_internalformat(self):
      self._internalformat = (self._internalformat + 1) % len(
          self._internalformats
      )
      internalformat = self._internalformats[self._internalformat]
      print("Requesting texture internalformat %s" % internalformat)
      self.texture.resize(
          data.shape, format="rgb", internalformat=internalformat
      )
      self.texture.set_data(data)
      self.program["u_texture"] = self.texture
      self.update()
  
file_path: vispy/examples/gloo/texture_precision.py
imports: import numpy
  from vispy import gloo
  from vispy import app
label_desc: Use image node_id 3 for calling the Canvas obj's underlying member method code with example usage: obj.toggle_internalformat() without return types