Set the value of an arbitrary parameter or annotation, including simple types, structs, arrays, strings, shaders and textures.
HRESULT SetValue( D3DXHANDLE hParameter, LPCVOID pData, UINT Bytes );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
This method can be used in place of nearly all the effect set API calls.
Header: Declared in D3dx9shader.h.