DX9ToolsR4 - Created by: X

DX9Graphics.EndScene Method (Rectangle, Rectangle, IntPtr)

Ends the scene and calls present.

[Visual Basic]
Overloads Public Sub EndScene( _
   ByVal SourceRectangle As Rectangle, _
   ByVal DestRectangle As Rectangle, _
   ByVal OverrideWindowHandle As IntPtr _
)
[C#]
public void EndScene(
   Rectangle SourceRectangle,
   Rectangle DestRectangle,
   IntPtr OverrideWindowHandle
);

Parameters

SourceRectangle
A Rectangle that contains the source rectangle. If the rectangle exceeds the source surface, it is clipped to the source surface. This parameter can be used only if the swap chain was created with SwapEffect.Copy.
DestRectangle
A Rectangle that contains the destination rectangle. This parameter can be used only if the swap chain was created with SwapEffect.Copy.
OverrideWindowHandle
Destination window whose client area is taken as the target for this presentation. If this parameter is not used, PresentParameters.DeviceWindow is taken.

See Also

DX9Graphics Class | CBX.Libs.DX9ToolsR4 Namespace | DX9Graphics.EndScene Overload List