code: def on_key_press(event):
      if event.key == "t":
          texture_filter.enabled = not texture_filter.enabled
          mesh.update()
  
file_path: vispy/examples/scene/mesh_texture.py
imports: import argparse
  import numpy
  from vispy import app, scene
  from vispy.io import imread, load_data_file, read_mesh
  from vispy.scene.visuals import Mesh
  from vispy.scene import transforms
  from vispy.visuals.filters import TextureFilter
label_desc: Use image node_id 1 for calling a global function with example usage: on_key_press(event) without return types