Graphics device shader capability level (Read Only).
// Check for shader model 3.0 or better support if (SystemInfo.graphicsShaderLevel >= 30) print ("Woohoo, decent shaders supported!");
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { if (SystemInfo.graphicsShaderLevel >= 30) print("Woohoo, decent shaders supported!"); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: if SystemInfo.graphicsShaderLevel >= 30: print('Woohoo, decent shaders supported!')