Framework.Pause Method

Language:

Sets the paused state of the sample framework internal timer and/or rendering process.

Definition

Visual Basic Public Sub Pause( _
    ByVal pauseTime As Boolean, _
    ByVal pauseRendering As Boolean _
)
C# public void Pause(
    bool pauseTime,
    bool pauseRendering
);
C++ public:
void Pause(
    bool pauseTime,
    bool pauseRendering
);
JScript public function Pause(
    pauseTime : boolean,
    pauseRendering : boolean
);

Parameters

pauseTime System.Boolean
Set to true to pause the sample framework internal timer. Set to false to resume the sample framework internal timer.
pauseRendering System.Boolean
Set to true to keep the application from rendering. Set to false to resume the sample framework rendering.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center