X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d11%2FEffectResourceVariable11.h;fp=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d11%2FEffectResourceVariable11.h;h=0000000000000000000000000000000000000000;hb=d3453b257c2faf4db202d38666a872929ff220cd;hp=b2d74b686013a0b2e7f97c982d5d2068e66d6a9d;hpb=1c2eac207d4963c6bc170b3f7fbe0feeffcd17e0;p=dtxmania%2Fdtxmania.git diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d11/EffectResourceVariable11.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d11/EffectResourceVariable11.h deleted file mode 100644 index b2d74b68..00000000 --- a/SlimDXc_Jun2010(VC++2008)/source/direct3d11/EffectResourceVariable11.h +++ /dev/null @@ -1,96 +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 "EffectVariable11.h" -#include "ShaderResourceView11.h" - -namespace SlimDX -{ - namespace Direct3D11 - { - /// - /// Represents a shader resource effect variable. - /// - /// ID3DX11EffectShaderResourceVariable - public ref class EffectResourceVariable : public EffectVariable - { - private: - ID3DX11EffectShaderResourceVariable* m_Pointer; - - internal: - EffectResourceVariable( ID3DX11EffectShaderResourceVariable* pointer ); - - public: - /// - /// Initializes a new instance of the class. - /// - /// A pointer to the unmanaged interface. - EffectResourceVariable( System::IntPtr pointer ); - - /// - /// Gets the value of the variable. - /// - /// A view of the shader resource. - ShaderResourceView^ GetResource(); - - /// - /// Gets an array of resource views from the variable. - /// - /// An array of resource views to hold the retrieved shader resources. - /// A object describing the result of the operation. - Result GetResourceArray(array^ views); - - /// - /// Gets an array of resource views from the variable. - /// - /// An array of resource views to hold the retrieved shader resources. - /// The offset into the array to begin storing values. - /// The number of values to get. - /// A object describing the result of the operation. - Result GetResourceArray(array^ views, int offset, int count); - - /// - /// Sets the value of the shader resource. - /// - /// A view of the resource to set. - /// A object describing the result of the operation. - Result SetResource( ShaderResourceView^ view ); - - /// - /// Sets an array of shader resource values. - /// - /// An array of resource views to set. - /// A object describing the result of the operation. - Result SetResourceArray( array^ views ); - - /// - /// Sets an array of shader resource values. - /// - /// An array of resource views to set. - /// The offset into the array to begin setting values. - /// The number of values to set. - /// A object describing the result of the operation. - Result SetResourceArray( array^ views, int offset, int count ); - }; - } -}; \ No newline at end of file