DirectX SDK |
The IDirect3DDevice7::EndScene method ends a scene that was begun by calling the IDirect3DDevice7::BeginScene method.
HRESULT EndScene();
None.
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value is an error.
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 IDirect3DDevice7::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.)
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 7.0.
Header: Declared in d3d.h.