]> gitweb.factorcode.org Git - factor.git/blob - basis/windows/directx/d3d10effect/d3d10effect.factor
factor: FUNCTION: rename by hand...
[factor.git] / basis / windows / directx / d3d10effect / d3d10effect.factor
1 USING: alien.c-types alien.syntax classes.struct windows.com
2 windows.com.syntax windows.directx windows.directx.d3d10
3 windows.directx.d3d10misc windows.directx.d3d10shader windows.types ;
4 IN: windows.directx.d3d10effect
5
6 LIBRARY: d3d10
7
8 CONSTANT: D3D10_DST_SO_BUFFERS             1
9 CONSTANT: D3D10_DST_OM_RENDER_TARGETS      2
10 CONSTANT: D3D10_DST_OM_DEPTH_STENCIL_STATE 3
11 CONSTANT: D3D10_DST_OM_BLEND_STATE         4
12 CONSTANT: D3D10_DST_VS                     5
13 CONSTANT: D3D10_DST_VS_SAMPLERS            6
14 CONSTANT: D3D10_DST_VS_SHADER_RESOURCES    7
15 CONSTANT: D3D10_DST_VS_CONSTANT_BUFFERS    8
16 CONSTANT: D3D10_DST_GS                     9
17 CONSTANT: D3D10_DST_GS_SAMPLERS            10
18 CONSTANT: D3D10_DST_GS_SHADER_RESOURCES    11
19 CONSTANT: D3D10_DST_GS_CONSTANT_BUFFERS    12
20 CONSTANT: D3D10_DST_PS                     13
21 CONSTANT: D3D10_DST_PS_SAMPLERS            14
22 CONSTANT: D3D10_DST_PS_SHADER_RESOURCES    15
23 CONSTANT: D3D10_DST_PS_CONSTANT_BUFFERS    16
24 CONSTANT: D3D10_DST_IA_VERTEX_BUFFERS      17
25 CONSTANT: D3D10_DST_IA_INDEX_BUFFER        18
26 CONSTANT: D3D10_DST_IA_INPUT_LAYOUT        19
27 CONSTANT: D3D10_DST_IA_PRIMITIVE_TOPOLOGY  20
28 CONSTANT: D3D10_DST_RS_VIEWPORTS           21
29 CONSTANT: D3D10_DST_RS_SCISSOR_RECTS       22
30 CONSTANT: D3D10_DST_RS_RASTERIZER_STATE    23
31 CONSTANT: D3D10_DST_PREDICATION            24
32 TYPEDEF: int D3D10_DEVICE_STATE_TYPES
33
34 STRUCT: D3D10_STATE_BLOCK_MASK
35     { VS                  BYTE    }
36     { VSSamplers          BYTE[2] }
37     { VSShaderResources   BYTE[8] }
38     { VSConstantBuffers   BYTE[2] }
39     { GS                  BYTE    }
40     { GSSamplers          BYTE[2] }
41     { GSShaderResources   BYTE[8] }
42     { GSConstantBuffers   BYTE[2] }
43     { PS                  BYTE    }
44     { PSSamplers          BYTE[2] }
45     { PSShaderResources   BYTE[8] }
46     { PSConstantBuffers   BYTE[2] }
47     { IAVertexBuffers     BYTE[2] }
48     { IAIndexBuffer       BYTE    }
49     { IAInputLayout       BYTE    }
50     { IAPrimitiveTopology BYTE    }
51     { OMRenderTargets     BYTE    }
52     { OMDepthStencilState BYTE    }
53     { OMBlendState        BYTE    }
54     { RSViewports         BYTE    }
55     { RSScissorRects      BYTE    }
56     { RSRasterizerState   BYTE    }
57     { SOBuffers           BYTE    }
58     { Predication         BYTE    } ;
59
60 COM-INTERFACE: ID3D10StateBlock IUnknown {0803425A-57F5-4dd6-9465-A87570834A08}
61     HRESULT Capture ( )
62     HRESULT Apply ( )
63     HRESULT ReleaseAllDeviceObjects ( )
64     HRESULT GetDevice ( ID3D10Device** ppDevice ) ;
65 TYPEDEF: ID3D10StateBlock* LPD3D10STATEBLOCK
66
67 FUNCTION: HRESULT D3D10StateBlockMaskUnion ( D3D10_STATE_BLOCK_MASK* pA, D3D10_STATE_BLOCK_MASK* pB, D3D10_STATE_BLOCK_MASK* pResult )
68 FUNCTION: HRESULT D3D10StateBlockMaskIntersect ( D3D10_STATE_BLOCK_MASK* pA, D3D10_STATE_BLOCK_MASK* pB, D3D10_STATE_BLOCK_MASK* pResult )
69 FUNCTION: HRESULT D3D10StateBlockMaskDifference ( D3D10_STATE_BLOCK_MASK* pA, D3D10_STATE_BLOCK_MASK* pB, D3D10_STATE_BLOCK_MASK* pResult )
70 FUNCTION: HRESULT D3D10StateBlockMaskEnableCapture ( D3D10_STATE_BLOCK_MASK* pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT RangeStart, UINT RangeLength )
71 FUNCTION: HRESULT D3D10StateBlockMaskDisableCapture ( D3D10_STATE_BLOCK_MASK* pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT RangeStart, UINT RangeLength )
72 FUNCTION: HRESULT D3D10StateBlockMaskEnableAll ( D3D10_STATE_BLOCK_MASK* pMask )
73 FUNCTION: HRESULT D3D10StateBlockMaskDisableAll ( D3D10_STATE_BLOCK_MASK* pMask )
74 FUNCTION: BOOL    D3D10StateBlockMaskGetSetting ( D3D10_STATE_BLOCK_MASK* pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT Entry )
75
76 FUNCTION: HRESULT D3D10CreateStateBlock ( ID3D10Device* pDevice, D3D10_STATE_BLOCK_MASK* pStateBlockMask, ID3D10StateBlock** ppStateBlock )
77
78 CONSTANT: D3D10_EFFECT_COMPILE_CHILD_EFFECT             1
79 CONSTANT: D3D10_EFFECT_COMPILE_ALLOW_SLOW_OPS           2
80 CONSTANT: D3D10_EFFECT_SINGLE_THREADED                  8
81
82 CONSTANT: D3D10_EFFECT_VARIABLE_POOLED                  1
83 CONSTANT: D3D10_EFFECT_VARIABLE_ANNOTATION              2
84 CONSTANT: D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT     4
85
86 STRUCT: D3D10_EFFECT_TYPE_DESC
87     { TypeName        LPCSTR                      }
88     { Class           D3D10_SHADER_VARIABLE_CLASS }
89     { Type            D3D10_SHADER_VARIABLE_TYPE  }
90     { Elements        UINT                        }
91     { Members         UINT                        }
92     { Rows            UINT                        }
93     { Columns         UINT                        }
94     { PackedSize      UINT                        }
95     { UnpackedSize    UINT                        }
96     { Stride          UINT                        } ;
97
98 COM-INTERFACE: ID3D10EffectType f {4E9E1DDC-CD9D-4772-A837-00180B9B88FD}
99     BOOL IsValid ( )
100     HRESULT GetDesc ( D3D10_EFFECT_TYPE_DESC* pDesc )
101     ID3D10EffectType* GetMemberTypeByIndex ( UINT Index )
102     ID3D10EffectType* GetMemberTypeByName ( LPCSTR Name )
103     ID3D10EffectType* GetMemberTypeBySemantic ( LPCSTR Semantic )
104     LPCSTR GetMemberName ( UINT Index )
105     LPCSTR GetMemberSemantic ( UINT Index ) ;
106 TYPEDEF: ID3D10EffectType* LPD3D10EFFECTTYPE
107
108 STRUCT: D3D10_EFFECT_VARIABLE_DESC
109     { Name                 LPCSTR }
110     { Semantic             LPCSTR }
111     { Flags                UINT   }
112     { Annotations          UINT   }
113     { BufferOffset         UINT   }
114     { ExplicitBindPoint    UINT   } ;
115
116 C-TYPE: ID3D10EffectConstantBuffer
117 C-TYPE: ID3D10EffectScalarVariable
118 C-TYPE: ID3D10EffectVectorVariable
119 C-TYPE: ID3D10EffectMatrixVariable
120 C-TYPE: ID3D10EffectStringVariable
121 C-TYPE: ID3D10EffectShaderResourceVariable
122 C-TYPE: ID3D10EffectRenderTargetViewVariable
123 C-TYPE: ID3D10EffectDepthStencilViewVariable
124 C-TYPE: ID3D10EffectShaderVariable
125 C-TYPE: ID3D10EffectBlendVariable
126 C-TYPE: ID3D10EffectDepthStencilVariable
127 C-TYPE: ID3D10EffectRasterizerVariable
128 C-TYPE: ID3D10EffectSamplerVariable
129
130 COM-INTERFACE: ID3D10EffectVariable f {AE897105-00E6-45bf-BB8E-281DD6DB8E1B}
131     BOOL IsValid ( )
132     ID3D10EffectType* GetType ( )
133     HRESULT GetDesc ( D3D10_EFFECT_VARIABLE_DESC* pDesc )
134     ID3D10EffectVariable* GetAnnotationByIndex ( UINT Index )
135     ID3D10EffectVariable* GetAnnotationByName ( LPCSTR Name )
136     ID3D10EffectVariable* GetMemberByIndex ( UINT Index )
137     ID3D10EffectVariable* GetMemberByName ( LPCSTR Name )
138     ID3D10EffectVariable* GetMemberBySemantic ( LPCSTR Semantic )
139     ID3D10EffectVariable* GetElement ( UINT Index )
140     ID3D10EffectConstantBuffer* GetParentConstantBuffer ( )
141     ID3D10EffectScalarVariable* AsScalar ( )
142     ID3D10EffectVectorVariable* AsVector ( )
143     ID3D10EffectMatrixVariable* AsMatrix ( )
144     ID3D10EffectStringVariable* AsString ( )
145     ID3D10EffectShaderResourceVariable* AsShaderResource ( )
146     ID3D10EffectRenderTargetViewVariable* AsRenderTargetView ( )
147     ID3D10EffectDepthStencilViewVariable* AsDepthStencilView ( )
148     ID3D10EffectConstantBuffer* AsConstantBuffer ( )
149     ID3D10EffectShaderVariable* AsShader ( )
150     ID3D10EffectBlendVariable* AsBlend ( )
151     ID3D10EffectDepthStencilVariable* AsDepthStencil ( )
152     ID3D10EffectRasterizerVariable* AsRasterizer ( )
153     ID3D10EffectSamplerVariable* AsSampler ( )
154     HRESULT SetRawValue ( void* pData, UINT Offset, UINT Count )
155     HRESULT GetRawValue ( void* pData, UINT Offset, UINT Count ) ;
156 TYPEDEF: ID3D10EffectVariable* LPD3D10EFFECTVARIABLE
157
158 COM-INTERFACE: ID3D10EffectScalarVariable ID3D10EffectVariable {00E48F7B-D2C8-49e8-A86C-022DEE53431F}
159     HRESULT SetFloat ( float Value )
160     HRESULT GetFloat ( float* pValue )
161     HRESULT SetFloatArray ( float* pData, UINT Offset, UINT Count )
162     HRESULT GetFloatArray ( float* pData, UINT Offset, UINT Count )
163     HRESULT SetInt ( int Value )
164     HRESULT GetInt ( int* pValue )
165     HRESULT SetIntArray ( int* pData, UINT Offset, UINT Count )
166     HRESULT GetIntArray ( int* pData, UINT Offset, UINT Count )
167     HRESULT SetBool ( BOOL Value )
168     HRESULT GetBool ( BOOL* pValue )
169     HRESULT SetBoolArray ( BOOL* pData, UINT Offset, UINT Count )
170     HRESULT GetBoolArray ( BOOL* pData, UINT Offset, UINT Count ) ;
171 TYPEDEF: ID3D10EffectScalarVariable* LPD3D10EFFECTSCALARVARIABLE
172
173 COM-INTERFACE: ID3D10EffectVectorVariable ID3D10EffectVariable {62B98C44-1F82-4c67-BCD0-72CF8F217E81}
174     HRESULT SetBoolVector ( BOOL* pData )
175     HRESULT SetIntVector  ( int* pData )
176     HRESULT SetFloatVector ( float* pData )
177     HRESULT GetBoolVector ( BOOL* pData )
178     HRESULT GetIntVector  ( int* pData )
179     HRESULT GetFloatVector ( float *pData )
180     HRESULT SetBoolVectorArray ( BOOL* pData, UINT Offset, UINT Count )
181     HRESULT SetIntVectorArray  ( int* pData, UINT Offset, UINT Count )
182     HRESULT SetFloatVectorArray ( float* pData, UINT Offset, UINT Count )
183     HRESULT GetBoolVectorArray ( BOOL* pData, UINT Offset, UINT Count )
184     HRESULT GetIntVectorArray  ( int* pData, UINT Offset, UINT Count )
185     HRESULT GetFloatVectorArray ( float* pData, UINT Offset, UINT Count ) ;
186 TYPEDEF: ID3D10EffectVectorVariable* LPD3D10EFFECTVECTORVARIABLE
187
188 COM-INTERFACE: ID3D10EffectMatrixVariable ID3D10EffectVariable {50666C24-B82F-4eed-A172-5B6E7E8522E0}
189     HRESULT SetMatrix ( float* pData )
190     HRESULT GetMatrix ( float* pData )
191     HRESULT SetMatrixArray ( float* pData, UINT Offset, UINT Count )
192     HRESULT GetMatrixArray ( float* pData, UINT Offset, UINT Count )
193     HRESULT SetMatrixTranspose ( float* pData )
194     HRESULT GetMatrixTranspose ( float* pData )
195     HRESULT SetMatrixTransposeArray ( float* pData, UINT Offset, UINT Count )
196     HRESULT GetMatrixTransposeArray ( float* pData, UINT Offset, UINT Count ) ;
197 TYPEDEF: ID3D10EffectMatrixVariable* LPD3D10EFFECTMATRIXVARIABLE
198
199
200 COM-INTERFACE: ID3D10EffectStringVariable ID3D10EffectVariable {71417501-8DF9-4e0a-A78A-255F9756BAFF}
201     HRESULT GetString ( LPCSTR* ppString )
202     HRESULT GetStringArray ( LPCSTR* ppStrings, UINT Offset, UINT Count ) ;
203 TYPEDEF: ID3D10EffectStringVariable* LPD3D10EFFECTSTRINGVARIABLE
204
205 COM-INTERFACE: ID3D10EffectShaderResourceVariable ID3D10EffectVariable {C0A7157B-D872-4b1d-8073-EFC2ACD4B1FC}
206     HRESULT SetResource ( ID3D10ShaderResourceView* pResource )
207     HRESULT GetResource ( ID3D10ShaderResourceView** ppResource )
208     HRESULT SetResourceArray ( ID3D10ShaderResourceView** ppResources, UINT Offset, UINT Count )
209     HRESULT GetResourceArray ( ID3D10ShaderResourceView** ppResources, UINT Offset, UINT Count ) ;
210 TYPEDEF: ID3D10EffectShaderResourceVariable* LPD3D10EFFECTSHADERRESOURCEVARIABLE
211
212 COM-INTERFACE: ID3D10EffectRenderTargetViewVariable ID3D10EffectVariable {28CA0CC3-C2C9-40bb-B57F-67B737122B17}
213     HRESULT SetRenderTarget ( ID3D10RenderTargetView* pResource )
214     HRESULT GetRenderTarget ( ID3D10RenderTargetView** ppResource )
215     HRESULT SetRenderTargetArray ( ID3D10RenderTargetView** ppResources, UINT Offset, UINT Count )
216     HRESULT GetRenderTargetArray ( ID3D10RenderTargetView** ppResources, UINT Offset, UINT Count ) ;
217 TYPEDEF: ID3D10EffectRenderTargetViewVariable* LPD3D10EFFECTRENDERTARGETVIEWVARIABLE
218
219 COM-INTERFACE: ID3D10EffectDepthStencilViewVariable ID3D10EffectVariable {3E02C918-CC79-4985-B622-2D92AD701623}
220     HRESULT SetDepthStencil ( ID3D10DepthStencilView* pResource )
221     HRESULT GetDepthStencil ( ID3D10DepthStencilView** ppResource )
222     HRESULT SetDepthStencilArray ( ID3D10DepthStencilView** ppResources, UINT Offset, UINT Count )
223     HRESULT GetDepthStencilArray ( ID3D10DepthStencilView** ppResources, UINT Offset, UINT Count ) ;
224 TYPEDEF: ID3D10EffectDepthStencilViewVariable* LPD3D10EFFECTDEPTHSTENCILVIEWVARIABLE
225
226 COM-INTERFACE: ID3D10EffectConstantBuffer ID3D10EffectVariable {56648F4D-CC8B-4444-A5AD-B5A3D76E91B3}
227     HRESULT SetConstantBuffer ( ID3D10Buffer* pConstantBuffer )
228     HRESULT GetConstantBuffer ( ID3D10Buffer** ppConstantBuffer )
229     HRESULT SetTextureBuffer ( ID3D10ShaderResourceView* pTextureBuffer )
230     HRESULT GetTextureBuffer ( ID3D10ShaderResourceView** ppTextureBuffer ) ;
231 TYPEDEF: ID3D10EffectConstantBuffer* LPD3D10EFFECTCONSTANTBUFFER
232
233 STRUCT: D3D10_EFFECT_SHADER_DESC
234     { pInputSignature           BYTE*  }
235     { IsInline                  BOOL   }
236     { pBytecode                 BYTE*  }
237     { BytecodeLength            UINT   }
238     { SODecl                    LPCSTR }
239     { NumInputSignatureEntries  UINT   }
240     { NumOutputSignatureEntries UINT   } ;
241
242 COM-INTERFACE: ID3D10EffectShaderVariable ID3D10EffectVariable {80849279-C799-4797-8C33-0407A07D9E06}
243     HRESULT GetShaderDesc ( UINT ShaderIndex, D3D10_EFFECT_SHADER_DESC* pDesc )
244     HRESULT GetVertexShader ( UINT ShaderIndex, ID3D10VertexShader** ppVS )
245     HRESULT GetGeometryShader ( UINT ShaderIndex, ID3D10GeometryShader** ppGS )
246     HRESULT GetPixelShader ( UINT ShaderIndex, ID3D10PixelShader** ppPS )
247     HRESULT GetInputSignatureElementDesc ( UINT ShaderIndex, UINT Element, D3D10_SIGNATURE_PARAMETER_DESC* pDesc )
248     HRESULT GetOutputSignatureElementDesc ( UINT ShaderIndex, UINT Element, D3D10_SIGNATURE_PARAMETER_DESC* pDesc ) ;
249 TYPEDEF: ID3D10EffectShaderVariable* LPD3D10EFFECTSHADERVARIABLE
250
251 COM-INTERFACE: ID3D10EffectBlendVariable ID3D10EffectVariable {1FCD2294-DF6D-4eae-86B3-0E9160CFB07B}
252     HRESULT GetBlendState ( UINT Index, ID3D10BlendState** ppBlendState )
253     HRESULT GetBackingStore ( UINT Index, D3D10_BLEND_DESC* pBlendDesc ) ;
254 TYPEDEF: ID3D10EffectBlendVariable* LPD3D10EFFECTBLENDVARIABLE
255
256 COM-INTERFACE: ID3D10EffectDepthStencilVariable ID3D10EffectVariable {AF482368-330A-46a5-9A5C-01C71AF24C8D}
257     HRESULT GetDepthStencilState ( UINT Index, ID3D10DepthStencilState** ppDepthStencilState )
258     HRESULT GetBackingStore ( UINT Index, D3D10_DEPTH_STENCIL_DESC* pDepthStencilDesc ) ;
259 TYPEDEF: ID3D10EffectDepthStencilVariable* LPD3D10EFFECTDEPTHSTENCILVARIABLE
260
261 COM-INTERFACE: ID3D10EffectRasterizerVariable ID3D10EffectVariable {21AF9F0E-4D94-4ea9-9785-2CB76B8C0B34}
262     HRESULT GetRasterizerState ( UINT Index, ID3D10RasterizerState** ppRasterizerState )
263     HRESULT GetBackingStore ( UINT Index, D3D10_RASTERIZER_DESC* pRasterizerDesc ) ;
264 TYPEDEF: ID3D10EffectRasterizerVariable* LPD3D10EFFECTRASTERIZERVARIABLE
265
266 COM-INTERFACE: ID3D10EffectSamplerVariable ID3D10EffectVariable {6530D5C7-07E9-4271-A418-E7CE4BD1E480}
267     HRESULT GetSampler ( UINT Index, ID3D10SamplerState** ppSampler )
268     HRESULT GetBackingStore ( UINT Index, D3D10_SAMPLER_DESC* pSamplerDesc ) ;
269 TYPEDEF: ID3D10EffectSamplerVariable* LPD3D10EFFECTSAMPLERVARIABLE
270
271 STRUCT: D3D10_PASS_DESC
272     { Name                 LPCSTR   }
273     { Annotations          UINT     }
274     { pIAInputSignature    BYTE*    }
275     { IAInputSignatureSize SIZE_T   }
276     { StencilRef           UINT     }
277     { SampleMask           UINT     }
278     { BlendFactor          FLOAT[4] } ;
279
280 STRUCT: D3D10_PASS_SHADER_DESC
281     { pShaderVariable                    ID3D10EffectShaderVariable* }
282     { ShaderIndex                        UINT                        } ;
283
284 COM-INTERFACE: ID3D10EffectPass f {5CFBEB89-1A06-46e0-B282-E3F9BFA36A54}
285     BOOL IsValid ( )
286     HRESULT GetDesc ( D3D10_PASS_DESC* pDesc )
287     HRESULT GetVertexShaderDesc ( D3D10_PASS_SHADER_DESC* pDesc )
288     HRESULT GetGeometryShaderDesc ( D3D10_PASS_SHADER_DESC* pDesc )
289     HRESULT GetPixelShaderDesc ( D3D10_PASS_SHADER_DESC* pDesc )
290     ID3D10EffectVariable* GetAnnotationByIndex ( UINT Index )
291     ID3D10EffectVariable* GetAnnotationByName ( LPCSTR Name )
292     HRESULT Apply ( UINT Flags )
293     HRESULT ComputeStateBlockMask ( D3D10_STATE_BLOCK_MASK* pStateBlockMask ) ;
294 TYPEDEF: ID3D10EffectPass* LPD3D10EFFECTPASS
295
296 STRUCT: D3D10_TECHNIQUE_DESC
297     { Name           LPCSTR }
298     { Passes         UINT   }
299     { Annotations    UINT   } ;
300
301 COM-INTERFACE: ID3D10EffectTechnique f {DB122CE8-D1C9-4292-B237-24ED3DE8B175}
302     BOOL IsValid ( )
303     HRESULT GetDesc ( D3D10_TECHNIQUE_DESC* pDesc )
304     ID3D10EffectVariable* GetAnnotationByIndex ( UINT Index )
305     ID3D10EffectVariable* GetAnnotationByName ( LPCSTR Name )
306     ID3D10EffectPass* GetPassByIndex ( UINT Index )
307     ID3D10EffectPass* GetPassByName ( LPCSTR Name )
308     HRESULT ComputeStateBlockMask ( D3D10_STATE_BLOCK_MASK* pStateBlockMask ) ;
309 TYPEDEF: ID3D10EffectTechnique* LPD3D10EFFECTTECHNIQUE
310
311 STRUCT: D3D10_EFFECT_DESC
312     { IsChildEffect            BOOL }
313     { ConstantBuffers          UINT }
314     { SharedConstantBuffers    UINT }
315     { GlobalVariables          UINT }
316     { SharedGlobalVariables    UINT }
317     { Techniques               UINT } ;
318
319 COM-INTERFACE: ID3D10Effect IUnknown {51B0CA8B-EC0B-4519-870D-8EE1CB5017C7}
320     BOOL IsValid ( )
321     BOOL IsPool ( )
322     HRESULT GetDevice ( ID3D10Device** ppDevice )
323     HRESULT GetDesc ( D3D10_EFFECT_DESC* pDesc )
324     ID3D10EffectConstantBuffer* GetConstantBufferByIndex ( UINT Index )
325     ID3D10EffectConstantBuffer* GetConstantBufferByName ( LPCSTR Name )
326     ID3D10EffectVariable* GetVariableByIndex ( UINT Index )
327     ID3D10EffectVariable* GetVariableByName ( LPCSTR Name )
328     ID3D10EffectVariable* GetVariableBySemantic ( LPCSTR Semantic )
329     ID3D10EffectTechnique* GetTechniqueByIndex ( UINT Index )
330     ID3D10EffectTechnique* GetTechniqueByName ( LPCSTR Name )
331     HRESULT Optimize ( )
332     BOOL IsOptimized ( ) ;
333 TYPEDEF: ID3D10Effect* LPD3D10EFFECT
334
335 COM-INTERFACE: ID3D10EffectPool IUnknown {9537AB04-3250-412e-8213-FCD2F8677933}
336     ID3D10Effect* AsEffect ( ) ;
337 TYPEDEF: ID3D10EffectPool* LPD3D10EFFECTPOOL
338
339 FUNCTION: HRESULT D3D10CompileEffectFromMemory ( void* pData, SIZE_T DataLength, LPCSTR pSrcFileName, D3D10_SHADER_MACRO* pDefines,
340     ID3D10Include* pInclude, UINT HLSLFlags, UINT FXFlags,
341     ID3D10Blob** ppCompiledEffect, ID3D10Blob** ppErrors )
342
343 FUNCTION: HRESULT D3D10CreateEffectFromMemory ( void* pData, SIZE_T DataLength, UINT FXFlags, ID3D10Device* pDevice,
344     ID3D10EffectPool* pEffectPool, ID3D10Effect** ppEffect )
345
346 FUNCTION: HRESULT D3D10CreateEffectPoolFromMemory ( void* pData, SIZE_T DataLength, UINT FXFlags, ID3D10Device* pDevice,
347     ID3D10EffectPool** ppEffectPool )
348
349 FUNCTION: HRESULT D3D10DisassembleEffect ( ID3D10Effect* pEffect, BOOL EnableColorCode, ID3D10Blob** ppDisassembly )