OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / dxgi / SwapChainDxgi.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/dxgi/SwapChainDxgi.h b/SlimDXc_Jun2010(VC++2008)/source/dxgi/SwapChainDxgi.h
deleted file mode 100644 (file)
index 63cc58c..0000000
+++ /dev/null
@@ -1,148 +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 "Enums.h"\r
-#include "DeviceChildDxgi.h"\r
-\r
-namespace SlimDX\r
-{\r
-       namespace DXGI\r
-       {\r
-               ref class Factory;\r
-               ref class Output;\r
-               value class FrameStatistics;\r
-               value class ModeDescription;\r
-               value class SwapChainDescription;\r
-               \r
-               /// <summary>\r
-               /// Holds one or more surfaces that store rendered data prior to presenting\r
-               /// that data to an output.\r
-               /// </summary>\r
-               /// <unmanaged>IDXGISwapChain</unmanaged>\r
-               public ref class SwapChain : DeviceChild\r
-               {\r
-                       COMOBJECT(IDXGISwapChain, SwapChain);\r
-               \r
-               public:\r
-                       /// <summary>\r
-                       /// Gets the swap chain's description.\r
-                       /// </summary>\r
-                       property SwapChainDescription Description\r
-                       {\r
-                               SwapChainDescription get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Get performance statistics about the last render frame.\r
-                       /// </summary>\r
-                       property DXGI::FrameStatistics FrameStatistics\r
-                       {\r
-                               DXGI::FrameStatistics get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets the number of times this swap chain's Present method has been called.\r
-                       /// </summary>\r
-                       property int PresentCount\r
-                       {\r
-                               int get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets the output (the display monitor) that contains the majority of the client area of the target window.\r
-                       /// </summary>\r
-                       property Output^ ContainingOutput\r
-                       {\r
-                               Output^ get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether the swap chain is rendering in full screen mode.\r
-                       /// </summary>\r
-                       property bool IsFullScreen\r
-                       {\r
-                               bool get();\r
-                               void set(bool value);\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Initializes a new instance of the <see cref="SwapChain"/> class.\r
-                       /// </summary>\r
-                       /// <param name="factory">The factory used to create the swap chain.</param>\r
-                       /// <param name="device">The device used to present images to the swap chain.</param>\r
-                       /// <param name="description">Swap chain properties.</param>\r
-                       SwapChain( Factory^ factory, ComObject^ device, SwapChainDescription description );\r
-\r
-                       /// <summary>\r
-                       /// Releases all resources used by the <see cref="SwapChain"/>.\r
-                       /// </summary>\r
-                       virtual ~SwapChain();\r
-                       \r
-                       /// <summary>\r
-                       /// Gets the full screen state.\r
-                       /// </summary>\r
-                       /// <param name="isFullScreen">Receives a value indicating if the swap chain is running in full screen mode.</param>\r
-                       /// <param name="target">Receives the full screen output if the swap chain is in full screen mode. Otherwise ignored.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result GetFullScreenState( [Out] bool% isFullScreen, [Out] Output^% target );\r
-                       \r
-                       /// <summary>\r
-                       /// Sets the full screen state.\r
-                       /// </summary>\r
-                       /// <param name="isFullScreen">Set to true for full screen mode, false for windowed mode.</param>\r
-                       /// <param name="target">If the current display mode is full screen, this parameter must be the\r
-                       /// output containing the swap chain; otherwise, this parameter is ignored. If you set this parameter\r
-                       /// to null, DXGI will choose the output based on the swap-chain's device and the output window's placement.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result SetFullScreenState( bool isFullScreen, Output^ target );\r
-                       \r
-                       /// <summary>\r
-                       /// Changes the swap chain's back buffer size, format, and count.\r
-                       /// </summary>\r
-                       /// <param name="count">The new back buffer count.</param>\r
-                       /// <param name="width">The new back buffer width.</param>\r
-                       /// <param name="height">The new back buffer height.</param>\r
-                       /// <param name="format">The new back buffer format.</param>\r
-                       /// <param name="flags">Flags controlling swap chain functionality.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result ResizeBuffers( int count, int width, int height, Format format, SwapChainFlags flags );\r
-                       \r
-                       /// <summary>\r
-                       /// Changes the output target's size.\r
-                       /// </summary>\r
-                       /// <param name="description">Properties of the new output display mode.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result ResizeTarget( ModeDescription description );\r
-                       \r
-                       /// <summary>\r
-                       /// Presents a rendered image to the attached output.\r
-                       /// </summary>\r
-                       /// <param name="syncInterval">Specified how to synchronize the presentation with the vertical blank interrupt. 0\r
-                       /// indicates that presentation should occur immediately, without synchronization. Any other value indicates that\r
-                       /// presentation should be synchonized with the specified next vertical blank.</param>\r
-                       /// <param name="flags">Flags controlling presentation behavior.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result Present( int syncInterval, PresentFlags flags );\r
-               };\r
-       }\r
-}
\ No newline at end of file