Class DxgiAdapter1
The IDXGIAdapter1 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 DxgiAdapter1 : DxgiObject, IDisposable
Constructors
| Edit this page View SourceDxgiAdapter1(nint)
Initializes a new instance of the DxgiAdapter1 class.
Declaration
public DxgiAdapter1(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceDxgiAdapter1Guid
The interface GUID.
Declaration
public static readonly Guid DxgiAdapter1Guid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets a DXGI 1.1 description of an adapter (or video card).
Declaration
public DxgiAdapterDesc1 Description { get; }
Property Value
| Type | Description |
|---|---|
| DxgiAdapterDesc1 |
Methods
| Edit this page View SourceEnumOutputs()
Enumerate adapter (video card) outputs.
Declaration
public IEnumerable<DxgiOutput1> EnumOutputs()
Returns
| Type | Description |
|---|---|
| IEnumerable<DxgiOutput1> | An IEnumerable of DxgiOutput1. |
EnumOutputs(uint)
Enumerate adapter (video card) outputs.
Declaration
public DxgiOutput1? EnumOutputs(uint i)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | i |
Returns
| Type | Description |
|---|---|
| DxgiOutput1 | An output or null |
GetOutput(uint)
Enumerate adapter (video card) outputs.
Declaration
public DxgiOutput1 GetOutput(uint i)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | i |
Returns
| Type | Description |
|---|---|
| DxgiOutput1 | 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 DxgiFactory1 GetParent()
Returns
| Type | Description |
|---|---|
| DxgiFactory1 | The parent of the object. |