[]
        
(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
object
DeviceChild
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DeviceChild(IntPtr)

Initializes a new instance of the DeviceChild class.

public DeviceChild(IntPtr nativePtr)

Parameters

nativePtr System.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 System.Guid
dataSizeRef int
dataRef System.IntPtr

Returns

HResult

NativePointerUpdated(IntPtr)

Method called when the NativePointer is updated.

protected override void NativePointerUpdated(IntPtr oldNativePointer)

Parameters

oldNativePointer System.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 System.Guid
dataSize int
dataRef System.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 System.Guid
dataRef ComObject

Operators

explicit operator DeviceChild(IntPtr)

Performs an explicit conversion from System.IntPtr to DeviceChild.

public static explicit operator DeviceChild(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DeviceChild