Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes buffer requirements for an FFT.
Syntax
typedef struct D3DX11_FFT_BUFFER_INFO {
UINT NumTempBufferSizes;
UINT TempBufferFloatSizes[D3DX11_FFT_MAX_TEMP_BUFFERS];
UINT NumPrecomputeBufferSizes;
UINT PrecomputeBufferFloatSizes[D3DX11_FFT_MAX_PRECOMPUTE_BUFFERS];
} D3DX11_FFT_BUFFER_INFO;
Members
NumTempBufferSizes
Type: UINT
Number of temporary buffers needed. Allowed range is 0 to D3DX11_FFT_MAX_TEMP_BUFFERS.
TempBufferFloatSizes[D3DX11_FFT_MAX_TEMP_BUFFERS]
Type: UINT[D3DX11_FFT_MAX_TEMP_BUFFERS]
Minimum sizes (in FLOATs) of temporary buffers.
NumPrecomputeBufferSizes
Type: UINT
Number of precompute buffers required.
Allowed range is 0 to D3DX11_FFT_MAX_PRECOMPUTE_BUFFERS.
PrecomputeBufferFloatSizes[D3DX11_FFT_MAX_PRECOMPUTE_BUFFERS]
Type: UINT[D3DX11_FFT_MAX_PRECOMPUTE_BUFFERS]
Minimum sizes (in FLOATs) for precompute buffers.
Remarks
The D3DX11_FFT_BUFFER_INFO structure is initialized by a call to one of the create-FFT functions (for example, D3DX11CreateFFT). For more create-FFT functions, see D3DCSX 11 Functions.
Use the info in D3DX11_FFT_BUFFER_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.
Some FFT algorithms benefit from precomputing sin and cos. The FFT object might store precomputed data in the user-supplied buffers.
Requirements
Requirement | Value |
---|---|
Header | d3dcsx.h |