NativeFunctionsBase
NameSpace: OpenXR
Inherited by:
MagicLeap.OpenXR.Features.FacialExpressions.FacialExpressionNativeFunctions,
MagicLeap.OpenXR.Features.LightEstimation.LightEstimationNativeFunctions,
MagicLeap.OpenXR.Features.LocalizationMaps.LocalizationMapNativeFunctions,
MagicLeap.OpenXR.Features.Planes.PlanesNativeFunctions,
MagicLeap.OpenXR.Features.SystemNotifications.SystemNotificationNativeFunctions,
MagicLeap.OpenXR.Features.UserCalibration.UserCalibrationNativeFunctions,
MagicLeap.OpenXR.Futures.FuturesNativeFunctions,
MagicLeap.OpenXR.ReferenceSpaces.ReferenceSpaceNativeFunctions,
MagicLeap.OpenXR.Spaces.SpacesNativeFunctions,
MagicLeap.OpenXR.SystemInfo.SystemInfoNativeFunctions,
MagicLeap.OpenXR.Time.TimeSpecNativeFunctions,
MagicLeap.OpenXR.ViewConfiguration.ViewConfigNativeFunctions
Public Methods
T Create< T >
public static T Create< T >(
XrGetInstanceProcAddr instanceProcAddr,
ulong xrInstance
)
Parameters
Type | Name | Description |
---|---|---|
XrGetInstanceProcAddr | instanceProcAddr | |
ulong | xrInstance |
Protected Methods
LocateNativeFunction
protected IntPtr LocateNativeFunction(
string functionName
)
Parameters
Type | Name | Description |
---|---|---|
string | functionName |
LocateNativeFunctions
protected virtual abstract void LocateNativeFunctions()
Validate
protected virtual void Validate()
Protected Attributes
GetInstanceProcAddr
protected XrGetInstanceProcAddr GetInstanceProcAddr;
XrInstance
protected ulong XrInstance;