Class DxgiDeviceSubObject
Inherited from objects that are tied to the device so that they can retrieve a pointer to it.
Inheritance
DxgiDeviceSubObject
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
[SecurityCritical]
public class DxgiDeviceSubObject : DxgiObject, IDisposable
Constructors
| Edit this page View SourceDxgiDeviceSubObject(nint)
Initializes a new instance of the DxgiDeviceSubObject class.
Declaration
public DxgiDeviceSubObject(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceDxgiDeviceSubObjectGuid
The interface GUID.
Declaration
public static readonly Guid DxgiDeviceSubObjectGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Methods
| Edit this page View SourceGetDevice(in Guid)
Retrieves the device.
Declaration
public nint GetDevice(in Guid riid)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | riid | The reference id for the device. |
Returns
| Type | Description |
|---|---|
| nint | The address of a pointer to the device. |