Beispiel #1
0
func (hmd *Hmd) SetEnabledCaps(hmdCaps uint) {
	C.ovrHmd_SetEnabledCaps(hmd.hmdRef, C.uint(hmdCaps))
}
Beispiel #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))
}