GraphicsAdapterInfo struct
Graphics adapter properties.
Contents
- Reference
Public variables
- char Description
- A string that contains the adapter description.
-
ADAPTER_
TYPE Type - Adapter type, see Diligent::
ADAPTER_TYPE. -
ADAPTER_
VENDOR Vendor - Adapter vendor, see Diligent::
ADAPTER_VENDOR. - Uint32 VendorId
- The PCI ID of the hardware vendor (if available).
- Uint32 DeviceId
- The PCI ID of the hardware device (if available).
- Uint32 NumOutputs
- Number of video outputs this adapter has (if available).
- Uint64 DeviceLocalMemory
- The amount of local video memory that is inaccessible by CPU, in bytes.
- Uint64 HostVisibileMemory
- The amount of host-visible memory that can be accessed by CPU and is visible by GPU, in bytes.
- Uint64 UnifiedMemory
- The amount of unified memory that can be directly accessed by both CPU and GPU, in bytes.
-
CPU_
ACCESS_ FLAGS UnifiedMemoryCPUAccess - Supported access types for the unified memory.
Variable documentation
Uint64 Diligent:: GraphicsAdapterInfo:: DeviceLocalMemory
The amount of local video memory that is inaccessible by CPU, in bytes.
On some devices it may not be possible to query the memory size, in which case all memory sizes will be zero.
Uint64 Diligent:: GraphicsAdapterInfo:: HostVisibileMemory
The amount of host-visible memory that can be accessed by CPU and is visible by GPU, in bytes.
Uint64 Diligent:: GraphicsAdapterInfo:: UnifiedMemory
The amount of unified memory that can be directly accessed by both CPU and GPU, in bytes.