/// <summary> /// Constructs a new <see cref = "T:SharpDX.Direct3D10.SamplerState" /> 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 SamplerState(Device device, ref SamplerStateDescription description) : base(IntPtr.Zero) { device.CreateSamplerState(ref description, this); }