|
Blender V5.3
|
#include <GHOST_Types.hh>
Public Attributes | |
| bool | is_override |
| bool | fail_on_invalid_override |
| int | index |
| uint | vendor_id |
| uint | device_id |
| int | fallback_index |
| uint | fallback_vendor_id |
| uint | fallback_device_id |
Definition at line 802 of file GHOST_Types.hh.
| uint GHOST_GPUDevice::device_id |
Device ID of the GPU provided by the vendor.
Definition at line 817 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), blender::GPU_backend_preferred_device_set_override(), and GHOST_InstanceVK::select_physical_device().
| bool GHOST_GPUDevice::fail_on_invalid_override |
When true, a missing override device causes context creation to fail instead of falling back.
Definition at line 811 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), blender::GPU_backend_preferred_device_set_override(), and GHOST_InstanceVK::select_physical_device().
| uint GHOST_GPUDevice::fallback_device_id |
Saved preference fallback Device ID.
Definition at line 823 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), and GHOST_InstanceVK::select_physical_device().
| int GHOST_GPUDevice::fallback_index |
Saved preference to fall back to when the override device is unavailable.
Definition at line 819 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), and GHOST_InstanceVK::select_physical_device().
| uint GHOST_GPUDevice::fallback_vendor_id |
Saved preference fallback (PCI) Vendor ID.
Definition at line 821 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), and GHOST_InstanceVK::select_physical_device().
| int GHOST_GPUDevice::index |
Index of the GPU device in the list provided by the platform.
Definition at line 813 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), blender::GPU_backend_preferred_device_set_override(), and GHOST_InstanceVK::select_physical_device().
| bool GHOST_GPUDevice::is_override |
When true: use the specified GPU. When false: fallback to saved GPU.
Definition at line 807 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), blender::GPU_backend_preferred_device_set_override(), and GHOST_InstanceVK::select_physical_device().
| uint GHOST_GPUDevice::vendor_id |
(PCI) Vendor ID of the GPU.
Definition at line 815 of file GHOST_Types.hh.
Referenced by blender::GPU_backend_preferred_device_get(), blender::GPU_backend_preferred_device_set_override(), and GHOST_InstanceVK::select_physical_device().