+++ /dev/null
-/*\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 "EffectVariable11.h"\r
-\r
-using System::Runtime::InteropServices::OutAttribute;\r
-\r
-namespace SlimDX\r
-{\r
- namespace D3DCompiler\r
- {\r
- value class ShaderParameterDescription;\r
- }\r
-\r
- namespace Direct3D11\r
- {\r
- ref class PixelShader;\r
- ref class VertexShader;\r
- ref class GeometryShader;\r
- ref class DomainShader;\r
- ref class HullShader;\r
- ref class ComputeShader;\r
-\r
- value class EffectShaderDescription;\r
- \r
- /// <summary>\r
- /// Represents a shader effect variable.\r
- /// </summary>\r
- /// <unmanaged>ID3DX11EffectShaderVariable</unmanaged>\r
- public ref class EffectShaderVariable : public EffectVariable\r
- { \r
- private:\r
- ID3DX11EffectShaderVariable* m_Pointer;\r
- \r
- internal:\r
- EffectShaderVariable( ID3DX11EffectShaderVariable* pointer );\r
-\r
- public:\r
- /// <summary>\r
- /// Initializes a new instance of the <see cref="EffectShaderVariable"/> class.\r
- /// </summary>\r
- /// <param name="pointer">A pointer to the unmanaged interface.</param>\r
- EffectShaderVariable( System::IntPtr pointer );\r
- \r
- /// <summary>\r
- /// Gets a pixel shader.\r
- /// </summary>\r
- /// <param name="index">The zero-based index of the pixel shader to retrieve.</param>\r
- /// <returns>The pixel shader at the specified index.</returns>\r
- PixelShader^ GetPixelShader( int index );\r
-\r
- /// <summary>\r
- /// Gets a vertex shader.\r
- /// </summary>\r
- /// <param name="index">The zero-based index of the vertex shader to retrieve.</param>\r
- /// <returns>The vertex shader at the specified index.</returns>\r
- VertexShader^ GetVertexShader( int index );\r
-\r
- /// <summary>\r
- /// Gets a geometry shader.\r
- /// </summary>\r
- /// <param name="index">The zero-based index of the geometry shader to retrieve.</param>\r
- /// <returns>The geometry shader at the specified index.</returns>\r
- GeometryShader^ GetGeometryShader( int index );\r
-\r
- /// <summary>\r
- /// Gets a hull shader.\r
- /// </summary>\r
- /// <param name="index">The zero-based index of the hull shader to retrieve.</param>\r
- /// <returns>The hull shader at the specified index.</returns>\r
- HullShader^ GetHullShader( int index );\r
-\r
- /// <summary>\r
- /// Gets a domain shader.\r
- /// </summary>\r
- /// <param name="index">The zero-based index of the domain shader to retrieve.</param>\r
- /// <returns>The domain shader at the specified index.</returns>\r
- DomainShader^ GetDomainShader( int index );\r
-\r
- /// <summary>\r
- /// Gets a compute shader.\r
- /// </summary>\r
- /// <param name="index">The zero-based index of the compute shader to retrieve.</param>\r
- /// <returns>The compute shader at the specified index.</returns>\r
- ComputeShader^ GetComputeShader( int index );\r
- \r
- /// <summary>\r
- /// Gets the description for a single element of the given shader's input signature.\r
- /// </summary>\r
- /// <param name="shaderIndex">The zero-based shader index.</param>\r
- /// <param name="parameterIndex">The index of the signature element.</param>\r
- /// <returns>The description for the given shader signature element.</returns>\r
- D3DCompiler::ShaderParameterDescription GetInputParameterDescription( int shaderIndex, int parameterIndex );\r
-\r
- /// <summary>\r
- /// Gets the description for a single element of the given shader's output signature.\r
- /// </summary>\r
- /// <param name="shaderIndex">The zero-based shader index.</param>\r
- /// <param name="parameterIndex">The index of the signature element.</param>\r
- /// <returns>The description for the given shader signature element.</returns>\r
- D3DCompiler::ShaderParameterDescription GetOutputParameterDescription( int shaderIndex, int parameterIndex );\r
-\r
- /// <summary>\r
- /// Gets the description for a single element of the given shader's patch constant signature.\r
- /// </summary>\r
- /// <param name="shaderIndex">The zero-based shader index.</param>\r
- /// <param name="parameterIndex">The index of the signature element.</param>\r
- /// <returns>The description for the given shader signature element.</returns>\r
- D3DCompiler::ShaderParameterDescription GetPatchConstantDescription( int shaderIndex, int parameterIndex );\r
- \r
- /// <summary>\r
- /// Gets the description for the given shader.\r
- /// </summary>\r
- /// <param name="shaderIndex">The zero-based shader index.</param>\r
- /// <returns>The description for the given shader.</returns>\r
- EffectShaderDescription GetShaderDescription( int shaderIndex );\r
- };\r
- }\r
-};
\ No newline at end of file