Function ovr_sys::ovr_SetInt
source · pub unsafe extern "C" fn ovr_SetInt(
session: ovrSession,
propertyName: *const c_char,
value: c_int
) -> ovrBool
Expand description
Writes or creates an integer property.
If the property wasn’t previously a boolean property, it is changed to an integer property.
session
Specifies an ovrSession
previously returned by ovr_Create
.
propertyName
The name of the property, which needs to be valid only for the call.
value
The value to write.
Returns true if successful, otherwise false. A false result should only occur if the property name is empty or if the property is read-only.