コード例 #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;
 }