[]
ID3D11DeviceChild
[Guid("1841e5c8-16b0-489b-bcc8-44cfb0d5deae")]
public class DeviceChild : ComObject, 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; }
GetDevice
public Device Device { get; }
Clean up any resources being used.
protected override void Dispose(bool disposing)
disposing
boolvoid ID3D11DeviceChild::GetDevice([Out] ID3D11Device** ppDevice)
public void GetDevice(out Device deviceOut)
deviceOut
DeviceHRESULT ID3D11DeviceChild::GetPrivateData([In] const GUID& guid,[InOut] unsigned int* pDataSize,[Out, Buffer, Optional] void* pData)
public HResult GetPrivateData(Guid guid, ref int dataSizeRef, IntPtr dataRef)
guid
System.GuiddataSizeRef
intdataRef
System.IntPtrMethod called when the NativePointer is updated.
protected override void NativePointerUpdated(IntPtr oldNativePointer)
oldNativePointer
System.IntPtrHRESULT ID3D11DeviceChild::SetPrivateData([In] const GUID& guid,[In] unsigned int DataSize,[In, Buffer, Optional] const void* pData)
public void SetPrivateData(Guid guid, int dataSize, IntPtr dataRef)
guid
System.GuiddataSize
intdataRef
System.IntPtrHRESULT ID3D11DeviceChild::SetPrivateDataInterface([In] const GUID& guid,[In, Optional] const IUnknown* pData)
public void SetPrivateDataInterface(Guid guid, ComObject dataRef)
guid
System.GuiddataRef
ComObjectPerforms an explicit conversion from System.IntPtr to DeviceChild.
public static explicit operator DeviceChild(IntPtr nativePointer)
nativePointer
System.IntPtr