Device.Present

Present メソッド

使用例

  • シーンの終了

デバイスが所有する一連のバック バッファの中で次のバッファのコンテンツを表示する。

オーバーロード リスト

public Void Present (Rectangle, IntPtr, Boolean)
public Void Present (IntPtr)
public Void Present (Rectangle, Rectangle, IntPtr)
public Void Present (Rectangle, Boolean)
public Void Present (Rectangle, Control, Boolean)
public Void Present (Control)
public Void Present ()
public Void Present (Rectangle, Rectangle, Control)

使用例

シーンの終了

この例では、シーンを終了してディスプレイを更新する方法を示す。

EndScene メソッドは、BeginScene メソッドで開始されたシーンを終了する。Present メソッドは、デバイスが所有する一連のバック バッファの中で次のコンテンツを表示する。

using Microsoft.DirectX.Direct3D;

Device device = null;  // Create rendering device

// Generate a scene
.
.
.
device.EndScene();     // End the scene
device.Present();      // Update the display

© 2002 Microsoft Corporation. All rights reserved. Terms of use.