[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.DeviceChild

Class DeviceChild

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11DeviceChild

[Guid("1841e5c8-16b0-489b-bcc8-44cfb0d5deae")]
public class DeviceChild : ComObject, IDisposable, IUnknown
Inheritance
DeviceChild
Implements
Derived
Inherited Members

Constructors

DeviceChild(IntPtr)

Initializes a new instance of the DeviceChild class.

public DeviceChild(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Properties

DebugName

Gets or sets the debug-name for this object.

public string DebugName { get; set; }

Property Value

string

Device

GetDevice

public Device Device { get; }

Property Value

Device

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

GetDevice(out Device)

void ID3D11DeviceChild::GetDevice([Out] ID3D11Device** ppDevice)

public void GetDevice(out Device deviceOut)

Parameters

deviceOut Device

GetPrivateData(Guid, ref int, IntPtr)

HRESULT 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)

Parameters

guid Guid
dataSizeRef int
dataRef IntPtr

Returns

HResult

NativePointerUpdated(IntPtr)

Method called when the NativePointer is updated.

protected override void NativePointerUpdated(IntPtr oldNativePointer)

Parameters

oldNativePointer IntPtr

SetPrivateData(Guid, int, IntPtr)

HRESULT 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)

Parameters

guid Guid
dataSize int
dataRef IntPtr

SetPrivateDataInterface(Guid, ComObject)

HRESULT ID3D11DeviceChild::SetPrivateDataInterface([In] const GUID& guid,[In, Optional] const IUnknown* pData)

public void SetPrivateDataInterface(Guid guid, ComObject dataRef)

Parameters

guid Guid
dataRef ComObject

Operators

explicit operator DeviceChild(IntPtr)

Performs an explicit conversion from IntPtr to DeviceChild.

public static explicit operator DeviceChild(IntPtr nativePointer)

Parameters

nativePointer IntPtr

Returns

DeviceChild