Class DxgiDevice
An IDXGIDevice
interface implements a derived class for DXGI objects that produce image data.
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public sealed class DxgiDevice : DxgiObject, IDisposable, IDxgiReleasable
Constructors
| Edit this page View SourceDxgiDevice(object)
Initializes a new instance of the DxgiDevice class.
Declaration
public DxgiDevice(object device)
Parameters
Type | Name | Description |
---|---|---|
object | device | A device interface which implements the |
Properties
| Edit this page View SourceHandle
Gets an handle representing the DXGI object interface.
Declaration
public override object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
Methods
| Edit this page View SourceGetAdapter()
Returns the adapter for the specified device.
Declaration
public DxgiAdapter GetAdapter()
Returns
Type | Description |
---|---|
DxgiAdapter | The adapter for the specified device. |
QueryResourceResidency(DxgiResource[])
Gets the residency status of an array of resources.
Declaration
public DxgiResidency[] QueryResourceResidency(DxgiResource[] resources)
Parameters
Type | Name | Description |
---|---|---|
DxgiResource[] | resources | An array of |
Returns
Type | Description |
---|---|
DxgiResidency[] | An array of |