Function ovr_sys::ovr_SetBool [] [src]

pub unsafe extern "C" fn ovr_SetBool(
    session: ovrSession,
    propertyName: *const c_char,
    value: ovrBool
) -> ovrBool

Writes or creates a boolean property.

If the property wasn't previously a boolean property, it is changed to a boolean 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.