Class DxgiAdapterInfo
java.lang.Object
oshi.driver.common.windows.gpu.DxgiAdapterInfo
Immutable snapshot of a DXGI adapter's identity and dedicated video memory.
DedicatedVideoMemory from DXGI_ADAPTER_DESC is the authoritative Windows API source for dedicated GPU
memory; it is not subject to the 2 GiB cap that affects the 32-bit registry value
HardwareInformation.MemorySize.
-
Constructor Summary
ConstructorsConstructorDescriptionDxgiAdapterInfo(String description, int vendorId, int deviceId, long dedicatedVideoMemory, int luidLowPart, int luidHighPart) -
Method Summary
-
Constructor Details
-
DxgiAdapterInfo
public DxgiAdapterInfo(String description, int vendorId, int deviceId, long dedicatedVideoMemory, int luidLowPart, int luidHighPart) - Parameters:
description- adapter description string fromDXGI_ADAPTER_DESC.DescriptionvendorId- PCI vendor IDdeviceId- PCI device IDdedicatedVideoMemory- dedicated video memory in bytesluidLowPart- low 32 bits of the adapter LUIDluidHighPart- high 32 bits of the adapter LUID
-
-
Method Details
-
getDescription
-
getVendorId
public int getVendorId() -
getDeviceId
public int getDeviceId() -
getDedicatedVideoMemory
public long getDedicatedVideoMemory() -
getLuidLowPart
public int getLuidLowPart() -
getLuidHighPart
public int getLuidHighPart() -
toString
-