NativeData


public final class NativeData


Class containing pointers to the native resources backing the XR runtime.

Summary

Public methods

final Long

For OpenXR runtimes, this is the function pointer for xrGetInstanceProcAddr.

final Long

For OpenXR runtimes, this is the native XrInstance pointer.

final long

For OpenXR runtimes, this is the native XrSession pointer.

Public methods

getNativeFunctionTablePointer

Added in 1.0.0-alpha13
public final Long getNativeFunctionTablePointer()

For OpenXR runtimes, this is the function pointer for xrGetInstanceProcAddr.

For Play Services runtimes this is null.

getNativeInstancePointer

Added in 1.0.0-alpha13
public final Long getNativeInstancePointer()

For OpenXR runtimes, this is the native XrInstance pointer.

For Play Services runtimes this is null.

getNativeSessionPointer

Added in 1.0.0-alpha13
public final long getNativeSessionPointer()

For OpenXR runtimes, this is the native XrSession pointer.

For Play Services runtimes, this is the native ARCore C API session pointer. See ARCore C API Reference.