X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d11%2FEffectPassDescription11.h;fp=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d11%2FEffectPassDescription11.h;h=0000000000000000000000000000000000000000;hb=d3453b257c2faf4db202d38666a872929ff220cd;hp=80a91e628b840ae446e015cbeb8ada29e5628236;hpb=1c2eac207d4963c6bc170b3f7fbe0feeffcd17e0;p=dtxmania%2Fdtxmania.git diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d11/EffectPassDescription11.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d11/EffectPassDescription11.h deleted file mode 100644 index 80a91e62..00000000 --- a/SlimDXc_Jun2010(VC++2008)/source/direct3d11/EffectPassDescription11.h +++ /dev/null @@ -1,144 +0,0 @@ -/* -* Copyright (c) 2007-2010 SlimDX Group -* -* Permission is hereby granted, free of charge, to any person obtaining a copy -* of this software and associated documentation files (the "Software"), to deal -* in the Software without restriction, including without limitation the rights -* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -* copies of the Software, and to permit persons to whom the Software is -* furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in -* all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -* THE SOFTWARE. -*/ -#pragma once - -#include "../math/Color4.h" - -#include "../d3dcompiler/ShaderSignatureDC.h" - -namespace SlimDX -{ - namespace Direct3D11 - { - /// - /// Provides a description for effect passes. - /// - /// D3DX11_PASS_DESC - public value class EffectPassDescription : System::IEquatable - { - private: - System::String^ m_Name; - int m_Annotations; - SlimDX::D3DCompiler::ShaderSignature^ m_Signature; - int m_StencilRef; - int m_SampleMask; - Color4 m_BlendFactor; - - internal: - EffectPassDescription( const D3DX11_PASS_DESC& native ); - - public: - /// - /// The name of the pass. - /// - property System::String^ Name - { - System::String^ get(); - } - - /// - /// Number of annotations on this pass. - /// - property int AnnotationCount - { - int get(); - } - - /// - /// Signature from the vertex shader or geometry shader (if there is no vertex shader) or null if neither exists. - /// - property SlimDX::D3DCompiler::ShaderSignature^ Signature - { - SlimDX::D3DCompiler::ShaderSignature^ get(); - } - - /// - /// The stencil-reference value used in the depth-stencil state. - /// - property int StencilReference - { - int get(); - } - - /// - /// The sample mask for the blend state. - /// - property int SampleMask - { - int get(); - } - - /// - /// The per-component blend factors (RGBA) for the blend state. - /// - property Color4 BlendFactor - { - Color4 get(); - } - - /// - /// Tests for equality between two objects. - /// - /// The first value to compare. - /// The second value to compare. - /// true if has the same value as ; otherwise, false. - static bool operator == ( EffectPassDescription left, EffectPassDescription right ); - - /// - /// Tests for inequality between two objects. - /// - /// The first value to compare. - /// The second value to compare. - /// true if has a different value than ; otherwise, false. - static bool operator != ( EffectPassDescription left, EffectPassDescription right ); - - /// - /// Returns the hash code for this instance. - /// - /// A 32-bit signed integer hash code. - virtual int GetHashCode() override; - - /// - /// Returns a value that indicates whether the current instance is equal to a specified object. - /// - /// Object to make the comparison with. - /// true if the current instance is equal to the specified object; false otherwise. - virtual bool Equals( System::Object^ obj ) override; - - /// - /// Returns a value that indicates whether the current instance is equal to the specified object. - /// - /// Object to make the comparison with. - /// true if the current instance is equal to the specified object; false otherwise. - virtual bool Equals( EffectPassDescription other ); - - /// - /// Determines whether the specified object instances are considered equal. - /// - /// The first value to compare. - /// The second value to compare. - /// true if is the same instance as or - /// if both are null references or if value1.Equals(value2) returns true; otherwise, false. - static bool Equals( EffectPassDescription% value1, EffectPassDescription% value2 ); - }; - } -}; \ No newline at end of file