Class DxgiAdapter3
The IDXGIAdapter2 interface represents a display sub-system, which includes one or more GPUs, DACs, and video memory.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
[SecurityCritical]
public class DxgiAdapter3 : DxgiObject, IDisposable
Constructors
| Edit this page View SourceDxgiAdapter3(nint)
Initializes a new instance of the DxgiAdapter3 class.
Declaration
public DxgiAdapter3(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceDxgiAdapter3Guid
The interface GUID.
Declaration
public static readonly Guid DxgiAdapter3Guid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets a DXGI 1.2 description of an adapter (or video card).
Declaration
public DxgiAdapterDesc2 Description { get; }
Property Value
| Type | Description |
|---|---|
| DxgiAdapterDesc2 |
Methods
| Edit this page View SourceEnumOutputs()
Enumerate adapter (video card) outputs.
Declaration
public IEnumerable<DxgiOutput3> EnumOutputs()
Returns
| Type | Description |
|---|---|
| IEnumerable<DxgiOutput3> | An IEnumerable of DxgiOutput3. |
EnumOutputs(uint)
Enumerate adapter (video card) outputs.
Declaration
public DxgiOutput3? EnumOutputs(uint i)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | i |
Returns
| Type | Description |
|---|---|
| DxgiOutput3 | An output or null |
GetOutput(uint)
Enumerate adapter (video card) outputs.
Declaration
public DxgiOutput3 GetOutput(uint i)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | i |
Returns
| Type | Description |
|---|---|
| DxgiOutput3 | 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 DxgiFactory3 GetParent()
Returns
| Type | Description |
|---|---|
| DxgiFactory3 | The parent of the object. |