Libovr 1.43 Reference Guide

ovrInitParams Struct Reference

Parameters for ovr_Initialize.

Data Fields

uint32_t
Flags ( )
Flags from ovrInitFlags to override default behavior.
uint32_t
Requests a specific minor version of the LibOVR runtime.
ovrLogCallback
User-supplied log callback function, which may be called at any time asynchronously from multiple threads until ovr_Shutdown completes.
uintptr_t
User-supplied data which is passed as-is to LogCallback.
uint32_t
Relative number of milliseconds to wait for a connection to the server before failing.

Detailed Description

See Also:

Field Documentation

uint32_t ovrInitParams::Flags ( )
Flags from ovrInitFlags to override default behavior.
Use 0 for the defaults.
uint32_t ovrInitParams::RequestedMinorVersion ( )
Requests a specific minor version of the LibOVR runtime.
Flags must include ovrInit_RequestVersion or this will be ignored and OVR_MINOR_VERSION will be used. If you are directly calling the LibOVRRT version of ovr_Initialize in the LibOVRRT DLL then this must be valid and include ovrInit_RequestVersion.
ovrLogCallback ovrInitParams::LogCallback ( )
User-supplied log callback function, which may be called at any time asynchronously from multiple threads until ovr_Shutdown completes.
Use NULL to specify no log callback.
uintptr_t ovrInitParams::UserData ( )
User-supplied data which is passed as-is to LogCallback.
Typically this is used to store an application-specific pointer which is read in the callback function.
uint32_t ovrInitParams::ConnectionTimeoutMS ( )
Relative number of milliseconds to wait for a connection to the server before failing.
Use 0 for the default timeout.
The documentation for this struct was generated from the following file: Include/OVR_CAPI.h