Function ovr_sys::ovr_GetBool [] [src]

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

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.