Ejemplo n.º 1
0
Archivo: OvrCapi.cs Proyecto: uxl/rdgvr
 private static extern sbyte ovr_Initialize(InitParams Params);
Ejemplo n.º 2
0
Archivo: OvrCapi.cs Proyecto: uxl/rdgvr
 /// Library init/shutdown, must be called around all other OVR code.
 /// No other functions calls besides ovr_InitializeRenderingShim are allowed
 /// before ovr_Initialize succeeds or after ovr_Shutdown.
 /// <summary>
 /// Initializes all Oculus functionality.
 /// A second call to Initialize after successful second call returns true.
 /// </summary>
 public static bool Initialize(InitParams Params = null)
 {
     return ovr_Initialize(Params) != 0;
 }