Restores the device state to how it was when ID3DXLine::Begin was called.
HRESULT End();
None.
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA.
ID3DXLine::End cannot be used as a substitute for either IDirect3DDevice9::EndScene or ID3DXRenderToSurface::EndScene.
Header: Declared in D3dx9core.h.