Package org.lwjgl.openxr
Class KHRLocateSpaces
java.lang.Object
org.lwjgl.openxr.KHRLocateSpaces
The XR_KHR_locate_spaces extension.
This extension introduces the LocateSpacesKHR function, which enables applications to locate an array of spaces in a single function call. Runtimes may provide performance benefits for applications that use many spaces.
Compared to the LocateSpace function, the new LocateSpacesKHR function also provides extensible input parameters for future extensions to extend using additional chained structures.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnxrLocateSpacesKHR(XrSession session, long locateInfo, long spaceLocations) Unsafe version of:LocateSpacesKHRstatic intxrLocateSpacesKHR(XrSession session, XrSpacesLocateInfo locateInfo, XrSpaceLocations spaceLocations) SeeLocateSpaces.
-
Field Details
-
XR_KHR_locate_spaces_SPEC_VERSION
public static final int XR_KHR_locate_spaces_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_KHR_LOCATE_SPACES_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_SPACES_LOCATE_INFO_KHR
public static final int XR_TYPE_SPACES_LOCATE_INFO_KHRExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_SPACE_LOCATIONS_KHR
public static final int XR_TYPE_SPACE_LOCATIONS_KHRExtendsXrStructureType.Enum values:
- See Also:
-
XR_TYPE_SPACE_VELOCITIES_KHR
public static final int XR_TYPE_SPACE_VELOCITIES_KHRExtendsXrStructureType.Enum values:
- See Also:
-
-
Method Details
-
nxrLocateSpacesKHR
Unsafe version of:LocateSpacesKHR -
xrLocateSpacesKHR
public static int xrLocateSpacesKHR(XrSession session, XrSpacesLocateInfo locateInfo, XrSpaceLocations spaceLocations) SeeLocateSpaces.- Parameters:
session- anXrSessionhandle previously created withCreateSession.locateInfo- a pointer to anXrSpacesLocateInfothat provides the input information to locate spaces.spaceLocations- a pointer to anXrSpaceLocationsfor the runtime to return the locations of the specified spaces in the base space.
-