Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Present Method
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft