GraphicsAPI
Specifies which graphics API a device should use when running a Unity application.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Enum
- Namespace: UnityEditor.HardwareProfiles
- Assembly: UnityEditor.CoreModule
public enum GraphicsAPI
Remarks
Use this enum with DefaultDeviceFilter.SetGraphicsAPI or ProfileDeviceFilter.SetGraphicsAPI to control which graphics API Unity uses on matching devices.
For more information, refer to Graphics API hardware profile settings.
Fields
Value | Description |
|---|---|
| Default | Unity decides what API to apply based on automatic device detection. |
| UseOpenGles | Forces device to use OpenGL ES. |
| UseVulkan | Forces device to use Vulkan. |