Script equivalent to clearing OpenGL Cache

   4661   3   1
User Avatar
Member
1799 posts
Joined: Oct. 2010
Offline
What is the script (python or hscript) equivalent to pressing the OpenGL Cache clear button? I am looking into refreshing textures in my viewport, and pressing this button does the trick I found the other cache commands (texcache, geocache) but could not figure out which one is for the OpenGL

Thanks in advance!

Attachments:
caching.jpg (52.3 KB)

-G
User Avatar
Staff
5156 posts
Joined: July 2005
Offline
glcache -c will clear the GL cache (-M <MB> will set the size).
User Avatar
Member
1799 posts
Joined: Oct. 2010
Offline
This is perfect thank you!
-G
User Avatar
Member
9 posts
Joined: March 2016
Offline
Thanks, this saved my butt for view Displacement in the viewport.
  • Quick Links