Commit 74ec9103 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Add the ID3D10EffectMatrixVariable interface.

parent b5d86403
......@@ -203,6 +203,49 @@ DECLARE_INTERFACE_(ID3D10EffectConstantBuffer, ID3D10EffectVariable)
};
#undef INTERFACE
DEFINE_GUID(IID_ID3D10EffectMatrixVariable, 0x50666c24, 0xb82f, 0x4eed, 0xa1, 0x72, 0x5b, 0x6e, 0x7e, 0x85, 0x22, 0xe0);
#define INTERFACE ID3D10EffectMatrixVariable
DECLARE_INTERFACE_(ID3D10EffectMatrixVariable, ID3D10EffectVariable)
{
/* ID3D10EffectVariable methods */
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectType *, GetType)(THIS) PURE;
STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_VARIABLE_DESC *desc) PURE;
STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByIndex)(THIS_ UINT index) PURE;
STDMETHOD_(struct ID3D10EffectVariable *, GetAnnotationByName)(THIS_ LPCSTR name) PURE;
STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByIndex)(THIS_ UINT index) PURE;
STDMETHOD_(struct ID3D10EffectVariable *, GetMemberByName)(THIS_ LPCSTR name) PURE;
STDMETHOD_(struct ID3D10EffectVariable *, GetMemberBySemantic)(THIS_ LPCSTR semantic) PURE;
STDMETHOD_(struct ID3D10EffectVariable *, GetElement)(THIS_ UINT index) PURE;
STDMETHOD_(struct ID3D10EffectConstantBuffer *, GetParentConstantBuffer)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectScalarVariable *, AsScalar)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectVectorVariable *, AsVector)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectMatrixVariable *, AsMatrix)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectStringVariable *, AsString)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectShaderResourceVariable *, AsShaderResource)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectRenderTargetViewVariable *, AsRenderTargetView)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectDepthStencilViewVariable *, AsDepthStencilView)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectConstantBuffer *, AsConstantBuffer)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectShaderVariable *, AsShader)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectBlendVariable *, AsBlend)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectDepthStencilVariable *, AsDepthStencil)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectRasterizerVariable *, AsRasterizer)(THIS) PURE;
STDMETHOD_(struct ID3D10EffectSamplerVariable *, AsSampler)(THIS) PURE;
STDMETHOD(SetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
STDMETHOD(GetRawValue)(THIS_ void *data, UINT offset, UINT count) PURE;
/* ID3D10EffectMatrixVariable methods */
STDMETHOD(SetMatrix)(THIS_ float *data) PURE;
STDMETHOD(GetMatrix)(THIS_ float *data) PURE;
STDMETHOD(SetMatrixArray)(THIS_ float *data, UINT offset, UINT count) PURE;
STDMETHOD(GetMatrixArray)(THIS_ float *data, UINT offset, UINT count) PURE;
STDMETHOD(SetMatrixTranspose)(THIS_ float *data) PURE;
STDMETHOD(GetMatrixTranspose)(THIS_ float *data) PURE;
STDMETHOD(SetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE;
STDMETHOD(GetMatrixTransposeArray)(THIS_ float *data, UINT offset, UINT count) PURE;
};
#undef INTERFACE
DEFINE_GUID(IID_ID3D10EffectTechnique, 0xdb122ce8, 0xd1c9, 0x4292, 0xb2, 0x37, 0x24, 0xed, 0x3d, 0xe8, 0xb1, 0x75);
#define INTERFACE ID3D10EffectTechnique
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment