ovrLogCallback

Type Alias ovrLogCallback 

Source
pub type ovrLogCallback = Option<extern "C" fn(usize, c_int, *const c_char)>;
Expand description

Signature of the logging callback function pointer type.

userData is an arbitrary value specified by the user of ovrInitParams. level is one of the ovrLogLevel constants. message is a UTF8-encoded null-terminated string. see ovrInitParams, ovrLogLevel, ovr_Initialize

Aliased Type§

pub enum ovrLogCallback {
    None,
    Some(extern "C" fn(usize, i32, *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(usize, i32, *const i8))

Some value of type T.