コード例 #1
0
ファイル: Query1.cs プロジェクト: zmtzawqlp/SharpDX
 /// <summary>
 ///   Constructs a new <see cref = "T:SharpDX.Direct3D11.Query1" /> based on the specified description.
 /// </summary>
 /// <param name = "device">The device with which to associate the state object.</param>
 /// <param name = "description">The query description.</param>
 /// <returns>The newly created object.</returns>
 public Query1(Device3 device, QueryDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateQuery1(description, this);
 }
コード例 #2
0
ファイル: Query1.cs プロジェクト: JoeErickson/SharpDX
 /// <summary>
 ///   Constructs a new <see cref = "T:SharpDX.Direct3D11.Query1" /> based on the specified description.
 /// </summary>
 /// <param name = "device">The device with which to associate the state object.</param>
 /// <param name = "description">The query description.</param>
 /// <returns>The newly created object.</returns>
 public Query1(Device3 device, QueryDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateQuery1(description, this);
 }