
getMaterialMode()
- Returns the material mode being used.
Return Type:
- integer
- 0 = Singletexture
- 1 = Multitexture
- 2 = GLSL

Sample Code
################ get material mode being used
# import bge module
import bge
# get the render module
rend = bge.render
# get the material mode being used
mode = rend.getMaterialMode()