Hi,
Today I wanted to use the LPD3DXEFFECT->SetMatrix() function, but LPD3DXEFFECT yields an undeclared identifier error. I looked in d3d9.h and it says:
Quote:
// To do: all here the function prototypes from
//#include <d3dx9math.h>
//#include <d3dx9core.h>
// "d3dx9xof.h"
//#include <d3dx9mesh.h>
// "d3dx9shader.h"
// "d3dx9effect.h"
// "d3dx9shape.h"
// "d3dx9anim.h"
I tried doing it myself, (I have the directx SDK installed), but I'm getting many syntax errors and I don't know what I'm doing wrong. I'm willing to do this if it isn't too much work, but I don't know how.
I tried copying the ID3DXEffect interface from d3dx9effect.h, but it has many dependencies. For example, it needs D3DXPARAMETER_DESC. So I added that. D3DXPARAMETER_DESC requires D3DXPARAMETER_CLASS which is defined in d3dx9shader.h. But D3DXPARAMETER_CLASS is an enum. Lite-C doesn't support enums, right?
Could this please be added, or explained?
Thanks