Microsoft DirectX 8.1 (C++) |
Sets the material properties for the device.
HRESULT SetMaterial( CONST D3DMATERIAL8* pMaterial );
If the method succeeds, the return value is D3D_OK.
D3DERR_INVALIDCALL if the pMaterial parameter is invalid.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.