Microsoft DirectX 8.1 (C++) |
Ends a scene that was begun by calling the IDirect3DDevice8::BeginScene method.
HRESULT EndScene();
None.
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
When this method succeeds, the scene has been rendered and the device surface holds the rendered scene.
When scene rendering begins successfully, you must call this method before you can call the IDirect3DDevice8::BeginScene method to start rendering another scene. If a prior call to BeginScene method fails, the scene did not begin and this method should not be called.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.