VirtualBox

Ignore:
Timestamp:
Apr 19, 2010 3:27:01 PM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: update to wine 1.1.43

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/d3d10effect.h

    r21731 r28475  
    109109} D3D10_EFFECT_DESC;
    110110
     111typedef 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
    111122typedef struct _D3D10_PASS_DESC
    112123{
     
    210221    STDMETHOD(SetTextureBuffer)(THIS_ ID3D10ShaderResourceView *view) PURE;
    211222    STDMETHOD(GetTextureBuffer)(THIS_ ID3D10ShaderResourceView **view) PURE;
     223};
     224#undef INTERFACE
     225
     226DEFINE_GUID(IID_ID3D10EffectScalarVariable, 0x00e48f7b, 0xd2c8, 0x49e8, 0xa8, 0x6c, 0x02, 0x2d, 0xee, 0x53, 0x43, 0x1f);
     227
     228#define INTERFACE ID3D10EffectScalarVariable
     229DECLARE_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
     273DEFINE_GUID(IID_ID3D10EffectVectorVariable, 0x62b98c44, 0x1f82, 0x4c67, 0xbc, 0xd0, 0x72, 0xcf, 0x8f, 0x21, 0x7e, 0x81);
     274
     275#define INTERFACE ID3D10EffectVectorVariable
     276DECLARE_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;
    212317};
    213318#undef INTERFACE
     
    253358    STDMETHOD(SetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE;
    254359    STDMETHOD(GetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE;
     360};
     361#undef INTERFACE
     362
     363DEFINE_GUID(IID_ID3D10EffectStringVariable, 0x71417501, 0x8df9, 0x4e0a, 0xa7, 0x8a, 0x25, 0x5f, 0x97, 0x56, 0xba, 0xff);
     364
     365#define INTERFACE ID3D10EffectStringVariable
     366DECLARE_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
     400DEFINE_GUID(IID_ID3D10EffectShaderResourceVariable,
     401        0xc0a7157b, 0xd872, 0x4b1d, 0x80, 0x73, 0xef, 0xc2, 0xac, 0xd4, 0xb1, 0xfc);
     402
     403#define INTERFACE ID3D10EffectShaderResourceVariable
     404DECLARE_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
     440DEFINE_GUID(IID_ID3D10EffectRenderTargetViewVariable,
     441        0x28ca0cc3, 0xc2c9, 0x40bb, 0xb5, 0x7f, 0x67, 0xb7, 0x37, 0x12, 0x2b, 0x17);
     442
     443#define INTERFACE ID3D10EffectRenderTargetViewVariable
     444DECLARE_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
     480DEFINE_GUID(IID_ID3D10EffectDepthStencilViewVariable,
     481        0x3e02c918, 0xcc79, 0x4985, 0xb6, 0x22, 0x2d, 0x92, 0xad, 0x70, 0x16, 0x23);
     482
     483#define INTERFACE ID3D10EffectDepthStencilViewVariable
     484DECLARE_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
     520DEFINE_GUID(IID_ID3D10EffectShaderVariable, 0x80849279, 0xc799, 0x4797, 0x8c, 0x33, 0x04, 0x07, 0xa0, 0x7d, 0x9e, 0x06);
     521
     522#define INTERFACE ID3D10EffectShaderVariable
     523DECLARE_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
     563DEFINE_GUID(IID_ID3D10EffectBlendVariable, 0x1fcd2294, 0xdf6d, 0x4eae, 0x86, 0xb3, 0x0e, 0x91, 0x60, 0xcf, 0xb0, 0x7b);
     564
     565#define INTERFACE ID3D10EffectBlendVariable
     566DECLARE_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
     600DEFINE_GUID(IID_ID3D10EffectDepthStencilVariable,
     601        0xaf482368, 0x330a, 0x46a5, 0x9a, 0x5c, 0x01, 0xc7, 0x1a, 0xf2, 0x4c, 0x8d);
     602
     603#define INTERFACE ID3D10EffectDepthStencilVariable
     604DECLARE_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
     638DEFINE_GUID(IID_ID3D10EffectRasterizerVariable,
     639        0x21af9f0e, 0x4d94, 0x4ea9, 0x97, 0x85, 0x2c, 0xb7, 0x6b, 0x8c, 0x0b, 0x34);
     640
     641#define INTERFACE ID3D10EffectRasterizerVariable
     642DECLARE_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
     676DEFINE_GUID(IID_ID3D10EffectSamplerVariable,
     677        0x6530d5c7, 0x07e9, 0x4271, 0xa4, 0x18, 0xe7, 0xce, 0x4b, 0xd1, 0xe4, 0x80);
     678
     679#define INTERFACE ID3D10EffectSamplerVariable
     680DECLARE_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;
    255711};
    256712#undef INTERFACE
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette