D3DX11CreateFFT function (d3dcsx.h)
Creates an ID3DX11FFT COM interface object.
HRESULT D3DX11CreateFFT( ID3D11DeviceContext *pDeviceContext, [in] const D3DX11_FFT_DESC *pDesc, UINT Flags, [out] D3DX11_FFT_BUFFER_INFO *pBufferInfo, [out] ID3DX11FFT **ppFFT );
A pointer to the ID3D11DeviceContext interface to use for the FFT.
Type: const D3DX11_FFT_DESC*
A pointer to a D3DX11_FFT_DESC structure that describes the shape of the FFT data as well as the scaling factors that should be used for forward and inverse transforms.
Flags that affect the behavior of the FFT, can be 0 or a combination of flags from D3DX11_FFT_CREATE_FLAG.
A pointer to a D3DX11_FFT_BUFFER_INFO structure that receives the buffer requirements to execute the FFT algorithms. Use this info to allocate raw buffers of the specified (or larger) sizes and then call the ID3DX11FFT::AttachBuffersAndPrecompute method to register the buffers with the FFT object.
A pointer to a variable that receives a pointer to the ID3DX11FFT interface for the created FFT object.
One of the Direct3D 11 Return Codes.