[]
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 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 GuidRetrieves the device.
public T GetDevice<T>() where T : ComObject
The associated device.
TThe interface that is returned can be any interface published by the device.
Performs an explicit conversion from IntPtr to DeviceChild.
public static explicit operator DeviceChild(IntPtr nativePointer)
nativePointer IntPtr