ReactOS 0.4.17-dev-934-g091855f
d3d10_1shader.h
Go to the documentation of this file.
1/*
2 * Copyright 2010 Rico Schüller
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#ifndef __D3D10_1SHADER_H__
20#define __D3D10_1SHADER_H__
21
22#include "d3d10shader.h"
23
24DEFINE_GUID(IID_ID3D10ShaderReflection1, 0xc3457783, 0xa846, 0x47ce, 0x95, 0x20, 0xce, 0xa6, 0xf6, 0x6e, 0x74, 0x47);
25
26#define INTERFACE ID3D10ShaderReflection1
27DECLARE_INTERFACE_(ID3D10ShaderReflection1, IUnknown)
28{
29 /* IUnknown methods */
33 /* ID3D10ShaderReflection1 methods */
35 STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE;
36 STDMETHOD_(struct ID3D10ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE;
40 STDMETHOD_(struct ID3D10ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE;
41 STDMETHOD(GetResourceBindingDescByName)(THIS_ const char *name, D3D10_SHADER_INPUT_BIND_DESC *desc) PURE;
42 STDMETHOD(GetMovInstructionCount)(THIS_ UINT *count) PURE;
43 STDMETHOD(GetMovcInstructionCount)(THIS_ UINT *count) PURE;
44 STDMETHOD(GetConversionInstructionCount)(THIS_ UINT *count) PURE;
45 STDMETHOD(GetBitwiseInstructionCount)(THIS_ UINT *count) PURE;
46 STDMETHOD(GetGSInputPrimitive)(THIS_ D3D10_PRIMITIVE *prim) PURE;
47 STDMETHOD(IsLevel9Shader)(THIS_ BOOL *level9shader) PURE;
48 STDMETHOD(IsSampleFrequencyShader)(THIS_ BOOL *samplefrequency) PURE;
49};
50#undef INTERFACE
51
52#endif
#define index(s, c)
Definition: various.h:29
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
D3D_PRIMITIVE
Definition: d3dcommon.idl:298
_Check_return_ _In_ PQUERY_INTERFACE QueryInterface
Definition: dispmprt.h:1318
unsigned int BOOL
Definition: ntddk_ex.h:94
GLuint GLuint GLsizei count
Definition: gl.h:1545
unsigned int UINT
Definition: sysinfo.c:13
REFIID riid
Definition: atlbase.h:39
LOCAL int prim(arg_t *ap)
Definition: match.c:440
D3D11_SHADER_VARIABLE_DESC desc
Definition: reflection.c:1683
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:83
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
#define REFIID
Definition: guiddef.h:118
Definition: name.c:39
uint32_t ULONG
Definition: typedefs.h:59
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
Definition: wcsftime.cpp:383