Skip to main content
Version: 11 Nov 2025

MagicLeapOpenXRFeatureWithInterception

NameSpace: Features

Inherits from:
MagicLeapOpenXRFeatureBase,
OpenXRFeature

Detailed Description​

public template <T > class MagicLeapOpenXRFeatureWithInterception : MagicLeapOpenXRFeatureBase 

Protected Methods​

HookGetInstanceProcAddr​

protected override IntPtr HookGetInstanceProcAddr(
IntPtr func
)

Parameters

TypeNameDescription
IntPtrfunc

MarkFunctionsToIntercept​

protected virtual abstract void MarkFunctionsToIntercept()

Reimplemented by: MarkFunctionsToIntercept, MarkFunctionsToIntercept, MarkFunctionsToIntercept, MarkFunctionsToIntercept, MarkFunctionsToIntercept


OnInstanceCreate​

protected override bool OnInstanceCreate(
ulong xrInstance
)

Parameters

TypeNameDescription
ulongxrInstance

OnInstanceDestroy​

protected override void OnInstanceDestroy(
ulong xrInstance
)

Parameters

TypeNameDescription
ulongxrInstance