示例#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))
}