Class MLWorldMeshDetection
This extension provides the functionality to detect the world mesh.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsXrResult.static final intExtendsXrResult.static final StringThe extension name.static final intThe extension specification version.static final intExtendsXrObjectType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intExtendsXrStructureType.static final intXrWorldMeshBlockResultML - The mesh block result values.static final intXrWorldMeshBlockResultML - The mesh block result values.static final intXrWorldMeshBlockResultML - The mesh block result values.static final intXrWorldMeshBlockResultML - The mesh block result values.static final intXrWorldMeshBlockStatusML - The mesh block status.static final intXrWorldMeshBlockStatusML - The mesh block status.static final intXrWorldMeshBlockStatusML - The mesh block status.static final intXrWorldMeshBlockStatusML - The mesh block status.static final intXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.static final intXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.static final intXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.static final intXrWorldMeshDetectorLodML - Mesh Levels Of Detail.static final intXrWorldMeshDetectorLodML - Mesh Levels Of Detail.static final intXrWorldMeshDetectorLodML - Mesh Levels Of Detail.static final intXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.static final intXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.static final intXrWorldMeshDetectorFlagBitsML - The world meshing detector flags. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnxrAllocateWorldMeshBufferML(XrWorldMeshDetectorML detector, long size, long buffer) Unsafe version of:AllocateWorldMeshBufferMLstatic intnxrCreateWorldMeshDetectorML(XrSession session, long createInfo, long detector) Unsafe version of:CreateWorldMeshDetectorMLstatic intnxrFreeWorldMeshBufferML(XrWorldMeshDetectorML detector, long buffer) Unsafe version of:FreeWorldMeshBufferMLstatic intnxrGetWorldMeshBufferRecommendSizeML(XrWorldMeshDetectorML detector, long sizeInfo, long size) Unsafe version of:GetWorldMeshBufferRecommendSizeMLstatic intnxrRequestWorldMeshAsyncML(XrWorldMeshDetectorML detector, long getInfo, long buffer, long future) Unsafe version of:RequestWorldMeshAsyncMLstatic intnxrRequestWorldMeshCompleteML(XrWorldMeshDetectorML detector, long completionInfo, long future, long completion) Unsafe version of:RequestWorldMeshCompleteMLstatic intnxrRequestWorldMeshStateAsyncML(XrWorldMeshDetectorML detector, long stateRequest, long future) Unsafe version of:RequestWorldMeshStateAsyncMLstatic intnxrRequestWorldMeshStateCompleteML(XrWorldMeshDetectorML detector, long future, long completion) Unsafe version of:RequestWorldMeshStateCompleteMLstatic intxrAllocateWorldMeshBufferML(XrWorldMeshDetectorML detector, XrWorldMeshBufferSizeML size, XrWorldMeshBufferML buffer) Allocates memory.static intxrCreateWorldMeshDetectorML(XrSession session, XrWorldMeshDetectorCreateInfoML createInfo, org.lwjgl.PointerBuffer detector) Create a world mesh detector.static intDestroy a world mesh detector.static intxrFreeWorldMeshBufferML(XrWorldMeshDetectorML detector, XrWorldMeshBufferML buffer) Frees memory.static intxrGetWorldMeshBufferRecommendSizeML(XrWorldMeshDetectorML detector, XrWorldMeshBufferRecommendedSizeInfoML sizeInfo, XrWorldMeshBufferSizeML size) Allocates memory.static intxrRequestWorldMeshAsyncML(XrWorldMeshDetectorML detector, XrWorldMeshGetInfoML getInfo, XrWorldMeshBufferML buffer, LongBuffer future) Retrieve mesh vertex data.static intxrRequestWorldMeshCompleteML(XrWorldMeshDetectorML detector, XrWorldMeshRequestCompletionInfoML completionInfo, long future, XrWorldMeshRequestCompletionML completion) Retrieve mesh vertex data.static intxrRequestWorldMeshStateAsyncML(XrWorldMeshDetectorML detector, XrWorldMeshStateRequestInfoML stateRequest, LongBuffer future) Request the current mesh block state.static intxrRequestWorldMeshStateCompleteML(XrWorldMeshDetectorML detector, long future, XrWorldMeshStateRequestCompletionML completion) Completes the current mesh block state query.
-
Field Details
-
XR_ML_world_mesh_detection_SPEC_VERSION
public static final int XR_ML_world_mesh_detection_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_ML_WORLD_MESH_DETECTION_EXTENSION_NAME
The extension name.- See Also:
-
XR_OBJECT_TYPE_WORLD_MESH_DETECTOR_ML
public static final int XR_OBJECT_TYPE_WORLD_MESH_DETECTOR_MLExtendsXrObjectType.- See Also:
-
XR_ERROR_WORLD_MESH_DETECTOR_PERMISSION_DENIED_ML
public static final int XR_ERROR_WORLD_MESH_DETECTOR_PERMISSION_DENIED_MLExtendsXrResult.Enum values:
- See Also:
-
XR_ERROR_WORLD_MESH_DETECTOR_SPACE_NOT_LOCATABLE_ML
public static final int XR_ERROR_WORLD_MESH_DETECTOR_SPACE_NOT_LOCATABLE_MLExtendsXrResult.Enum values:
- See Also:
-
XR_TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_ML
public static final int XR_TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_STATE_REQUEST_INFO_ML
public static final int XR_TYPE_WORLD_MESH_STATE_REQUEST_INFO_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_BLOCK_STATE_ML
public static final int XR_TYPE_WORLD_MESH_BLOCK_STATE_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_ML
public static final int XR_TYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_ML
public static final int XR_TYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_BUFFER_SIZE_ML
public static final int XR_TYPE_WORLD_MESH_BUFFER_SIZE_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_BUFFER_ML
public static final int XR_TYPE_WORLD_MESH_BUFFER_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_BLOCK_REQUEST_ML
public static final int XR_TYPE_WORLD_MESH_BLOCK_REQUEST_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_GET_INFO_ML
public static final int XR_TYPE_WORLD_MESH_GET_INFO_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_BLOCK_ML
public static final int XR_TYPE_WORLD_MESH_BLOCK_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_ML
public static final int XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
public static final int XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_MLExtendsXrStructureType.Enum values:
TYPE_WORLD_MESH_DETECTOR_CREATE_INFO_MLTYPE_WORLD_MESH_STATE_REQUEST_INFO_MLTYPE_WORLD_MESH_BLOCK_STATE_MLTYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_BUFFER_RECOMMENDED_SIZE_INFO_MLTYPE_WORLD_MESH_BUFFER_SIZE_MLTYPE_WORLD_MESH_BUFFER_MLTYPE_WORLD_MESH_BLOCK_REQUEST_MLTYPE_WORLD_MESH_GET_INFO_MLTYPE_WORLD_MESH_BLOCK_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_MLTYPE_WORLD_MESH_REQUEST_COMPLETION_INFO_ML
- See Also:
-
XR_WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML
public static final int XR_WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_MLXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.Flag Descriptions
WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML— If set, will return a point cloud instead of a triangle mesh.WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML— If set, the system will compute the normals for the triangle vertices.WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML— If set, the system will compute the confidence values.WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML— If set, the system will planarize the returned mesh (planar regions will be smoothed out).WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML— If set, the mesh skirt (overlapping area between two mesh blocks) will be removed.WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML— If set, winding order of indices will be be changed from counter clockwise to clockwise.
- See Also:
-
XR_WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML
public static final int XR_WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_MLXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.Flag Descriptions
WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML— If set, will return a point cloud instead of a triangle mesh.WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML— If set, the system will compute the normals for the triangle vertices.WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML— If set, the system will compute the confidence values.WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML— If set, the system will planarize the returned mesh (planar regions will be smoothed out).WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML— If set, the mesh skirt (overlapping area between two mesh blocks) will be removed.WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML— If set, winding order of indices will be be changed from counter clockwise to clockwise.
- See Also:
-
XR_WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML
public static final int XR_WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_MLXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.Flag Descriptions
WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML— If set, will return a point cloud instead of a triangle mesh.WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML— If set, the system will compute the normals for the triangle vertices.WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML— If set, the system will compute the confidence values.WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML— If set, the system will planarize the returned mesh (planar regions will be smoothed out).WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML— If set, the mesh skirt (overlapping area between two mesh blocks) will be removed.WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML— If set, winding order of indices will be be changed from counter clockwise to clockwise.
- See Also:
-
XR_WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML
public static final int XR_WORLD_MESH_DETECTOR_PLANARIZE_BIT_MLXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.Flag Descriptions
WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML— If set, will return a point cloud instead of a triangle mesh.WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML— If set, the system will compute the normals for the triangle vertices.WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML— If set, the system will compute the confidence values.WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML— If set, the system will planarize the returned mesh (planar regions will be smoothed out).WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML— If set, the mesh skirt (overlapping area between two mesh blocks) will be removed.WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML— If set, winding order of indices will be be changed from counter clockwise to clockwise.
- See Also:
-
XR_WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML
public static final int XR_WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_MLXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.Flag Descriptions
WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML— If set, will return a point cloud instead of a triangle mesh.WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML— If set, the system will compute the normals for the triangle vertices.WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML— If set, the system will compute the confidence values.WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML— If set, the system will planarize the returned mesh (planar regions will be smoothed out).WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML— If set, the mesh skirt (overlapping area between two mesh blocks) will be removed.WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML— If set, winding order of indices will be be changed from counter clockwise to clockwise.
- See Also:
-
XR_WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML
public static final int XR_WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_MLXrWorldMeshDetectorFlagBitsML - The world meshing detector flags.Flag Descriptions
WORLD_MESH_DETECTOR_POINT_CLOUD_BIT_ML— If set, will return a point cloud instead of a triangle mesh.WORLD_MESH_DETECTOR_COMPUTE_NORMALS_BIT_ML— If set, the system will compute the normals for the triangle vertices.WORLD_MESH_DETECTOR_COMPUTE_CONFIDENCE_BIT_ML— If set, the system will compute the confidence values.WORLD_MESH_DETECTOR_PLANARIZE_BIT_ML— If set, the system will planarize the returned mesh (planar regions will be smoothed out).WORLD_MESH_DETECTOR_REMOVE_MESH_SKIRT_BIT_ML— If set, the mesh skirt (overlapping area between two mesh blocks) will be removed.WORLD_MESH_DETECTOR_INDEX_ORDER_CW_BIT_ML— If set, winding order of indices will be be changed from counter clockwise to clockwise.
- See Also:
-
XR_WORLD_MESH_DETECTOR_LOD_MINIMUM_ML
public static final int XR_WORLD_MESH_DETECTOR_LOD_MINIMUM_MLXrWorldMeshDetectorLodML - Mesh Levels Of Detail.Description
Enum Description WORLD_MESH_DETECTOR_LOD_MINIMUM_MLMinimum Level of Detail (LOD) for the mesh. WORLD_MESH_DETECTOR_LOD_MEDIUM_MLMedium Level of Detail (LOD) for the mesh. WORLD_MESH_DETECTOR_LOD_MAXIMUM_MLMaximum Level of Detail (LOD) for the mesh. See Also
- See Also:
-
XR_WORLD_MESH_DETECTOR_LOD_MEDIUM_ML
public static final int XR_WORLD_MESH_DETECTOR_LOD_MEDIUM_MLXrWorldMeshDetectorLodML - Mesh Levels Of Detail.Description
Enum Description WORLD_MESH_DETECTOR_LOD_MINIMUM_MLMinimum Level of Detail (LOD) for the mesh. WORLD_MESH_DETECTOR_LOD_MEDIUM_MLMedium Level of Detail (LOD) for the mesh. WORLD_MESH_DETECTOR_LOD_MAXIMUM_MLMaximum Level of Detail (LOD) for the mesh. See Also
- See Also:
-
XR_WORLD_MESH_DETECTOR_LOD_MAXIMUM_ML
public static final int XR_WORLD_MESH_DETECTOR_LOD_MAXIMUM_MLXrWorldMeshDetectorLodML - Mesh Levels Of Detail.Description
Enum Description WORLD_MESH_DETECTOR_LOD_MINIMUM_MLMinimum Level of Detail (LOD) for the mesh. WORLD_MESH_DETECTOR_LOD_MEDIUM_MLMedium Level of Detail (LOD) for the mesh. WORLD_MESH_DETECTOR_LOD_MAXIMUM_MLMaximum Level of Detail (LOD) for the mesh. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_STATUS_NEW_ML
public static final int XR_WORLD_MESH_BLOCK_STATUS_NEW_MLXrWorldMeshBlockStatusML - The mesh block status.Description
Enum Description WORLD_MESH_BLOCK_STATUS_NEW_MLThe mesh block has been created. WORLD_MESH_BLOCK_STATUS_UPDATED_MLThe mesh block has been updated. WORLD_MESH_BLOCK_STATUS_DELETED_MLThe mesh block has been deleted. WORLD_MESH_BLOCK_STATUS_UNCHANGED_MLThe mesh block is unchanged. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_STATUS_UPDATED_ML
public static final int XR_WORLD_MESH_BLOCK_STATUS_UPDATED_MLXrWorldMeshBlockStatusML - The mesh block status.Description
Enum Description WORLD_MESH_BLOCK_STATUS_NEW_MLThe mesh block has been created. WORLD_MESH_BLOCK_STATUS_UPDATED_MLThe mesh block has been updated. WORLD_MESH_BLOCK_STATUS_DELETED_MLThe mesh block has been deleted. WORLD_MESH_BLOCK_STATUS_UNCHANGED_MLThe mesh block is unchanged. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_STATUS_DELETED_ML
public static final int XR_WORLD_MESH_BLOCK_STATUS_DELETED_MLXrWorldMeshBlockStatusML - The mesh block status.Description
Enum Description WORLD_MESH_BLOCK_STATUS_NEW_MLThe mesh block has been created. WORLD_MESH_BLOCK_STATUS_UPDATED_MLThe mesh block has been updated. WORLD_MESH_BLOCK_STATUS_DELETED_MLThe mesh block has been deleted. WORLD_MESH_BLOCK_STATUS_UNCHANGED_MLThe mesh block is unchanged. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_STATUS_UNCHANGED_ML
public static final int XR_WORLD_MESH_BLOCK_STATUS_UNCHANGED_MLXrWorldMeshBlockStatusML - The mesh block status.Description
Enum Description WORLD_MESH_BLOCK_STATUS_NEW_MLThe mesh block has been created. WORLD_MESH_BLOCK_STATUS_UPDATED_MLThe mesh block has been updated. WORLD_MESH_BLOCK_STATUS_DELETED_MLThe mesh block has been deleted. WORLD_MESH_BLOCK_STATUS_UNCHANGED_MLThe mesh block is unchanged. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_RESULT_SUCCESS_ML
public static final int XR_WORLD_MESH_BLOCK_RESULT_SUCCESS_MLXrWorldMeshBlockResultML - The mesh block result values.Description
Enum Description WORLD_MESH_BLOCK_RESULT_SUCCESS_MLMesh request has succeeded. WORLD_MESH_BLOCK_RESULT_FAILED_MLMesh request has failed. WORLD_MESH_BLOCK_RESULT_PENDING_MLMesh request is pending. WORLD_MESH_BLOCK_RESULT_PARTIAL_UPDATE_MLThere are partial updates on the mesh request. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_RESULT_FAILED_ML
public static final int XR_WORLD_MESH_BLOCK_RESULT_FAILED_MLXrWorldMeshBlockResultML - The mesh block result values.Description
Enum Description WORLD_MESH_BLOCK_RESULT_SUCCESS_MLMesh request has succeeded. WORLD_MESH_BLOCK_RESULT_FAILED_MLMesh request has failed. WORLD_MESH_BLOCK_RESULT_PENDING_MLMesh request is pending. WORLD_MESH_BLOCK_RESULT_PARTIAL_UPDATE_MLThere are partial updates on the mesh request. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_RESULT_PENDING_ML
public static final int XR_WORLD_MESH_BLOCK_RESULT_PENDING_MLXrWorldMeshBlockResultML - The mesh block result values.Description
Enum Description WORLD_MESH_BLOCK_RESULT_SUCCESS_MLMesh request has succeeded. WORLD_MESH_BLOCK_RESULT_FAILED_MLMesh request has failed. WORLD_MESH_BLOCK_RESULT_PENDING_MLMesh request is pending. WORLD_MESH_BLOCK_RESULT_PARTIAL_UPDATE_MLThere are partial updates on the mesh request. See Also
- See Also:
-
XR_WORLD_MESH_BLOCK_RESULT_PARTIAL_UPDATE_ML
public static final int XR_WORLD_MESH_BLOCK_RESULT_PARTIAL_UPDATE_MLXrWorldMeshBlockResultML - The mesh block result values.Description
Enum Description WORLD_MESH_BLOCK_RESULT_SUCCESS_MLMesh request has succeeded. WORLD_MESH_BLOCK_RESULT_FAILED_MLMesh request has failed. WORLD_MESH_BLOCK_RESULT_PENDING_MLMesh request is pending. WORLD_MESH_BLOCK_RESULT_PARTIAL_UPDATE_MLThere are partial updates on the mesh request. See Also
- See Also:
-
-
Method Details
-
nxrCreateWorldMeshDetectorML
Unsafe version of:CreateWorldMeshDetectorML -
xrCreateWorldMeshDetectorML
public static int xrCreateWorldMeshDetectorML(XrSession session, XrWorldMeshDetectorCreateInfoML createInfo, org.lwjgl.PointerBuffer detector) Create a world mesh detector.C Specification
The
CreateWorldMeshDetectorMLfunction is defined as:XrResult xrCreateWorldMeshDetectorML( XrSession session, const XrWorldMeshDetectorCreateInfoML* createInfo, XrWorldMeshDetectorML* detector);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingCreateWorldMeshDetectorML sessionmust be a validXrSessionhandlecreateInfomust be a pointer to a validXrWorldMeshDetectorCreateInfoMLstructuredetectormust be a pointer to anXrWorldMeshDetectorMLhandle
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
session- a handle to anXrSession.createInfo- a pointer to anXrWorldMeshDetectorCreateInfoMLstructure.detector- a pointer toXrWorldMeshDetectorML, returned by the runtime.
- The
-
xrDestroyWorldMeshDetectorML
Destroy a world mesh detector.C Specification
The
DestroyWorldMeshDetectorMLfunction is defined as:XrResult xrDestroyWorldMeshDetectorML( XrWorldMeshDetectorML detector);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingDestroyWorldMeshDetectorML detectormust be a validXrWorldMeshDetectorMLhandle
Thread Safety
- Access to
detector, and any child handles, must be externally synchronized
Return Codes
- On success, this command returns
- On failure, this command returns
- Parameters:
detector- theXrWorldMeshDetectorMLto destroy.
- The
-
nxrRequestWorldMeshStateAsyncML
public static int nxrRequestWorldMeshStateAsyncML(XrWorldMeshDetectorML detector, long stateRequest, long future) Unsafe version of:RequestWorldMeshStateAsyncML -
xrRequestWorldMeshStateAsyncML
public static int xrRequestWorldMeshStateAsyncML(XrWorldMeshDetectorML detector, XrWorldMeshStateRequestInfoML stateRequest, LongBuffer future) Request the current mesh block state.C Specification
The
RequestWorldMeshStateAsyncMLfunction is defined as:XrResult xrRequestWorldMeshStateAsyncML( XrWorldMeshDetectorML detector, const XrWorldMeshStateRequestInfoML* stateRequest, XrFutureEXT* future);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingRequestWorldMeshStateAsyncML detectormust be a validXrWorldMeshDetectorMLhandlestateRequestmust be a pointer to a validXrWorldMeshStateRequestInfoMLstructurefuturemust be a pointer to anXrFutureEXTvalue
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
detector- theXrWorldMeshDetectorMLto use.stateRequest- theXrWorldMeshStateRequestInfoMLrequest information.future- a pointer to a runtime createdXrFutureEXT.
- The
-
nxrRequestWorldMeshStateCompleteML
public static int nxrRequestWorldMeshStateCompleteML(XrWorldMeshDetectorML detector, long future, long completion) Unsafe version of:RequestWorldMeshStateCompleteML -
xrRequestWorldMeshStateCompleteML
public static int xrRequestWorldMeshStateCompleteML(XrWorldMeshDetectorML detector, long future, XrWorldMeshStateRequestCompletionML completion) Completes the current mesh block state query.C Specification
The
RequestWorldMeshStateCompleteMLfunction is defined as:XrResult xrRequestWorldMeshStateCompleteML( XrWorldMeshDetectorML detector, XrFutureEXT future, XrWorldMeshStateRequestCompletionML* completion);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingRequestWorldMeshStateCompleteML detectormust be a validXrWorldMeshDetectorMLhandlecompletionmust be a pointer to anXrWorldMeshStateRequestCompletionMLstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
detector- theXrWorldMeshDetectorMLto use.future- a theXrFutureEXTto complete.completion- a pointer to theXrWorldMeshStateRequestCompletionMLstructure.
- The
-
nxrGetWorldMeshBufferRecommendSizeML
public static int nxrGetWorldMeshBufferRecommendSizeML(XrWorldMeshDetectorML detector, long sizeInfo, long size) Unsafe version of:GetWorldMeshBufferRecommendSizeML -
xrGetWorldMeshBufferRecommendSizeML
public static int xrGetWorldMeshBufferRecommendSizeML(XrWorldMeshDetectorML detector, XrWorldMeshBufferRecommendedSizeInfoML sizeInfo, XrWorldMeshBufferSizeML size) Allocates memory.C Specification
The
GetWorldMeshBufferRecommendSizeMLfunction is defined as:XrResult xrGetWorldMeshBufferRecommendSizeML( XrWorldMeshDetectorML detector, const XrWorldMeshBufferRecommendedSizeInfoML* sizeInfo, XrWorldMeshBufferSizeML* size);Description
Errata: This function is called
xrGetWorldMeshBufferRecommendSizeMLrather than the expectedxrGetWorldMeshBufferRecommendedSizeML.Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingGetWorldMeshBufferRecommendSizeML detectormust be a validXrWorldMeshDetectorMLhandlesizeInfomust be a pointer to a validXrWorldMeshBufferRecommendedSizeInfoMLstructuresizemust be a pointer to anXrWorldMeshBufferSizeMLstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
XrWorldMeshBufferRecommendedSizeInfoML,XrWorldMeshBufferSizeML,FreeWorldMeshBufferML- Parameters:
detector- theXrWorldMeshDetectorMLto use.sizeInfo- a pointer to anXrWorldMeshBufferRecommendedSizeInfoMLstructure.size- theXrWorldMeshBufferSizeML, this will be filled by the runtime with the size to allocate for theRequestWorldMeshAsyncMLfunction.sizemust be larger than 0.
- The
-
nxrAllocateWorldMeshBufferML
public static int nxrAllocateWorldMeshBufferML(XrWorldMeshDetectorML detector, long size, long buffer) Unsafe version of:AllocateWorldMeshBufferML -
xrAllocateWorldMeshBufferML
public static int xrAllocateWorldMeshBufferML(XrWorldMeshDetectorML detector, XrWorldMeshBufferSizeML size, XrWorldMeshBufferML buffer) Allocates memory.C Specification
The
AllocateWorldMeshBufferMLfunction is defined as:XrResult xrAllocateWorldMeshBufferML( XrWorldMeshDetectorML detector, const XrWorldMeshBufferSizeML* size, XrWorldMeshBufferML* buffer);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingAllocateWorldMeshBufferML detectormust be a validXrWorldMeshDetectorMLhandlesizemust be a pointer to a validXrWorldMeshBufferSizeMLstructurebuffermust be a pointer to anXrWorldMeshBufferMLstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
XrWorldMeshBufferML,XrWorldMeshBufferSizeML,FreeWorldMeshBufferML- Parameters:
detector- theXrWorldMeshDetectorMLto use.size- theXrWorldMeshBufferSizeMLrequest information previously retrieved viaGetWorldMeshBufferRecommendSizeML.buffer- a pointer to anXrWorldMeshBufferMLthat will be filled by the runtime with a pointer to a memory block and size of the buffer.
- The
-
nxrFreeWorldMeshBufferML
Unsafe version of:FreeWorldMeshBufferML -
xrFreeWorldMeshBufferML
public static int xrFreeWorldMeshBufferML(XrWorldMeshDetectorML detector, XrWorldMeshBufferML buffer) Frees memory.C Specification
The
FreeWorldMeshBufferMLfunction is defined as:XrResult xrFreeWorldMeshBufferML( XrWorldMeshDetectorML detector, const XrWorldMeshBufferML* buffer);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingFreeWorldMeshBufferML detectormust be a validXrWorldMeshDetectorMLhandlebuffermust be a pointer to a validXrWorldMeshBufferMLstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
detector- theXrWorldMeshDetectorMLto use.buffer- a pointer toXrWorldMeshBufferMLto be freed.
- The
-
nxrRequestWorldMeshAsyncML
public static int nxrRequestWorldMeshAsyncML(XrWorldMeshDetectorML detector, long getInfo, long buffer, long future) Unsafe version of:RequestWorldMeshAsyncML -
xrRequestWorldMeshAsyncML
public static int xrRequestWorldMeshAsyncML(XrWorldMeshDetectorML detector, XrWorldMeshGetInfoML getInfo, XrWorldMeshBufferML buffer, LongBuffer future) Retrieve mesh vertex data.C Specification
The
RequestWorldMeshAsyncMLfunction is defined as:XrResult xrRequestWorldMeshAsyncML( XrWorldMeshDetectorML detector, const XrWorldMeshGetInfoML* getInfo, XrWorldMeshBufferML* buffer, XrFutureEXT* future);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingRequestWorldMeshAsyncML detectormust be a validXrWorldMeshDetectorMLhandlegetInfomust be a pointer to a validXrWorldMeshGetInfoMLstructurebuffermust be a pointer to anXrWorldMeshBufferMLstructurefuturemust be a pointer to anXrFutureEXTvalue
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
XrWorldMeshBufferML,XrWorldMeshGetInfoML,RequestWorldMeshCompleteML- Parameters:
detector- theXrWorldMeshDetectorMLto use.getInfo- a pointer to anXrWorldMeshGetInfoMLstructure.buffer- a pointer to anXrWorldMeshBufferMLto be used. This buffer must be kept available for the duration of the request and for however long the application needs access to the vertex buffer.future- a pointer to anXrFutureEXTto be filled by the runtime.
- The
-
nxrRequestWorldMeshCompleteML
public static int nxrRequestWorldMeshCompleteML(XrWorldMeshDetectorML detector, long completionInfo, long future, long completion) Unsafe version of:RequestWorldMeshCompleteML -
xrRequestWorldMeshCompleteML
public static int xrRequestWorldMeshCompleteML(XrWorldMeshDetectorML detector, XrWorldMeshRequestCompletionInfoML completionInfo, long future, XrWorldMeshRequestCompletionML completion) Retrieve mesh vertex data.C Specification
The
RequestWorldMeshCompleteMLfunction is defined as:XrResult xrRequestWorldMeshCompleteML( XrWorldMeshDetectorML detector, const XrWorldMeshRequestCompletionInfoML* completionInfo, XrFutureEXT future, XrWorldMeshRequestCompletionML* completion);Valid Usage (Implicit)
- The
XR_ML_world_mesh_detectionextension must be enabled prior to callingRequestWorldMeshCompleteML detectormust be a validXrWorldMeshDetectorMLhandlecompletionInfomust be a pointer to a validXrWorldMeshRequestCompletionInfoMLstructurecompletionmust be a pointer to anXrWorldMeshRequestCompletionMLstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
XrWorldMeshRequestCompletionInfoML,XrWorldMeshRequestCompletionML,RequestWorldMeshAsyncML- Parameters:
detector- theXrWorldMeshDetectorMLto use.completionInfo- a pointer toXrWorldMeshRequestCompletionInfoML.future- anXrFutureEXTto complete.completion- a pointer toXrWorldMeshRequestCompletionMLcontaining the completion result.
- The
-