示例#1
0
文件: OvrCapi.cs 项目: uxl/rdgvr
 private static extern sbyte ovr_Initialize(InitParams Params);
示例#2
0
文件: OvrCapi.cs 项目: 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;
 }