• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            天行健 君子當(dāng)自強(qiáng)而不息

            DXUT框架剖析(12)

            DXUT暫停函數(shù)

            函數(shù) 描述
            DXUTPause 將框架的內(nèi)部計(jì)數(shù)器和(或)渲染過(guò)程設(shè)為暫停狀態(tài)
            DXUTRenderingPaused 檢查當(dāng)前設(shè)備的渲染狀態(tài)是否處在暫停狀態(tài)
            DXUTIsTimePaused 檢查當(dāng)前設(shè)備的計(jì)時(shí)器是否處在暫停狀態(tài)

             

            DXUTPause

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

              VOID DXUTPause(  
            BOOL bPauseTime ,
            BOOL bPauseRendering
            ) ;

            Parameters

            bPauseTime
            [in] If TRUE, DXUT internal timer is paused. If FALSE, the timer is resumed from a paused state. See Remarks.
            bPauseRendering
            [in] If TRUE, DXUT will not call the LPDXUTCALLBACKD3D10FRAMERENDER callback function; DXUT will continue to call the LPDXUTCALLBACKFRAMEMOVE callback function. If FALSE, rendering will resume from a paused state. See Remarks.

            Return Values

            No return value.

            Remarks

            The timer controls the fTime and fElapsedTime parameters passed to the LPDXUTCALLBACKFRAMEMOVE or render callback functions.

            When time is paused, fTime will remain unchanged and fElapsedTime will be 0.0f. The LPDXUTCALLBACKFRAMEMOVE and the render callback functions will still be called. This allows a camera to still move while time is paused.

            When rendering is paused, the render callback function and the Direct3D Present method will not be called, and DXUT will periodically yield time to other processes by calling Sleep.

             

            DXUTIsRenderingPaused

            Indicates whether rendering has been paused in DXUT.

              BOOL DXUTIsRenderingPaused()  ;

            Parameters

            None.

            Return Values

            TRUE if rendering has been paused in DXUT.

             

            DXUTIsTimePaused

            Indicates whether time has been paused in DXUT.

              BOOL DXUTIsTimePaused()  ;

            Parameters

            None.

            Return Values

            TRUE if time has been paused in DXUT.

             

            DXUT用戶(hù)輸入函數(shù)

            函數(shù) 描述
            DXUTIsKeyDown 檢查當(dāng)該函數(shù)調(diào)用時(shí),鍵盤(pán)上指定的某個(gè)鍵是否按下。
            DXUTIsMouseButtonDown 檢查當(dāng)該函數(shù)調(diào)用時(shí),指定的鼠標(biāo)鍵是否按下。

             

            DXUTIsKeyDown

            Indicates whether a specified keyboard key is up or down at the time the function is called.

              BOOL DXUTIsKeyDown(  
            BYTE vKey
            ) ;

            Parameters

            vKey
            [in] Virtual key code of a keyboard key. For example VK_F1, VK_LSHIFT, VK_RCONTROL, VK_RMENU, and 41 (representing the 'A' key).

            Return Values

            TRUE if the specified vKey keyboard key is down; FALSE otherwise.

             

            DXUTIsMouseButtonDown

            Indicates whether a specified mouse button is up or down at the time the function is called.

              BOOL DXUTIsMouseButtonDown(  
            BYTE vButton
            ) ;

            Parameters

            vButton
            [in] Virtual key code of a mouse button. Allowed values are VK_LBUTTON, VK_RBUTTON, VK_MBUTTON, VK_XBUTTON1, and VK_XBUTTON2.

            Return Values

            TRUE if the specified vButton mouse button is down; FALSE otherwise.


            posted on 2008-05-16 22:23 lovedday 閱讀(877) 評(píng)論(0)  編輯 收藏 引用


            只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            公告

            導(dǎo)航

            統(tǒng)計(jì)

            常用鏈接

            隨筆分類(lèi)(178)

            3D游戲編程相關(guān)鏈接

            搜索

            最新評(píng)論

            国产精品久久久久久福利69堂| AAA级久久久精品无码区| 一本色道久久综合狠狠躁| 精品蜜臀久久久久99网站| 97久久久精品综合88久久| 精品国产乱码久久久久久浪潮| 国产精品久久久久久五月尺| 久久精品一本到99热免费| 国产精品永久久久久久久久久| 亚洲va久久久噜噜噜久久狠狠| 国产精品99久久不卡| 亚洲中文字幕无码久久2017| 午夜不卡888久久| 亚洲中文字幕久久精品无码喷水 | 国产成年无码久久久免费| 韩国无遮挡三级久久| 亚洲va久久久噜噜噜久久狠狠| 亚洲国产成人久久综合碰碰动漫3d| 国产A三级久久精品| 青春久久| 国产精品女同一区二区久久| 国产精品无码久久综合| 中文字幕久久精品无码| 亚洲精品成人网久久久久久| 国内精品伊人久久久久网站| av国内精品久久久久影院| 亚洲va久久久噜噜噜久久| 一本色道久久88—综合亚洲精品| 久久精品国产一区二区电影| 99久久国产综合精品麻豆| 久久这里只有精品18| 99精品久久精品一区二区| 一本色道久久综合狠狠躁| 亚洲国产欧美国产综合久久| 狠狠综合久久AV一区二区三区| 一本色道久久综合狠狠躁篇| 亚洲国产精品综合久久一线 | 成人久久久观看免费毛片| 精品国产乱码久久久久久郑州公司 | 久久综合精品国产二区无码| 亚洲成色WWW久久网站|