DirectX SDK |
The Direct3DDevice7.EndScene method ends a scene that was begun by calling the Direct3DDevice7.BeginScene method.
object.EndScene()
If the method fails, an error is raised and Err.Number will be set.
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 Direct3DDevice7.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.)