コード例 #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))
}