Function ovr_sys::ovr_GetBool

source ·
pub unsafe extern "C" fn ovr_GetBool(
    session: ovrSession,
    propertyName: *const c_char,
    defaultVal: ovrBool
) -> ovrBool
Expand description

Reads a boolean property.

session Specifies an ovrSession previously returned by ovr_Create.

propertyName The name of the property, which needs to be valid for only the call.

defaultVal specifes the value to return if the property couldn’t be read.

Returns the property interpreted as a boolean value. Returns defaultVal if the property doesn’t exist.