Пример #1
0
Файл: ovr.go Проект: postfix/ovr
func (hmd *Hmd) ResetFrameTiming(frameIndex uint) {
	C.ovrHmd_ResetFrameTiming(hmd.hmdRef, C.uint(frameIndex))
}
Пример #2
0
// 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))
}