[]
IDXGIDeviceSubObject
[Guid("3d3e0379-f9de-4d58-bb6c-18d62992f1a6")]
public class DeviceChild : DXGIObject, IDisposable, IUnknown
Initializes a new instance of the DeviceChild class.
public DeviceChild(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Gets or sets the debug-name for this object.
public string DebugName { get; set; }
The debug name.
HRESULT IDXGIDeviceSubObject::GetDevice([In] const GUID& riid,[Out] void** ppDevice)
public IntPtr GetDevice(Guid riid)
riid
System.GuidRetrieves the device.
public T GetDevice<T>() where T : ComObject
The associated device.
T
The interface that is returned can be any interface published by the device.
Performs an explicit conversion from System.IntPtr to DeviceChild.
public static explicit operator DeviceChild(IntPtr nativePointer)
nativePointer
System.IntPtr