Function ovr_sys::ovr_GetInt [] [src]

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

Reads 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.

defaultVal Specifes the value to return if the property couldn't be read.

Returns the property interpreted as an integer value. Returns defaultVal if the property doesn't exist.