/// <summary>
 ///   Constructs a new <see cref = "T:SharpDX.Direct3D11.RasterizerState1" /> based on the specified description.
 /// </summary>
 /// <param name = "device">The device with which to associate the state object.</param>
 /// <param name = "description">The state description.</param>
 /// <returns>The newly created object.</returns>
 public RasterizerState1(Device1 device, RasterizerStateDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateRasterizerState1(ref description, this);
 }
Exemple #2
0
 /// <summary>
 ///   Constructs a new <see cref = "T:SharpDX.Direct3D11.RasterizerState1" /> based on the specified description.
 /// </summary>
 /// <param name = "device">The device with which to associate the state object.</param>
 /// <param name = "description">The state description.</param>
 /// <returns>The newly created object.</returns>
 public RasterizerState1(Device1 device, RasterizerStateDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateRasterizerState1(ref description, this);
 }