Microsoft DirectX 8.1 (C++)

ID3DXSprite::End

Restores the device state to how it was when ID3DXSprite::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 values.

D3DERR_INVALIDCALL
D3DXERR_INVALIDDATA

Remarks

ID3DXSprite::End cannot be used as a substitute for either IDirect3DDevice8::EndScene or ID3DXRenderToSurface::EndScene.

Requirements

  Header: Declared in D3dx8core.h.
  Import Library: Use D3dx8.lib.

See Also

ID3DXSprite::Begin