今天看到这个 IDirect3DDevice9::GetRasterStatus() 函数,里面的参数 D3DRASTER_STATUS 里说到了 BOOL InVBlank; UINT ScanLine; 等咚咚,赶紧 google 了一把,补课之~~
显示器在 current frame 绘制结束到 next frame 开始绘制,会有一段时间空闲,这就是 Vertical Blank。
http://en.wikipedia.org/wiki/Vertical_blank_interrupthttp://en.wikipedia.org/wiki/Vertical_blank不过 ... 获取这个信息有啥用处呢?krugle.com 上没找到相应的例子,看来 PC 上基本用不上,console game 上呢?
评论