OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / direct3d10 / StateBlockMask.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d10/StateBlockMask.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d10/StateBlockMask.h
deleted file mode 100644 (file)
index 23f83a3..0000000
+++ /dev/null
@@ -1,329 +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
-\r
-namespace SlimDX\r
-{\r
-       namespace Direct3D10\r
-       {       \r
-               public ref class StateBlockMask : System::ICloneable, System::IEquatable<StateBlockMask^>\r
-               {\r
-               private:\r
-                       bool m_VS;\r
-                       System::Collections::Generic::List<bool>^ m_VSSamplers;\r
-                       System::Collections::Generic::List<bool>^ m_VSShaderResources;\r
-                       System::Collections::Generic::List<bool>^ m_VSConstantBuffers;\r
-                       bool m_GS;\r
-                       System::Collections::Generic::List<bool>^ m_GSSamplers;       \r
-                       System::Collections::Generic::List<bool>^ m_GSShaderResources;\r
-                       System::Collections::Generic::List<bool>^ m_GSConstantBuffers;\r
-                       bool m_PS;\r
-                       System::Collections::Generic::List<bool>^ m_PSSamplers;       \r
-                       System::Collections::Generic::List<bool>^ m_PSShaderResources;\r
-                       System::Collections::Generic::List<bool>^ m_PSConstantBuffers;\r
-                       System::Collections::Generic::List<bool>^ m_IAVertexBuffers;  \r
-                       bool m_IAIndexBuffer;\r
-                       bool m_IAInputLayout;\r
-                       bool m_IAPrimitiveTopology;\r
-                       bool m_OMRenderTargets;\r
-                       bool m_OMDepthStencilState;\r
-                       bool m_OMBlendState;\r
-                       bool m_RSViewports;\r
-                       bool m_RSScissorRects;\r
-                       bool m_RSRasterizerState;\r
-                       bool m_SOBuffers;\r
-                       bool m_Predication;\r
-                       \r
-               internal:\r
-                       StateBlockMask( const D3D10_STATE_BLOCK_MASK& description );\r
-                       \r
-                       D3D10_STATE_BLOCK_MASK CreateNativeVersion();\r
-                       \r
-                       virtual System::Object^ Clone2() = System::ICloneable::Clone;\r
-                       \r
-               public:\r
-                       /// <summary>\r
-                       /// Initializes a new instance of the <see cref="SlimDX::Direct3D10::StateBlockMask"/> class.\r
-                       /// </summary>\r
-                       /// <param name="other">The <see cref="SlimDX::Direct3D10::StateBlockMask"/> to copy initial values from.</param>\r
-                       StateBlockMask( StateBlockMask^ other );\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether vertex shader state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool VertexShader\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which vertex shader sampler state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ VertexShaderSamplers\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which vertex shader resource state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ VertexShaderResources\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which vertex shader sampler state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ VertexShaderConstantBuffers\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether geometry shader state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool GeometryShader\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-               \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which geometry shader sampler state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ GeometryShaderSamplers\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which geometry shader resource state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ GeometryShaderResources\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which geometry shader constant buffer state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ GeometryShaderConstantBuffers\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether pixel shader state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool PixelShader\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which pixel shader sampler state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ PixelShaderSamplers\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which pixel shader resource state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ PixelShaderResources\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which pixel shader constant buffer state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ PixelShaderConstantBuffers\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets a collection of values indicating which vertex buffer state is enabled by the mask.\r
-                       /// </summary>\r
-                       property System::Collections::ObjectModel::ReadOnlyCollection<bool>^ VertexBuffers\r
-                       {\r
-                               System::Collections::ObjectModel::ReadOnlyCollection<bool>^ get();\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether index bufer state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool IndexBuffer\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether input layout state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool InputLayout\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether primitive topology state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool PrimitiveTopology\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether render target state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool RenderTargets\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether depth and stencil state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool DepthStencilState\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether blend state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool BlendState\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether viewport state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool Viewports\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether scissor rectangle state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool ScissorRectangles\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether rasterizer state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool RasterizerState\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether stream output buffer state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool StreamOutputBuffers\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Gets or sets a value indicating whether predication state is enabled by the mask.\r
-                       /// </summary>\r
-                       property bool Predication\r
-                       {\r
-                               bool get();\r
-                               void set( bool value );\r
-                       }\r
-                       \r
-                       /// <summary>\r
-                       /// Clones the instance and returns a new object containing the same values.\r
-                       /// </summary>\r
-                       /// <returns>A new <see cref="StateBlockMask"/> object containing the same values as the current instance.</returns>\r
-                       StateBlockMask^ Clone();\r
-                       \r
-                       /// <summary>\r
-                       /// Tests for equality between two StateBlockMasks.\r
-                       /// </summary>\r
-                       /// <param name="left">The first value to compare.</param>\r
-                       /// <param name="right">The second value to compare.</param>\r
-                       /// <returns><c>true</c> if <paramref name="left"/> has the same value as <paramref name="right"/>; otherwise, <c>false</c>.</returns>\r
-                       static bool operator == ( StateBlockMask^ left, StateBlockMask^ right );\r
-                       \r
-                       /// <summary>\r
-                       /// Tests for inequality between two StateBlockMasks.\r
-                       /// </summary>\r
-                       /// <param name="left">The first value to compare.</param>\r
-                       /// <param name="right">The second value to compare.</param>\r
-                       /// <returns><c>true</c> if <paramref name="left"/> has a different value than <paramref name="right"/>; otherwise, <c>false</c>.</returns>\r
-                       static bool operator != ( StateBlockMask^ left, StateBlockMask^ right );\r
-\r
-                       /// <summary>\r
-                       /// Returns the hash code for this instance.\r
-                       /// </summary>\r
-                       /// <returns>A 32-bit signed integer hash code.</returns>\r
-                       virtual int GetHashCode() override;\r
-                       \r
-                       /// <summary>\r
-                       /// Returns a value indicating whether this instance is equal to the specified object.\r
-                       /// </summary>\r
-                       /// <param name="obj">An object to compare with this instance.</param>\r
-                       /// <returns><c>true</c> if <paramref name="obj"/> has the same value as this instance; otherwise, <c>false</c>.</returns>\r
-                       virtual bool Equals( System::Object^ obj ) override;\r
-                       \r
-                       /// <summary>\r
-                       /// Returns a value indicating whether this instance is equal to the specified object.\r
-                       /// </summary>\r
-                       /// <param name="other">A <see cref="StateBlockMask"/> to compare with this instance.</param>\r
-                       /// <returns><c>true</c> if <paramref name="other"/> has the same value as this instance; otherwise, <c>false</c>.</returns>\r
-                       virtual bool Equals( StateBlockMask^ other );\r
-                       \r
-                       /// <summary>\r
-                       /// Returns a value indicating whether the two StateBlockMask are equivalent.\r
-                       /// </summary>\r
-                       /// <param name="value1">The first value to compare.</param>\r
-                       /// <param name="value2">The second value to compare.</param>\r
-                       /// <returns><c>true</c> if <paramref name="value1"/> has the same value as <paramref name="value2"/>; otherwise, <c>false</c>.</returns>\r
-                       static bool Equals( StateBlockMask^ value1, StateBlockMask^ value2 );\r
-               };\r
-       }\r
-};
\ No newline at end of file