[]
IDXGIAdapter
[Guid("2411e7e1-12ac-4ccf-bd14-9798e8534dc0")]
public class Adapter : DXGIObject, IDisposable, IUnknown
Initializes a new instance of the Adapter class.
public Adapter(IntPtr nativePtr)
nativePtr
IntPtrThe native pointer.
GetDescription
public AdapterDescription Description { get; }
Gets all outputs from this adapter.
public Output[] Outputs { get; }
HRESULT IDXGIAdapter::CheckInterfaceSupport([In] const GUID& InterfaceName,[Out] LARGE_INTEGER* pUMDVersion)
public HResult CheckInterfaceSupport(Guid interfaceName, out long uMDVersionRef)
HRESULT IDXGIAdapter::GetDesc([Out] DXGI_ADAPTER_DESC* pDesc)
public void GetDescription(out AdapterDescription descRef)
descRef
AdapterDescriptionGets an adapter (video card) outputs.
public Output GetOutput(int outputIndex)
outputIndex
intThe index of the output.
HRESULT IDXGIAdapter::EnumOutputs([In] unsigned int Output,[Out] IDXGIOutput** ppOutput)
public HResult GetOutput(int output, out Output outputOut)
Return the number of available outputs from this adapter.
public int GetOutputCount()
The number of outputs
Checks to see if a device interface for a graphics component is supported by the system.
public bool IsInterfaceSupported(Type type)
type
TypeThe GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID.
true
if the interface is supported; otherwise, false
.
Checks to see if a device interface for a graphics component is supported by the system.
public bool IsInterfaceSupported(Type type, out long userModeVersion)
type
TypeThe GUID of the interface of the device version for which support is being checked. For example, typeof(ID3D10Device).GUID.
userModeVersion
longThe user mode driver version of InterfaceName. This is only returned if the interface is supported.
true
if the interface is supported; otherwise, false
.
Checks to see if a device interface for a graphics component is supported by the system.
public bool IsInterfaceSupported<T>() where T : ComObject
true
if the interface is supported; otherwise, false
.
T
the interface of the device version for which support is being checked.
Checks to see if a device interface for a graphics component is supported by the system.
public bool IsInterfaceSupported<T>(out long userModeVersion) where T : ComObject
userModeVersion
longThe user mode driver version of InterfaceName. This is only returned if the interface is supported.
true
if the interface is supported; otherwise, false
.
T
the interface of the device version for which support is being checked.
public static explicit operator Adapter(IntPtr nativePointer)
nativePointer
IntPtr