MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / ExcludeExt

Method ExcludeExt

StereoKit/Systems/Backend.cs:138–138  ·  view source on GitHub ↗

This ensures that StereoKit does not load a particular extension! StereoKit will behave as if the extension is not available on the device. It will also be excluded even if you explicitly requested it with `RequestExt` earlier, or afterwards. This MUST be called before SK.Initialize. The extension name as listed in the OpenXR spec. For example: "XR_EX

(string extensionName)

Source from the content-addressed store, hash-verified

136 /// <param name="extensionName">The extension name as listed in the
137 /// OpenXR spec. For example: "XR_EXT_hand_tracking".</param>
138 public static void ExcludeExt (string extensionName) { NativeLib.Load(); _ExcludeExt(extensionName); }
139 private static void _ExcludeExt(string extensionName) => NativeAPI.backend_openxr_ext_exclude(extensionName);
140
141 /// <summary>This allows you to add XrCompositionLayers to the list

Callers

nothing calls this directly

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected