using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpDX.DirectComposition { public partial class Device3 { /// /// Creates a new device object that can be used to create other Microsoft DirectComposition objects. /// /// An optional reference to a DirectX device to be used to create DirectComposition surface /// objects. Must be a reference to an object implementing the or /// interfaces. public Device3(ComObject renderingDevice) { IntPtr temp; DComp.CreateDevice3(renderingDevice, Utilities.GetGuidFromType(typeof(Device3)), out temp); NativePointer = temp; } } }