コード例 #1
0
ファイル: Backend.cs プロジェクト: studentutu/StereoKit
 /// <summary>This tells if an OpenXR extension has been requested
 /// and successfully loaded by the runtime. This MUST only be
 /// called after SK.Initialize.</summary>
 /// <param name="extensionName">The extension name as listed in the
 /// OpenXR spec. For example: "XR_EXT_hand_tracking".</param>
 /// <returns>If the extension is available to use.</returns>
 public static bool ExtEnabled(string extensionName) => NativeAPI.backend_openxr_ext_enabled(extensionName) > 0;