The VSMATERIALMODE variable stores the material mode that defines how materials are to be displayed in the current viewport. The value can be:
Value
Description
0
Materials are not displayed.
1
Textures are not displayed and materials are displayed.
2
Textures and materials are displayed.
Note: An existing visual style is not changed when the system variable gets a new value. Temporary visual style will be created as a clone of visual style assigned for current viewport.