Export (0) Print
Expand All

GraphicsDevice.Present Method

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

NameDescription
GraphicsDevice.Present ()Presents the display with the contents of the next buffer in the sequence of back buffers owned by the GraphicsDevice.
GraphicsDevice.Present (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.
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.

Exception typeCondition
DriverInternalErrorExceptionInternal driver error. Applications should generally shut down when receiving this error.
DeviceLostExceptionThe GraphicsDevice is lost but cannot be reset at this time. Therefore, rendering is not possible.

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.

Community Additions

ADD
Show:
© 2014 Microsoft