[1166] | 1 | #undef INTERFACE
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2010 Rico Schüller
|
---|
| 4 | *
|
---|
| 5 | * This library is free software; you can redistribute it and/or
|
---|
| 6 | * modify it under the terms of the GNU Lesser General Public
|
---|
| 7 | * License as published by the Free Software Foundation; either
|
---|
| 8 | * version 2.1 of the License, or (at your option) any later version.
|
---|
| 9 | *
|
---|
| 10 | * This library is distributed in the hope that it will be useful,
|
---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 13 | * Lesser General Public License for more details.
|
---|
| 14 | *
|
---|
| 15 | * You should have received a copy of the GNU Lesser General Public
|
---|
| 16 | * License along with this library; if not, write to the Free Software
|
---|
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
| 18 | */
|
---|
| 19 |
|
---|
| 20 | #ifndef __D3D10_1SHADER_H__
|
---|
| 21 | #define __D3D10_1SHADER_H__
|
---|
| 22 |
|
---|
| 23 | #include "d3d10shader.h"
|
---|
| 24 |
|
---|
| 25 | DEFINE_GUID(IID_ID3D10ShaderReflection1, 0xc3457783, 0xa846, 0x47ce, 0x95, 0x20, 0xce, 0xa6, 0xf6, 0x6e, 0x74, 0x47);
|
---|
| 26 |
|
---|
| 27 | #define INTERFACE ID3D10ShaderReflection1
|
---|
| 28 | DECLARE_INTERFACE_(ID3D10ShaderReflection1, IUnknown)
|
---|
| 29 | {
|
---|
| 30 | /* IUnknown methods */
|
---|
| 31 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
|
---|
| 32 | STDMETHOD_(ULONG, AddRef)(THIS) PURE;
|
---|
| 33 | STDMETHOD_(ULONG, Release)(THIS) PURE;
|
---|
| 34 | /* ID3D10ShaderReflection1 methods */
|
---|
| 35 | STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_DESC *desc) PURE;
|
---|
| 36 | STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE;
|
---|
| 37 | STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE;
|
---|
| 38 | STDMETHOD(GetResourceBindingDesc)(THIS_ UINT index, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE;
|
---|
| 39 | STDMETHOD(GetInputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE;
|
---|
| 40 | STDMETHOD(GetOutputParameterDesc)(THIS_ UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE;
|
---|
| 41 | STDMETHOD_(struct ID3D10ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE;
|
---|
| 42 | STDMETHOD(GetResourceBindingDescByName)(THIS_ const char *name, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE;
|
---|
| 43 | STDMETHOD(GetMovInstructionCount)(THIS_ UINT *count) PURE;
|
---|
| 44 | STDMETHOD(GetMovcInstructionCount)(THIS_ UINT *count) PURE;
|
---|
| 45 | STDMETHOD(GetConversionInstructionCount)(THIS_ UINT *count) PURE;
|
---|
| 46 | STDMETHOD(GetBitwiseInstructionCount)(THIS_ UINT *count) PURE;
|
---|
| 47 | STDMETHOD(GetGSInputPrimitive)(THIS_ D3D10_PRIMITIVE *prim) PURE;
|
---|
| 48 | STDMETHOD(IsLevel9Shader)(THIS_ WINBOOL *level9shader) PURE;
|
---|
| 49 | STDMETHOD(IsSampleFrequencyShader)(THIS_ WINBOOL *samplefrequency) PURE;
|
---|
| 50 | };
|
---|
| 51 | #undef INTERFACE
|
---|
| 52 |
|
---|
| 53 | #endif
|
---|