ID3DXLine::End method
Restores the device state to how it was when ID3DXLine::Begin was called.
Syntax
HRESULT End();
Parameters
This method has no parameters.
Return value
Type: HRESULT
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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also