Click or drag to resize

DisplayPipelineGetDirect3d11DeviceContext Method

If the pipeline is running on top of Direct3D 11, this function will return a pointer to the ID3D11DeviceContext1 actively being used. IntPtr.Zero is returned if the pipeline is running on some other GPU technology. NOTE: AddRef is NOT called on this IUnknown instance.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public IntPtr GetDirect3d11DeviceContext()

Return Value

Type: IntPtr
Pointer to an ID3D11DeviceContext1, or IntPtr.Zero.
See Also