1 | /*
|
---|
2 | * Copyright 2009 Henri Verbeet for CodeWeavers
|
---|
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 |
|
---|
20 | /*
|
---|
21 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | #ifndef __WINE_D3D10EFFECT_H
|
---|
30 | #define __WINE_D3D10EFFECT_H
|
---|
31 |
|
---|
32 | #include "d3d10.h"
|
---|
33 |
|
---|
34 | #define D3D10_EFFECT_VARIABLE_POOLED 0x1
|
---|
35 | #define D3D10_EFFECT_VARIABLE_ANNOTATION 0x2
|
---|
36 | #define D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT 0x4
|
---|
37 |
|
---|
38 | #ifndef D3D10_BYTES_FROM_BITS
|
---|
39 | #define D3D10_BYTES_FROM_BITS(x) (((x) + 7) >> 3)
|
---|
40 | #endif
|
---|
41 |
|
---|
42 | typedef struct _D3D10_EFFECT_TYPE_DESC
|
---|
43 | {
|
---|
44 | LPCSTR TypeName;
|
---|
45 | D3D10_SHADER_VARIABLE_CLASS Class;
|
---|
46 | D3D10_SHADER_VARIABLE_TYPE Type;
|
---|
47 | UINT Elements;
|
---|
48 | UINT Members;
|
---|
49 | UINT Rows;
|
---|
50 | UINT Columns;
|
---|
51 | UINT PackedSize;
|
---|
52 | UINT UnpackedSize;
|
---|
53 | UINT Stride;
|
---|
54 | } D3D10_EFFECT_TYPE_DESC;
|
---|
55 |
|
---|
56 | typedef struct _D3D10_EFFECT_VARIABLE_DESC
|
---|
57 | {
|
---|
58 | LPCSTR Name;
|
---|
59 | LPCSTR Semantic;
|
---|
60 | UINT Flags;
|
---|
61 | UINT Annotations;
|
---|
62 | UINT BufferOffset;
|
---|
63 | UINT ExplicitBindPoint;
|
---|
64 | } D3D10_EFFECT_VARIABLE_DESC;
|
---|
65 |
|
---|
66 | typedef struct _D3D10_TECHNIQUE_DESC
|
---|
67 | {
|
---|
68 | LPCSTR Name;
|
---|
69 | UINT Passes;
|
---|
70 | UINT Annotations;
|
---|
71 | } D3D10_TECHNIQUE_DESC;
|
---|
72 |
|
---|
73 | typedef struct _D3D10_STATE_BLOCK_MASK
|
---|
74 | {
|
---|
75 | BYTE VS;
|
---|
76 | BYTE VSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
|
---|
77 | BYTE VSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
|
---|
78 | BYTE VSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
|
---|
79 | BYTE GS;
|
---|
80 | BYTE GSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
|
---|
81 | BYTE GSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
|
---|
82 | BYTE GSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
|
---|
83 | BYTE PS;
|
---|
84 | BYTE PSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
|
---|
85 | BYTE PSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
|
---|
86 | BYTE PSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
|
---|
87 | BYTE IAVertexBuffers[D3D10_BYTES_FROM_BITS(D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT)];
|
---|
88 | BYTE IAIndexBuffer;
|
---|
89 | BYTE IAInputLayout;
|
---|
90 | BYTE IAPrimitiveTopology;
|
---|
91 | BYTE OMRenderTargets;
|
---|
92 | BYTE OMDepthStencilState;
|
---|
93 | BYTE OMBlendState;
|
---|
94 | BYTE RSViewports;
|
---|
95 | BYTE RSScissorRects;
|
---|
96 | BYTE RSRasterizerState;
|
---|
97 | BYTE SOBuffers;
|
---|
98 | BYTE Predication;
|
---|
99 | } D3D10_STATE_BLOCK_MASK;
|
---|
100 |
|
---|
101 | typedef struct _D3D10_EFFECT_DESC
|
---|
102 | {
|
---|
103 | BOOL IsChildEffect;
|
---|
104 | UINT ConstantBuffers;
|
---|
105 | UINT SharedConstantBuffers;
|
---|
106 | UINT GlobalVariables;
|
---|
107 | UINT SharedGlobalVariables;
|
---|
108 | UINT Techniques;
|
---|
109 | } D3D10_EFFECT_DESC;
|
---|
110 |
|
---|
111 | typedef struct _D3D10_EFFECT_SHADER_DESC
|
---|
112 | {
|
---|
113 | const BYTE *pInputSignature;
|
---|
114 | BOOL IsInline;
|
---|
115 | const BYTE *pBytecode;
|
---|
116 | UINT BytecodeLength;
|
---|
117 | LPCSTR SODecl;
|
---|
118 | UINT NumInputSignatureEntries;
|
---|
119 | UINT NumOutputSignatureEntries;
|
---|
120 | } D3D10_EFFECT_SHADER_DESC;
|
---|
121 |
|
---|
122 | typedef struct _D3D10_PASS_DESC
|
---|
123 | {
|
---|
124 | LPCSTR Name;
|
---|
125 | UINT Annotations;
|
---|
126 | BYTE *pIAInputSignature;
|
---|
127 | SIZE_T IAInputSignatureSize;
|
---|
128 | UINT StencilRef;
|
---|
129 | UINT SampleMask;
|
---|
130 | FLOAT BlendFactor[4];
|
---|
131 | } D3D10_PASS_DESC;
|
---|
132 |
|
---|
133 | typedef struct _D3D10_PASS_SHADER_DESC
|
---|
134 | {
|
---|
135 | struct ID3D10EffectShaderVariable *pShaderVariable;
|
---|
136 | UINT ShaderIndex;
|
---|
137 | } D3D10_PASS_SHADER_DESC;
|
---|
138 |
|
---|
139 | DEFINE_GUID(IID_ID3D10EffectType, 0x4e9e1ddc, 0xcd9d, 0x4772, 0xa8, 0x37, 0x00, 0x18, 0x0b, 0x9b, 0x88, 0xfd);
|
---|
140 |
|
---|
141 | #define INTERFACE ID3D10EffectType
|
---|
142 | DECLARE_INTERFACE(ID3D10EffectType)
|
---|
143 | {
|
---|
144 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
145 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_TYPE_DESC *desc) PURE;
|
---|
146 | STDMETHOD_(struct ID3D10EffectType *, GetMemberTypeByIndex)(THIS_ UINT index) PURE;
|
---|
147 | STDMETHOD_(struct ID3D10EffectType *, GetMemberTypeByName)(THIS_ LPCSTR name) PURE;
|
---|
148 | STDMETHOD_(struct ID3D10EffectType *, GetMemberTypeBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
149 | STDMETHOD_(LPCSTR, GetMemberName)(THIS_ UINT index) PURE;
|
---|
150 | STDMETHOD_(LPCSTR, GetMemberSemantic)(THIS_ UINT index) PURE;
|
---|
151 | };
|
---|
152 | #undef INTERFACE
|
---|
153 |
|
---|
154 | DEFINE_GUID(IID_ID3D10EffectVariable, 0xae897105, 0x00e6, 0x45bf, 0xbb, 0x8e, 0x28, 0x1d, 0xd6, 0xdb, 0x8e, 0x1b);
|
---|
155 |
|
---|
156 | #define INTERFACE ID3D10EffectVariable
|
---|
157 | DECLARE_INTERFACE(ID3D10EffectVariable)
|
---|
158 | {
|
---|
159 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
160 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
161 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
162 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
163 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
164 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
165 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
166 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
167 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
168 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
169 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
170 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
171 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
172 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
173 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
174 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
175 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
176 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
177 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
178 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
179 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
180 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
181 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
182 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
183 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
184 | };
|
---|
185 | #undef INTERFACE
|
---|
186 |
|
---|
187 | DEFINE_GUID(IID_ID3D10EffectConstantBuffer, 0x56648f4d, 0xcc8b, 0x4444, 0xa5, 0xad, 0xb5, 0xa3, 0xd7, 0x6e, 0x91, 0xb3);
|
---|
188 |
|
---|
189 | #define INTERFACE ID3D10EffectConstantBuffer
|
---|
190 | DECLARE_INTERFACE_(ID3D10EffectConstantBuffer, ID3D10EffectVariable)
|
---|
191 | {
|
---|
192 | /* ID3D10EffectVariable methods */
|
---|
193 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
194 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
195 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
196 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
197 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
198 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
199 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
200 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
201 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
202 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
203 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
204 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
205 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
206 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
207 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
208 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
209 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
210 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
211 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
212 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
213 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
214 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
215 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
216 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
217 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
218 | /* ID3D10EffectConstantBuffer methods */
|
---|
219 | STDMETHOD(SetConstantBuffer)(THIS_ ID3D10Buffer *buffer) PURE;
|
---|
220 | STDMETHOD(GetConstantBuffer)(THIS_ ID3D10Buffer **buffer) PURE;
|
---|
221 | STDMETHOD(SetTextureBuffer)(THIS_ ID3D10ShaderResourceView *view) PURE;
|
---|
222 | STDMETHOD(GetTextureBuffer)(THIS_ ID3D10ShaderResourceView **view) PURE;
|
---|
223 | };
|
---|
224 | #undef INTERFACE
|
---|
225 |
|
---|
226 | DEFINE_GUID(IID_ID3D10EffectScalarVariable, 0x00e48f7b, 0xd2c8, 0x49e8, 0xa8, 0x6c, 0x02, 0x2d, 0xee, 0x53, 0x43, 0x1f);
|
---|
227 |
|
---|
228 | #define INTERFACE ID3D10EffectScalarVariable
|
---|
229 | DECLARE_INTERFACE_(ID3D10EffectScalarVariable, ID3D10EffectVariable)
|
---|
230 | {
|
---|
231 | /* ID3D10EffectVariable methods */
|
---|
232 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
233 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
234 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
235 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
236 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
237 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
238 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
239 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
240 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
241 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
242 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
243 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
244 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
245 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
246 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
247 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
248 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
249 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
250 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
251 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
252 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
253 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
254 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
255 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
256 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
257 | /* ID3D10EffectScalarVariable methods */
|
---|
258 | STDMETHOD(SetFloat)(THIS_ float value) PURE;
|
---|
259 | STDMETHOD(GetFloat)(THIS_ float *value) PURE;
|
---|
260 | STDMETHOD(SetFloatArray)(THIS_ float *values, UINT offset, UINT count) PURE;
|
---|
261 | STDMETHOD(GetFloatArray)(THIS_ float *values, UINT offset, UINT count) PURE;
|
---|
262 | STDMETHOD(SetInt)(THIS_ int value) PURE;
|
---|
263 | STDMETHOD(GetInt)(THIS_ int *value) PURE;
|
---|
264 | STDMETHOD(SetIntArray)(THIS_ int *values, UINT offset, UINT count) PURE;
|
---|
265 | STDMETHOD(GetIntArray)(THIS_ int *values, UINT offset, UINT count) PURE;
|
---|
266 | STDMETHOD(SetBool)(THIS_ BOOL value) PURE;
|
---|
267 | STDMETHOD(GetBool)(THIS_ BOOL *value) PURE;
|
---|
268 | STDMETHOD(SetBoolArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE;
|
---|
269 | STDMETHOD(GetBoolArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE;
|
---|
270 | };
|
---|
271 | #undef INTERFACE
|
---|
272 |
|
---|
273 | DEFINE_GUID(IID_ID3D10EffectVectorVariable, 0x62b98c44, 0x1f82, 0x4c67, 0xbc, 0xd0, 0x72, 0xcf, 0x8f, 0x21, 0x7e, 0x81);
|
---|
274 |
|
---|
275 | #define INTERFACE ID3D10EffectVectorVariable
|
---|
276 | DECLARE_INTERFACE_(ID3D10EffectVectorVariable, ID3D10EffectVariable)
|
---|
277 | {
|
---|
278 | /* ID3D10EffectVariable methods */
|
---|
279 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
280 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
281 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
282 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
283 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
284 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
285 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
286 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
287 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
288 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
289 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
290 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
291 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
292 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
293 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
294 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
295 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
296 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
297 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
298 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
299 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
300 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
301 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
302 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
303 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
304 | /* ID3D10EffectVectorVariable methods */
|
---|
305 | STDMETHOD(SetBoolVector)(THIS_ BOOL *value) PURE;
|
---|
306 | STDMETHOD(SetIntVector)(THIS_ int *value) PURE;
|
---|
307 | STDMETHOD(SetFloatVector)(THIS_ float *value) PURE;
|
---|
308 | STDMETHOD(GetBoolVector)(THIS_ BOOL *value) PURE;
|
---|
309 | STDMETHOD(GetIntVector)(THIS_ int *value) PURE;
|
---|
310 | STDMETHOD(GetFloatVector)(THIS_ float *value) PURE;
|
---|
311 | STDMETHOD(SetBoolVectorArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE;
|
---|
312 | STDMETHOD(SetIntVectorArray)(THIS_ int *values, UINT offset, UINT count) PURE;
|
---|
313 | STDMETHOD(SetFloatVectorArray)(THIS_ float *values, UINT offset, UINT count) PURE;
|
---|
314 | STDMETHOD(GetBoolVectorArray)(THIS_ BOOL *values, UINT offset, UINT count) PURE;
|
---|
315 | STDMETHOD(GetIntVectorArray)(THIS_ int *values, UINT offset, UINT count) PURE;
|
---|
316 | STDMETHOD(GetFloatVectorArray)(THIS_ float *values, UINT offset, UINT count) PURE;
|
---|
317 | };
|
---|
318 | #undef INTERFACE
|
---|
319 |
|
---|
320 | DEFINE_GUID(IID_ID3D10EffectMatrixVariable, 0x50666c24, 0xb82f, 0x4eed, 0xa1, 0x72, 0x5b, 0x6e, 0x7e, 0x85, 0x22, 0xe0);
|
---|
321 |
|
---|
322 | #define INTERFACE ID3D10EffectMatrixVariable
|
---|
323 | DECLARE_INTERFACE_(ID3D10EffectMatrixVariable, ID3D10EffectVariable)
|
---|
324 | {
|
---|
325 | /* ID3D10EffectVariable methods */
|
---|
326 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
327 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
328 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
329 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
330 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
331 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
332 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
333 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
334 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
335 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
336 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
337 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
338 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
339 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
340 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
341 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
342 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
343 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
344 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
345 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
346 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
347 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
348 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
349 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
350 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
351 | /* ID3D10EffectMatrixVariable methods */
|
---|
352 | STDMETHOD(SetMatrix)(THIS_ float *data) PURE;
|
---|
353 | STDMETHOD(GetMatrix)(THIS_ float *data) PURE;
|
---|
354 | STDMETHOD(SetMatrixArray)(THIS_ float *data, UINT offset, UINT count) PURE;
|
---|
355 | STDMETHOD(GetMatrixArray)(THIS_ float *data, UINT offset, UINT count) PURE;
|
---|
356 | STDMETHOD(SetMatrixTranspose)(THIS_ float *data) PURE;
|
---|
357 | STDMETHOD(GetMatrixTranspose)(THIS_ float *data) PURE;
|
---|
358 | STDMETHOD(SetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE;
|
---|
359 | STDMETHOD(GetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE;
|
---|
360 | };
|
---|
361 | #undef INTERFACE
|
---|
362 |
|
---|
363 | DEFINE_GUID(IID_ID3D10EffectStringVariable, 0x71417501, 0x8df9, 0x4e0a, 0xa7, 0x8a, 0x25, 0x5f, 0x97, 0x56, 0xba, 0xff);
|
---|
364 |
|
---|
365 | #define INTERFACE ID3D10EffectStringVariable
|
---|
366 | DECLARE_INTERFACE_(ID3D10EffectStringVariable, ID3D10EffectVariable)
|
---|
367 | {
|
---|
368 | /* ID3D10EffectVariable methods */
|
---|
369 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
370 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
371 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
372 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
373 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
374 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
375 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
376 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
377 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
378 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
379 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
380 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
381 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
382 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
383 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
384 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
385 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
386 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
387 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
388 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
389 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
390 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
391 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
392 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
393 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
394 | /* ID3D10EffectStringVariable methods */
|
---|
395 | STDMETHOD(GetString)(THIS_ LPCSTR *str) PURE;
|
---|
396 | STDMETHOD(GetStringArray)(THIS_ LPCSTR *strs, UINT offset, UINT count) PURE;
|
---|
397 | };
|
---|
398 | #undef INTERFACE
|
---|
399 |
|
---|
400 | DEFINE_GUID(IID_ID3D10EffectShaderResourceVariable,
|
---|
401 | 0xc0a7157b, 0xd872, 0x4b1d, 0x80, 0x73, 0xef, 0xc2, 0xac, 0xd4, 0xb1, 0xfc);
|
---|
402 |
|
---|
403 | #define INTERFACE ID3D10EffectShaderResourceVariable
|
---|
404 | DECLARE_INTERFACE_(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable)
|
---|
405 | {
|
---|
406 | /* ID3D10EffectVariable methods */
|
---|
407 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
408 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
409 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
410 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
411 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
412 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
413 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
414 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
415 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
416 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
417 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
418 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
419 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
420 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
421 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
422 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
423 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
424 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
425 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
426 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
427 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
428 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
429 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
430 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
431 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
432 | /* ID3D10EffectShaderResourceVariable methods */
|
---|
433 | STDMETHOD(SetResource)(THIS_ ID3D10ShaderResourceView *resource) PURE;
|
---|
434 | STDMETHOD(GetResource)(THIS_ ID3D10ShaderResourceView **resource) PURE;
|
---|
435 | STDMETHOD(SetResourceArray)(THIS_ ID3D10ShaderResourceView **resources, UINT offset, UINT count) PURE;
|
---|
436 | STDMETHOD(GetResourceArray)(THIS_ ID3D10ShaderResourceView **resources, UINT offset, UINT count) PURE;
|
---|
437 | };
|
---|
438 | #undef INTERFACE
|
---|
439 |
|
---|
440 | DEFINE_GUID(IID_ID3D10EffectRenderTargetViewVariable,
|
---|
441 | 0x28ca0cc3, 0xc2c9, 0x40bb, 0xb5, 0x7f, 0x67, 0xb7, 0x37, 0x12, 0x2b, 0x17);
|
---|
442 |
|
---|
443 | #define INTERFACE ID3D10EffectRenderTargetViewVariable
|
---|
444 | DECLARE_INTERFACE_(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable)
|
---|
445 | {
|
---|
446 | /* ID3D10EffectVariable methods */
|
---|
447 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
448 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
449 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
450 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
451 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
452 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
453 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
454 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
455 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
456 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
457 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
458 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
459 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
460 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
461 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
462 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
463 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
464 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
465 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
466 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
467 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
468 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
469 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
470 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
471 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
472 | /* ID3D10EffectRenderTargetViewVariable methods */
|
---|
473 | STDMETHOD(SetRenderTarget)(THIS_ ID3D10RenderTargetView *view) PURE;
|
---|
474 | STDMETHOD(GetRenderTarget)(THIS_ ID3D10RenderTargetView **view) PURE;
|
---|
475 | STDMETHOD(SetRenderTargetArray)(THIS_ ID3D10RenderTargetView **views, UINT offset, UINT count) PURE;
|
---|
476 | STDMETHOD(GetRenderTargetArray)(THIS_ ID3D10RenderTargetView **views, UINT offset, UINT count) PURE;
|
---|
477 | };
|
---|
478 | #undef INTERFACE
|
---|
479 |
|
---|
480 | DEFINE_GUID(IID_ID3D10EffectDepthStencilViewVariable,
|
---|
481 | 0x3e02c918, 0xcc79, 0x4985, 0xb6, 0x22, 0x2d, 0x92, 0xad, 0x70, 0x16, 0x23);
|
---|
482 |
|
---|
483 | #define INTERFACE ID3D10EffectDepthStencilViewVariable
|
---|
484 | DECLARE_INTERFACE_(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable)
|
---|
485 | {
|
---|
486 | /* ID3D10EffectVariable methods */
|
---|
487 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
488 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
489 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
490 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
491 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
492 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
493 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
494 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
495 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
496 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
497 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
498 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
499 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
500 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
501 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
502 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
503 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
504 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
505 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
506 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
507 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
508 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
509 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
510 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
511 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
512 | /* ID3D10EffectDepthStencilViewVariable methods */
|
---|
513 | STDMETHOD(SetDepthStencil)(THIS_ ID3D10DepthStencilView *view) PURE;
|
---|
514 | STDMETHOD(GetDepthStencil)(THIS_ ID3D10DepthStencilView **view) PURE;
|
---|
515 | STDMETHOD(SetDepthStencilArray)(THIS_ ID3D10DepthStencilView **views, UINT offset, UINT count) PURE;
|
---|
516 | STDMETHOD(GetDepthStencilArray)(THIS_ ID3D10DepthStencilView **views, UINT offset, UINT count) PURE;
|
---|
517 | };
|
---|
518 | #undef INTERFACE
|
---|
519 |
|
---|
520 | DEFINE_GUID(IID_ID3D10EffectShaderVariable, 0x80849279, 0xc799, 0x4797, 0x8c, 0x33, 0x04, 0x07, 0xa0, 0x7d, 0x9e, 0x06);
|
---|
521 |
|
---|
522 | #define INTERFACE ID3D10EffectShaderVariable
|
---|
523 | DECLARE_INTERFACE_(ID3D10EffectShaderVariable, ID3D10EffectVariable)
|
---|
524 | {
|
---|
525 | /* ID3D10EffectVariable methods */
|
---|
526 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
527 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
528 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
529 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
530 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
531 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
532 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
533 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
534 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
535 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
536 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
537 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
538 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
539 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
540 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
541 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
542 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
543 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
544 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
545 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
546 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
547 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
548 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
549 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
550 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
551 | /* ID3D10EffectShaderVariable methods */
|
---|
552 | STDMETHOD(GetShaderDesc)(THIS_ UINT index, D3D10_EFFECT_SHADER_DESC *desc) PURE;
|
---|
553 | STDMETHOD(GetVertexShader)(THIS_ UINT index, ID3D10VertexShader **shader) PURE;
|
---|
554 | STDMETHOD(GetGeometryShader)(THIS_ UINT index, ID3D10GeometryShader **shader) PURE;
|
---|
555 | STDMETHOD(GetPixelShader)(THIS_ UINT index, ID3D10PixelShader **shader) PURE;
|
---|
556 | STDMETHOD(GetInputSignatureElementDesc)(THIS_ UINT shader_index, UINT element_index,
|
---|
557 | D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE;
|
---|
558 | STDMETHOD(GetOutputSignatureElementDesc)(THIS_ UINT shader_index, UINT element_index,
|
---|
559 | D3D10_SIGNATURE_PARAMETER_DESC *desc) PURE;
|
---|
560 | };
|
---|
561 | #undef INTERFACE
|
---|
562 |
|
---|
563 | DEFINE_GUID(IID_ID3D10EffectBlendVariable, 0x1fcd2294, 0xdf6d, 0x4eae, 0x86, 0xb3, 0x0e, 0x91, 0x60, 0xcf, 0xb0, 0x7b);
|
---|
564 |
|
---|
565 | #define INTERFACE ID3D10EffectBlendVariable
|
---|
566 | DECLARE_INTERFACE_(ID3D10EffectBlendVariable, ID3D10EffectVariable)
|
---|
567 | {
|
---|
568 | /* ID3D10EffectVariable methods */
|
---|
569 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
570 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
571 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
572 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
573 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
574 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
575 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
576 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
577 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
578 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
579 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
580 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
581 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
582 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
583 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
584 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
585 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
586 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
587 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
588 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
589 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
590 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
591 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
592 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
593 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
594 | /* ID3D10EffectBlendVariable methods */
|
---|
595 | STDMETHOD(GetBlendState)(THIS_ UINT index, ID3D10BlendState **blend_state) PURE;
|
---|
596 | STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_BLEND_DESC *desc) PURE;
|
---|
597 | };
|
---|
598 | #undef INTERFACE
|
---|
599 |
|
---|
600 | DEFINE_GUID(IID_ID3D10EffectDepthStencilVariable,
|
---|
601 | 0xaf482368, 0x330a, 0x46a5, 0x9a, 0x5c, 0x01, 0xc7, 0x1a, 0xf2, 0x4c, 0x8d);
|
---|
602 |
|
---|
603 | #define INTERFACE ID3D10EffectDepthStencilVariable
|
---|
604 | DECLARE_INTERFACE_(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable)
|
---|
605 | {
|
---|
606 | /* ID3D10EffectVariable methods */
|
---|
607 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
608 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
609 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
610 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
611 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
612 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
613 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
614 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
615 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
616 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
617 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
618 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
619 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
620 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
621 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
622 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
623 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
624 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
625 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
626 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
627 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
628 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
629 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
630 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
631 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
632 | /* ID3D10EffectDepthStencilVariable methods */
|
---|
633 | STDMETHOD(GetDepthStencilState)(THIS_ UINT index, ID3D10DepthStencilState **depth_stencil_state) PURE;
|
---|
634 | STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_DEPTH_STENCIL_DESC *desc) PURE;
|
---|
635 | };
|
---|
636 | #undef INTERFACE
|
---|
637 |
|
---|
638 | DEFINE_GUID(IID_ID3D10EffectRasterizerVariable,
|
---|
639 | 0x21af9f0e, 0x4d94, 0x4ea9, 0x97, 0x85, 0x2c, 0xb7, 0x6b, 0x8c, 0x0b, 0x34);
|
---|
640 |
|
---|
641 | #define INTERFACE ID3D10EffectRasterizerVariable
|
---|
642 | DECLARE_INTERFACE_(ID3D10EffectRasterizerVariable, ID3D10EffectVariable)
|
---|
643 | {
|
---|
644 | /* ID3D10EffectVariable methods */
|
---|
645 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
646 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
647 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
648 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
649 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
650 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
651 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
652 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
653 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
654 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
655 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
656 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
657 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
658 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
659 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
660 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
661 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
662 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
663 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
664 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
665 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
666 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
667 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
668 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
669 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
670 | /* ID3D10EffectRasterizerVariable methods */
|
---|
671 | STDMETHOD(GetRasterizerState)(THIS_ UINT index, ID3D10RasterizerState **rasterizer_state) PURE;
|
---|
672 | STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_RASTERIZER_DESC *desc) PURE;
|
---|
673 | };
|
---|
674 | #undef INTERFACE
|
---|
675 |
|
---|
676 | DEFINE_GUID(IID_ID3D10EffectSamplerVariable,
|
---|
677 | 0x6530d5c7, 0x07e9, 0x4271, 0xa4, 0x18, 0xe7, 0xce, 0x4b, 0xd1, 0xe4, 0x80);
|
---|
678 |
|
---|
679 | #define INTERFACE ID3D10EffectSamplerVariable
|
---|
680 | DECLARE_INTERFACE_(ID3D10EffectSamplerVariable, ID3D10EffectVariable)
|
---|
681 | {
|
---|
682 | /* ID3D10EffectVariable methods */
|
---|
683 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
684 | STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
|
---|
685 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
|
---|
686 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
687 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
688 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
|
---|
689 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
|
---|
690 | STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
691 | STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
|
---|
692 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
|
---|
693 | STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
|
---|
694 | STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
|
---|
695 | STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
|
---|
696 | STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
|
---|
697 | STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
|
---|
698 | STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
|
---|
699 | STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
|
---|
700 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
|
---|
701 | STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
|
---|
702 | STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
|
---|
703 | STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
|
---|
704 | STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
|
---|
705 | STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
|
---|
706 | STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
707 | STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
|
---|
708 | /* ID3D10EffectSamplerVariable methods */
|
---|
709 | STDMETHOD(GetSampler)(THIS_ UINT index, ID3D10SamplerState **sampler) PURE;
|
---|
710 | STDMETHOD(GetBackingStore)(THIS_ UINT index, D3D10_SAMPLER_DESC *desc) PURE;
|
---|
711 | };
|
---|
712 | #undef INTERFACE
|
---|
713 |
|
---|
714 | DEFINE_GUID(IID_ID3D10EffectTechnique, 0xdb122ce8, 0xd1c9, 0x4292, 0xb2, 0x37, 0x24, 0xed, 0x3d, 0xe8, 0xb1, 0x75);
|
---|
715 |
|
---|
716 | #define INTERFACE ID3D10EffectTechnique
|
---|
717 | DECLARE_INTERFACE(ID3D10EffectTechnique)
|
---|
718 | {
|
---|
719 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
720 | STDMETHOD(GetDesc)(THIS_ D3D10_TECHNIQUE_DESC *desc) PURE;
|
---|
721 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
722 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
723 | STDMETHOD_(struct ID3D10EffectPass *, GetPassByIndex)(THIS_ UINT index) PURE;
|
---|
724 | STDMETHOD_(struct ID3D10EffectPass *, GetPassByName)(THIS_ LPCSTR name) PURE;
|
---|
725 | STDMETHOD(ComputeStateBlockMask)(THIS_ D3D10_STATE_BLOCK_MASK *mask) PURE;
|
---|
726 | };
|
---|
727 | #undef INTERFACE
|
---|
728 |
|
---|
729 | DEFINE_GUID(IID_ID3D10Effect, 0x51b0ca8b, 0xec0b, 0x4519, 0x87, 0x0d, 0x8e, 0xe1, 0xcb, 0x50, 0x17, 0xc7);
|
---|
730 |
|
---|
731 | #define INTERFACE ID3D10Effect
|
---|
732 | DECLARE_INTERFACE_(ID3D10Effect, IUnknown)
|
---|
733 | {
|
---|
734 | /* IUnknown methods */
|
---|
735 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID *object) PURE;
|
---|
736 | STDMETHOD_(ULONG, AddRef)(THIS) PURE;
|
---|
737 | STDMETHOD_(ULONG, Release)(THIS) PURE;
|
---|
738 | /* ID3D10Effect methods */
|
---|
739 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
740 | STDMETHOD_(BOOL, IsPool)(THIS) PURE;
|
---|
741 | STDMETHOD(GetDevice)(THIS_ ID3D10Device **device) PURE;
|
---|
742 | STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_DESC *desc) PURE;
|
---|
743 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE;
|
---|
744 | STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetConstantBufferByName)(THIS_ LPCSTR name) PURE;
|
---|
745 | STDMETHOD_(struct ID3D10EffectVariable *, GetVariableByIndex)(THIS_ UINT index) PURE;
|
---|
746 | STDMETHOD_(struct ID3D10EffectVariable *, GetVariableByName)(THIS_ LPCSTR name) PURE;
|
---|
747 | STDMETHOD_(struct ID3D10EffectVariable *, GetVariableBySemantic)(THIS_ LPCSTR semantic) PURE;
|
---|
748 | STDMETHOD_(struct ID3D10EffectTechnique *, GetTechniqueByIndex)(THIS_ UINT index) PURE;
|
---|
749 | STDMETHOD_(struct ID3D10EffectTechnique *, GetTechniqueByName)(THIS_ LPCSTR name) PURE;
|
---|
750 | STDMETHOD(Optimize)(THIS) PURE;
|
---|
751 | STDMETHOD_(BOOL, IsOptimized)(THIS) PURE;
|
---|
752 | };
|
---|
753 | #undef INTERFACE
|
---|
754 |
|
---|
755 | DEFINE_GUID(IID_ID3D10EffectPool, 0x9537ab04, 0x3250, 0x412e, 0x82, 0x13, 0xfc, 0xd2, 0xf8, 0x67, 0x79, 0x33);
|
---|
756 |
|
---|
757 | #define INTERFACE ID3D10EffectPool
|
---|
758 | DECLARE_INTERFACE_(ID3D10EffectPool, IUnknown)
|
---|
759 | {
|
---|
760 | /* IUnknown methods */
|
---|
761 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID *object) PURE;
|
---|
762 | STDMETHOD_(ULONG, AddRef)(THIS) PURE;
|
---|
763 | STDMETHOD_(ULONG, Release)(THIS) PURE;
|
---|
764 | /* ID3D10EffectPool methods */
|
---|
765 | STDMETHOD_(struct ID3D10Effect *, AsEffect)(THIS) PURE;
|
---|
766 | };
|
---|
767 | #undef INTERFACE
|
---|
768 |
|
---|
769 | DEFINE_GUID(IID_ID3D10EffectPass, 0x5cfbeb89, 0x1a06, 0x46e0, 0xb2, 0x82, 0xe3, 0xf9, 0xbf, 0xa3, 0x6a, 0x54);
|
---|
770 |
|
---|
771 | #define INTERFACE ID3D10EffectPass
|
---|
772 | DECLARE_INTERFACE(ID3D10EffectPass)
|
---|
773 | {
|
---|
774 | STDMETHOD_(BOOL, IsValid)(THIS) PURE;
|
---|
775 | STDMETHOD(GetDesc)(THIS_ D3D10_PASS_DESC *desc) PURE;
|
---|
776 | STDMETHOD(GetVertexShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *desc) PURE;
|
---|
777 | STDMETHOD(GetGeometryShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *desc) PURE;
|
---|
778 | STDMETHOD(GetPixelShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *desc) PURE;
|
---|
779 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
|
---|
780 | STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
|
---|
781 | STDMETHOD(Apply)(THIS_ UINT flags) PURE;
|
---|
782 | STDMETHOD(ComputeStateBlockMask)(THIS_ D3D10_STATE_BLOCK_MASK *mask) PURE;
|
---|
783 | };
|
---|
784 | #undef INTERFACE
|
---|
785 |
|
---|
786 | #ifdef __cplusplus
|
---|
787 | extern "C" {
|
---|
788 | #endif
|
---|
789 |
|
---|
790 | HRESULT WINAPI D3D10CreateEffectFromMemory(void *data, SIZE_T data_size, UINT flags,
|
---|
791 | ID3D10Device *device, ID3D10EffectPool *effect_pool, ID3D10Effect **effect);
|
---|
792 |
|
---|
793 | #ifdef __cplusplus
|
---|
794 | }
|
---|
795 | #endif
|
---|
796 |
|
---|
797 | #endif /* __WINE_D3D10EFFECT_H */
|
---|