/// <summary> /// Initializes a new instance of the <see cref="T:SharpDX.Direct3D11.FastFourierTransform" /> class. /// </summary> /// <param name="context">The device context used to create the FFT.</param> /// <param name="description">Information that describes the shape of the FFT data as well as the scaling factors that should be used for forward and inverse transforms.</param> /// <param name="flags">Flag affecting the behavior of the FFT.</param> public FastFourierTransform(DeviceContext context, FastFourierTransformDescription description, FastFourierTransformCreationFlags flags) : base(IntPtr.Zero) { D3DCSX.CreateFFT(context, ref description, (int)flags, out _bufferRequirements, this); }
/// <summary> /// Initializes a new instance of the <see cref="T:SharpDX.Direct3D11.FastFourierTransform" /> class. /// </summary> /// <param name="context">The device context used to create the FFT.</param> /// <param name="description">Information that describes the shape of the FFT data as well as the scaling factors that should be used for forward and inverse transforms.</param> public FastFourierTransform(DeviceContext context, FastFourierTransformDescription description) : this(context, description, FastFourierTransformCreationFlags.None) { }