lovr.headset.getHandles

Edit

Returns pointers to the OpenXR instance and session objects.

This can be used with FFI or other native plugins to integrate with other OpenXR code.

instance, session = lovr.headset.getHandles()

Arguments

None

Returns

NameTypeDescription
instancelightuserdata The OpenXR instance handle (XrInstance).
sessionlightuserdata The OpenXR session handle (XrSession).

See also