GraphicsDevice.Present Method

Presents the display with the contents of the next buffer in the sequence of back buffers owned by the GraphicsDevice.

Overload List

Name Description
GraphicsDevice.Present () Presents the display with the contents of the next buffer in the sequence of back buffers owned by the GraphicsDevice.
GraphicsDevice.Present (Nullable<Rectangle>, Nullable<Rectangle>, IntPtr) Specifies the window target for a presentation and presents the display with the contents of the next buffer in the sequence of back buffers owned by the GraphicsDevice.

Exceptions

Exception type Condition
DeviceLostException The GraphicsDevice is lost but cannot be reset at this time. Therefore, rendering is not possible.

Remarks

If necessary, a stretch operation is applied to transfer the pixels within the source rectangle to the destination rectangle in the client area of the target window.

See Also

Reference

Reset
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace