ID3DXLine::End

Restores the device state to how it was when ID3DXLine::Begin was called.

HRESULT End();

Parameters

None.

Return Values

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.

Remarks

ID3DXLine::End cannot be used as a substitute for either IDirect3DDevice9::EndScene or ID3DXRenderToSurface::EndScene.

Requirements

Header: Declared in D3dx9core.h.

See Also

ID3DXLine::Begin