Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class EXTPlaneDetection

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.*, org.lwjgl.system.*

The XR_EXT_plane_detection extension.

This extension enables applications to detect planes in the scene.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final String
public static final int
XR_EXT_plane_detection_SPEC_VERSION

The extension specification version.

public static final int
XR_OBJECT_TYPE_PLANE_DETECTOR_EXT

Extends XrObjectType.

public static final int
XR_PLANE_DETECTION_CAPABILITY_ORIENTATION_BIT_EXT

XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTION_CAPABILITY_PLANE_DETECTION_BIT_EXT

XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTION_CAPABILITY_PLANE_HOLES_BIT_EXT

XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_CEILING_BIT_EXT

XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_FLOOR_BIT_EXT

XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_PLATFORM_BIT_EXT

XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_WALL_BIT_EXT

XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTION_STATE_DONE_EXT

XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions

public static final int
XR_PLANE_DETECTION_STATE_ERROR_EXT

XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions

public static final int
XR_PLANE_DETECTION_STATE_FATAL_EXT

XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions

public static final int
XR_PLANE_DETECTION_STATE_NONE_EXT

XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions

public static final int
XR_PLANE_DETECTION_STATE_PENDING_EXT

XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions

public static final int
XR_PLANE_DETECTOR_ENABLE_CONTOUR_BIT_EXT

XrPlaneDetectorFlagBitsEXT - Plane Detector flags Description

The flag bits have the following meanings: Flag Descriptions

public static final int
XR_PLANE_DETECTOR_ORIENTATION_ARBITRARY_EXT

XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXTThe detected plane is horizontal and faces upward (e.g. floor).
public static final int
XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_DOWNWARD_EXT

XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXTThe detected plane is horizontal and faces upward (e.g. floor).
public static final int
XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXT

XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXTThe detected plane is horizontal and faces upward (e.g. floor).
public static final int
XR_PLANE_DETECTOR_ORIENTATION_VERTICAL_EXT

XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXTThe detected plane is horizontal and faces upward (e.g. floor).
public static final int
XR_PLANE_DETECTOR_SEMANTIC_TYPE_CEILING_EXT

XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXTThe runtime was unable to classify this plane.
public static final int
XR_PLANE_DETECTOR_SEMANTIC_TYPE_FLOOR_EXT

XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXTThe runtime was unable to classify this plane.
public static final int
XR_PLANE_DETECTOR_SEMANTIC_TYPE_PLATFORM_EXT

XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXTThe runtime was unable to classify this plane.
public static final int
XR_PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXT

XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXTThe runtime was unable to classify this plane.
public static final int
XR_PLANE_DETECTOR_SEMANTIC_TYPE_WALL_EXT

XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…​) Description

The enums have the following meanings:

EnumDescription PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXTThe runtime was unable to classify this plane.
public static final int
XR_TYPE_PLANE_DETECTOR_BEGIN_INFO_EXT

Extends XrStructureType.

public static final int
public static final int
XR_TYPE_PLANE_DETECTOR_GET_INFO_EXT

Extends XrStructureType.

public static final int
XR_TYPE_PLANE_DETECTOR_LOCATION_EXT

Extends XrStructureType.

public static final int
XR_TYPE_PLANE_DETECTOR_LOCATIONS_EXT

Extends XrStructureType.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrBeginPlaneDetectionEXT(XrPlaneDetectorEXT planeDetector, long beginInfo)

Unsafe version of: BeginPlaneDetectionEXT

public static int
nxrCreatePlaneDetectorEXT(XrSession session, long createInfo, long planeDetector)

Unsafe version of: CreatePlaneDetectorEXT

public static int
nxrGetPlaneDetectionsEXT(XrPlaneDetectorEXT planeDetector, long info, long locations)

Unsafe version of: GetPlaneDetectionsEXT

public static int
nxrGetPlaneDetectionStateEXT(XrPlaneDetectorEXT planeDetector, long state)

Unsafe version of: GetPlaneDetectionStateEXT

public static int
nxrGetPlanePolygonBufferEXT(XrPlaneDetectorEXT planeDetector, long planeId, int polygonBufferIndex, long polygonBuffer)

Unsafe version of: GetPlanePolygonBufferEXT

public static int
xrBeginPlaneDetectionEXT(XrPlaneDetectorEXT
an XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.
planeDetector
,
XrPlaneDetectorBeginInfoEXT
a pointer to XrPlaneDetectorBeginInfoEXT containing plane detection parameters.
beginInfo
)

Detect planes.

public static int
xrCreatePlaneDetectorEXT(XrSession
an XrSession in which the plane detection will be active.
session
,
XrPlaneDetectorCreateInfoEXT
the XrPlaneDetectorCreateInfoEXT used to specify the plane detection.
createInfo
,
PointerBuffer
the returned XrPlaneDetectorEXT handle.
planeDetector
)

Create a plane detection handle.

public static int
xrDestroyPlaneDetectorEXT(XrPlaneDetectorEXT
an XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.
planeDetector
)

Destroy a plane detection handle.

public static int
xrGetPlaneDetectionsEXT(XrPlaneDetectorEXT
an XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.
planeDetector
,
XrPlaneDetectorGetInfoEXT info, XrPlaneDetectorLocationsEXT
a pointer to XrPlaneDetectorLocationsEXT receiving the returned plane locations.
locations
)

Get the detected planes.

public static int
xrGetPlaneDetectionStateEXT(XrPlaneDetectorEXT
an XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.
planeDetector
,
IntBuffer
a pointer to XrPlaneDetectionStateEXT.
state
)

Get the state of the plane detection pass.

public static int
xrGetPlanePolygonBufferEXT(XrPlaneDetectorEXT
an XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.
planeDetector
,
long planeId, int
the index of the polygon contour buffer to retrieve. This must be a number from 0 to XrPlaneDetectorLocationEXT:polygonBufferCount -1. Index 0 retrieves the outside contour, larger indexes retrieve holes in the plane.
polygonBufferIndex
,
XrPlaneDetectorPolygonBufferEXT
a pointer to XrPlaneDetectorPolygonBufferEXT receiving the returned plane polygon buffer.
polygonBuffer
)

Gets the plane.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait