SetVertexShader
Hey all,
I'm currently beginning on integrating shaders into my game engine and encountered a problem. I'm trying to make a call to ID3DXEffect::SetVertexShader() using the LPD3DXEffect object I have. However, I get the error - error C2039: 'SetVertexShader' : is not a member of 'ID3DXEffect'. Everything I have seen in MSDN tells me otherwise.
Any help with this would be greatly appreciated.
Hi,
LPDIRECT3DDEVICE9 device;
device->SetVertexShader();
That's if you're trying to set a shader to a device. I have never used ID3DXEffect::SetVertexShader().
Hope that helps,
ace
LPDIRECT3DDEVICE9 device;
device->SetVertexShader();
That's if you're trying to set a shader to a device. I have never used ID3DXEffect::SetVertexShader().
Hope that helps,
ace
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement