Class RuntimeDebuggerOpenXRFeature
A runtime debugger feature. Intercepts all OpenXR calls and forwards them over player connection to an editor window.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.OpenXR.Features.RuntimeDebugger
Assembly: Unity.XR.OpenXR.Features.RuntimeDebugger.dll
Syntax
public class RuntimeDebuggerOpenXRFeature : OpenXRFeature
Fields
cacheSize
Size of main-thread cache on device for runtime debugger in bytes.
Declaration
public uint cacheSize
Field Value
Type | Description |
---|---|
uint |
perThreadCacheSize
Size of per-thread cache on device for runtime debugger in bytes.
Declaration
public uint perThreadCacheSize
Field Value
Type | Description |
---|---|
uint |
Methods
HookGetInstanceProcAddr(IntPtr)
Called to hook xrGetInstanceProcAddr. Returning a different function pointer allows intercepting any OpenXR method.
Declaration
protected override IntPtr HookGetInstanceProcAddr(IntPtr func)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | func | xrGetInstanceProcAddr native function pointer |
Returns
Type | Description |
---|---|
IntPtr | Function pointer that Unity will use to look up OpenXR native functions. |