OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / direct3d11 / FastFourierTransform11.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d11/FastFourierTransform11.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d11/FastFourierTransform11.h
deleted file mode 100644 (file)
index 947d7ca..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-#pragma once\r
-\r
-#include "../ComObject.h"\r
-#include "../dxgi/Enums.h"\r
-\r
-#include "Enums11.h"\r
-#include "FastFourierTransformDescription11.h"\r
-#include "FastFourierTransformBufferRequirements11.h"\r
-\r
-namespace SlimDX\r
-{\r
-       namespace Direct3D11\r
-       {\r
-               ref class Device;\r
-               ref class UnorderedAccessView;\r
-\r
-               /// <summary>\r
-               /// An object that encapsulates forward and inverse FFTs.\r
-               /// </summary>\r
-               /// <unmanaged>ID3DX11FFT</unmanaged>\r
-               public ref class FastFourierTransform : public ComObject\r
-               {\r
-                       COMOBJECT(ID3DX11FFT, FastFourierTransform);\r
-\r
-               private:\r
-                       FastFourierTransformBufferRequirements bufferRequirements;\r
-                       \r
-               public:\r
-                       /// <summary>\r
-                       /// Initializes a new instance of the <see cref="FastFourierTransform"/> class.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <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>\r
-                       FastFourierTransform( DeviceContext^ context, FastFourierTransformDescription description );\r
-\r
-                       /// <summary>\r
-                       /// Initializes a new instance of the <see cref="FastFourierTransform"/> class.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <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>\r
-                       /// <param name="flags">Flag affecting the behavior of the FFT.</param>\r
-                       FastFourierTransform( DeviceContext^ context, FastFourierTransformDescription description, FastFourierTransformCreationFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new one-dimensional complex FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create1DComplex( DeviceContext^ context, int x );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new one-dimensional complex FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="flags">Flag affecting the behavior of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create1DComplex( DeviceContext^ context, int x, FastFourierTransformCreationFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new one-dimensional real FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create1DReal( DeviceContext^ context, int x );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new one-dimensional real FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="flags">Flag affecting the behavior of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create1DReal( DeviceContext^ context, int x, FastFourierTransformCreationFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new two-dimensional complex FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create2DComplex( DeviceContext^ context, int x, int y );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new two-dimensional complex FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <param name="flags">Flag affecting the behavior of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create2DComplex( DeviceContext^ context, int x, int y, FastFourierTransformCreationFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new two-dimensional real FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create2DReal( DeviceContext^ context, int x, int y );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new two-dimensional real FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <param name="flags">Flag affecting the behavior of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create2DReal( DeviceContext^ context, int x, int y, FastFourierTransformCreationFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new three-dimensional complex FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <param name="z">Length of the third dimension of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create3DComplex( DeviceContext^ context, int x, int y, int z );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new three-dimensional complex FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <param name="z">Length of the third dimension of the FFT.</param>\r
-                       /// <param name="flags">Flag affecting the behavior of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create3DComplex( DeviceContext^ context, int x, int y, int z, FastFourierTransformCreationFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new three-dimensional real FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <param name="z">Length of the third dimension of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create3DReal( DeviceContext^ context, int x, int y, int z );\r
-\r
-                       /// <summary>\r
-                       /// Creates a new three-dimensional real FFT.\r
-                       /// </summary>\r
-                       /// <param name="context">The device context used to create the FFT.</param>\r
-                       /// <param name="x">Length of the first dimension of the FFT.</param>\r
-                       /// <param name="y">Length of the second dimension of the FFT.</param>\r
-                       /// <param name="z">Length of the third dimension of the FFT.</param>\r
-                       /// <param name="flags">Flag affecting the behavior of the FFT.</param>\r
-                       /// <returns>The newly created FFT object.</returns>\r
-                       static FastFourierTransform^ Create3DReal( DeviceContext^ context, int x, int y, int z, FastFourierTransformCreationFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Gets the buffer requirements for the FFT.\r
-                       /// </summary>\r
-                       property FastFourierTransformBufferRequirements BufferRequirements\r
-                       {\r
-                               FastFourierTransformBufferRequirements get() { return bufferRequirements; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets or sets the forward scale of the FFT.\r
-                       /// </summary>\r
-                       property float ForwardScale\r
-                       {\r
-                               float get();\r
-                               void set(float value);\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets or sets the inverse scale of the FFT.\r
-                       /// </summary>\r
-                       property float InverseScale\r
-                       {\r
-                               float get();\r
-                               void set(float value);\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Attaches buffers to an FFT context and performs any required precomputations.\r
-                       /// </summary>\r
-                       /// <param name="temporaryBuffers">Temporary buffers to attach.</param>\r
-                       /// <param name="precomputeBuffers">Buffers to hold precomputed data.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result AttachBuffersAndPrecompute( array<UnorderedAccessView^>^ temporaryBuffers, array<UnorderedAccessView^>^ precomputeBuffers );\r
-\r
-                       /// <summary>\r
-                       /// Performs a forward FFT.\r
-                       /// </summary>\r
-                       /// <param name="input">The input buffer.</param>\r
-                       /// <param name="output">The output buffer.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result ForwardTransform( UnorderedAccessView^ input, UnorderedAccessView^ output );\r
-\r
-                       /// <summary>\r
-                       /// Performs a forward FFT.\r
-                       /// </summary>\r
-                       /// <param name="input">The input buffer.</param>\r
-                       /// <returns>The last temporary buffer written to during the operation.</returns>\r
-                       UnorderedAccessView^  ForwardTransform( UnorderedAccessView^ input );\r
-\r
-                       /// <summary>\r
-                       /// Performs an inverse FFT.\r
-                       /// </summary>\r
-                       /// <param name="input">The input buffer.</param>\r
-                       /// <param name="output">The output buffer.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result InverseTransform( UnorderedAccessView^ input, UnorderedAccessView^ output );\r
-\r
-                       /// <summary>\r
-                       /// Performs an inverse FFT.\r
-                       /// </summary>\r
-                       /// <param name="input">The input buffer.</param>\r
-                       /// <returns>The last temporary buffer written to during the operation.</returns>\r
-                       UnorderedAccessView^  InverseTransform( UnorderedAccessView^ input );\r
-               };\r
-       }\r
-};
\ No newline at end of file