Class DxgiAdapter
The IDXGIAdapter interface represents a display sub-system (including one or more GPU's, DACs and video memory).
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
[SecurityCritical]
public class DxgiAdapter : DxgiObject, IDisposable
Constructors
| Edit this page View SourceDxgiAdapter(nint)
Initializes a new instance of the DxgiAdapter class.
Declaration
public DxgiAdapter(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceDxgiAdapterGuid
The interface GUID.
Declaration
public static readonly Guid DxgiAdapterGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets a DXGI 1.0 description of an adapter (or video card).
Declaration
public DxgiAdapterDesc Description { get; }
Property Value
| Type | Description |
|---|---|
| DxgiAdapterDesc |
Methods
| Edit this page View SourceEnumOutputs()
Enumerate adapter (video card) outputs.
Declaration
public IEnumerable<DxgiOutput> EnumOutputs()
Returns
| Type | Description |
|---|---|
| IEnumerable<DxgiOutput> | An IEnumerable of DxgiOutput. |
EnumOutputs(uint)
Enumerate adapter (video card) outputs.
Declaration
public DxgiOutput? EnumOutputs(uint i)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | i |
Returns
| Type | Description |
|---|---|
| DxgiOutput | An output or null |
GetOutput(uint)
Enumerate adapter (video card) outputs.
Declaration
public DxgiOutput GetOutput(uint i)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | i |
Returns
| Type | Description |
|---|---|
| DxgiOutput | An output |
GetOutputsCount()
Get the adapter (video card) outputs.
Declaration
public int GetOutputsCount()
Returns
| Type | Description |
|---|---|
| int |
GetParent()
Gets the parent of the object.
Declaration
public DxgiFactory GetParent()
Returns
| Type | Description |
|---|---|
| DxgiFactory | The parent of the object. |