Function ovr_sys::ovr_SetString
source · pub unsafe extern "C" fn ovr_SetString(
session: ovrSession,
propertyName: *const c_char,
value: *const c_char
) -> ovrBool
Expand description
Writes or creates a string property.
Strings are UTF8-encoded and null-terminated.
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 string property, which only needs to be valid for the duration of the call.
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.