Пример #1
0
Файл: ovr.go Проект: postfix/ovr
func (hmd *Hmd) SetEnabledCaps(hmdCaps uint) {
	C.ovrHmd_SetEnabledCaps(hmd.hmdRef, C.uint(hmdCaps))
}
Пример #2
0
// Modifies capability bits described by ovrHmdCaps that can be modified,
// such as ovrHmd_LowPersistance.
func (this *Hmd) SetEnabledCaps(hmdCaps HmdCaps) {
	C.ovrHmd_SetEnabledCaps(this.cptr(), C.uint(hmdCaps))
}