예제 #1
0
파일: ovr.go 프로젝트: postfix/ovr
func (hmd *Hmd) SetEnabledCaps(hmdCaps uint) {
	C.ovrHmd_SetEnabledCaps(hmd.hmdRef, C.uint(hmdCaps))
}
예제 #2
0
파일: ovr.go 프로젝트: krux02/libovr
// 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))
}