Skip to main content
Version: 12 Dec 2024

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

TypeNameDescription
XrGetInstanceProcAddrinstanceProcAddr
ulongxrInstance

Protected Methods​

LocateNativeFunction​

protected IntPtr LocateNativeFunction(
string functionName
)

Parameters

TypeNameDescription
stringfunctionName

LocateNativeFunctions​

protected virtual abstract void LocateNativeFunctions()

Validate​

protected virtual void Validate()

Protected Attributes​

GetInstanceProcAddr​


protected XrGetInstanceProcAddr GetInstanceProcAddr;


XrInstance​


protected ulong XrInstance;