示例#1
0
文件: ovr.go 项目: postfix/ovr
func (hmd *Hmd) ResetFrameTiming(frameIndex uint) {
	C.ovrHmd_ResetFrameTiming(hmd.hmdRef, C.uint(frameIndex))
}
示例#2
0
文件: ovr.go 项目: krux02/libovr
// Initializes and resets frame time tracking. This is typically not necessary, but
// is helpful if game changes vsync state or video mode. vsync is assumed to be on if this
// isn't called. Resets internal frame index to the specified number.
func (hmd *Hmd) ResetFrameTiming(frameIndex int) {
	C.ovrHmd_ResetFrameTiming(hmd.cptr(), C.uint(frameIndex))
}