3

モニター画面にフレーム番号を順番に描画したい

0 1 2 3 4 5 6 7 ...

1 つの物理フレームに 1 つの数値 (100 Hz のリフレッシュ レート モニターで 1 秒あたり 100 回) winapi/gdi で可能ですか? どうやってするの?

4

2 に答える 2

2

Neither GDI nor GDI+ give you access to the vsync signal.

The deprecated DirectDraw APIs had a way to wait for the vsync. Newer DirectX APIs basically do it for you when you call the appropriate Present method (though I believe there are options to not wait for the vsync).

于 2012-09-13T17:47:54.843 に答える