Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class MSFTSceneUnderstanding

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

The XR_MSFT_scene_understanding extension.

Scene understanding provides applications with a structured, high-level representation of the planes, meshes, and objects in the user’s environment, enabling the development of spatially-aware applications.

The application requests computation of a scene, receiving the list of scene components observed in the environment around the user. These scene components contain information such as:

The application can use this information to reason about the structure and location of the environment, to place holograms on surfaces, or render clues for grounding objects.

An application typically uses this extension in the following steps:

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
XR_MESH_COMPUTE_LOD_COARSE_MSFT

XrMeshComputeLodMSFT - Mesh compute level of detail enumeration Enumerant Descriptions

public static final int
XR_MESH_COMPUTE_LOD_FINE_MSFT

XrMeshComputeLodMSFT - Mesh compute level of detail enumeration Enumerant Descriptions

public static final int
XR_MESH_COMPUTE_LOD_MEDIUM_MSFT

XrMeshComputeLodMSFT - Mesh compute level of detail enumeration Enumerant Descriptions

public static final int
XR_MESH_COMPUTE_LOD_UNLIMITED_MSFT

XrMeshComputeLodMSFT - Mesh compute level of detail enumeration Enumerant Descriptions

public static final String
public static final int
XR_MSFT_scene_understanding_SPEC_VERSION

The extension specification version.

public static final int
XR_OBJECT_TYPE_SCENE_MSFT

Extends XrObjectType.

public static final int
public static final int
XR_SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT

XrSceneComponentTypeMSFT - Scene component type Enumerant Descriptions

  • SCENE_COMPONENT_TYPE_INVALID_MSFT indicates an invalid scene component type.
  • SCENE_COMPONENT_TYPE_OBJECT_MSFT indicates a discrete object detected in the world, such as a wall, floor, ceiling or table. Scene objects then provide their geometric representations such as planes and meshes as child scene components with the types below.
  • SCENE_COMPONENT_TYPE_PLANE_MSFT indicates a flat 2D representation of a surface in the world, such as a wall, floor, ceiling or table.
  • SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT indicates a visual mesh representation of an object in the world, optimized for visual quality when directly rendering a wireframe or other mesh visualization to the user. Visual mesh can also be used for rendering the silhouettes of objects. Applications can request varying levels of detail for visual meshes when calling ComputeNewSceneMSFT using XrVisualMeshComputeLodInfoMSFT.
  • SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT indicates a collider mesh representation of an object in the world, optimized to maintain the silhouette of an object while reducing detail on mostly-flat surfaces. Collider mesh is useful when calculating physics collisions or when rendering silhouettes of objects for occlusion.
public static final int
XR_SCENE_COMPONENT_TYPE_INVALID_MSFT

XrSceneComponentTypeMSFT - Scene component type Enumerant Descriptions

  • SCENE_COMPONENT_TYPE_INVALID_MSFT indicates an invalid scene component type.
  • SCENE_COMPONENT_TYPE_OBJECT_MSFT indicates a discrete object detected in the world, such as a wall, floor, ceiling or table. Scene objects then provide their geometric representations such as planes and meshes as child scene components with the types below.
  • SCENE_COMPONENT_TYPE_PLANE_MSFT indicates a flat 2D representation of a surface in the world, such as a wall, floor, ceiling or table.
  • SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT indicates a visual mesh representation of an object in the world, optimized for visual quality when directly rendering a wireframe or other mesh visualization to the user. Visual mesh can also be used for rendering the silhouettes of objects. Applications can request varying levels of detail for visual meshes when calling ComputeNewSceneMSFT using XrVisualMeshComputeLodInfoMSFT.
  • SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT indicates a collider mesh representation of an object in the world, optimized to maintain the silhouette of an object while reducing detail on mostly-flat surfaces. Collider mesh is useful when calculating physics collisions or when rendering silhouettes of objects for occlusion.
public static final int
XR_SCENE_COMPONENT_TYPE_OBJECT_MSFT

XrSceneComponentTypeMSFT - Scene component type Enumerant Descriptions

  • SCENE_COMPONENT_TYPE_INVALID_MSFT indicates an invalid scene component type.
  • SCENE_COMPONENT_TYPE_OBJECT_MSFT indicates a discrete object detected in the world, such as a wall, floor, ceiling or table. Scene objects then provide their geometric representations such as planes and meshes as child scene components with the types below.
  • SCENE_COMPONENT_TYPE_PLANE_MSFT indicates a flat 2D representation of a surface in the world, such as a wall, floor, ceiling or table.
  • SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT indicates a visual mesh representation of an object in the world, optimized for visual quality when directly rendering a wireframe or other mesh visualization to the user. Visual mesh can also be used for rendering the silhouettes of objects. Applications can request varying levels of detail for visual meshes when calling ComputeNewSceneMSFT using XrVisualMeshComputeLodInfoMSFT.
  • SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT indicates a collider mesh representation of an object in the world, optimized to maintain the silhouette of an object while reducing detail on mostly-flat surfaces. Collider mesh is useful when calculating physics collisions or when rendering silhouettes of objects for occlusion.
public static final int
XR_SCENE_COMPONENT_TYPE_PLANE_MSFT

XrSceneComponentTypeMSFT - Scene component type Enumerant Descriptions

  • SCENE_COMPONENT_TYPE_INVALID_MSFT indicates an invalid scene component type.
  • SCENE_COMPONENT_TYPE_OBJECT_MSFT indicates a discrete object detected in the world, such as a wall, floor, ceiling or table. Scene objects then provide their geometric representations such as planes and meshes as child scene components with the types below.
  • SCENE_COMPONENT_TYPE_PLANE_MSFT indicates a flat 2D representation of a surface in the world, such as a wall, floor, ceiling or table.
  • SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT indicates a visual mesh representation of an object in the world, optimized for visual quality when directly rendering a wireframe or other mesh visualization to the user. Visual mesh can also be used for rendering the silhouettes of objects. Applications can request varying levels of detail for visual meshes when calling ComputeNewSceneMSFT using XrVisualMeshComputeLodInfoMSFT.
  • SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT indicates a collider mesh representation of an object in the world, optimized to maintain the silhouette of an object while reducing detail on mostly-flat surfaces. Collider mesh is useful when calculating physics collisions or when rendering silhouettes of objects for occlusion.
public static final int
XR_SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT

XrSceneComponentTypeMSFT - Scene component type Enumerant Descriptions

  • SCENE_COMPONENT_TYPE_INVALID_MSFT indicates an invalid scene component type.
  • SCENE_COMPONENT_TYPE_OBJECT_MSFT indicates a discrete object detected in the world, such as a wall, floor, ceiling or table. Scene objects then provide their geometric representations such as planes and meshes as child scene components with the types below.
  • SCENE_COMPONENT_TYPE_PLANE_MSFT indicates a flat 2D representation of a surface in the world, such as a wall, floor, ceiling or table.
  • SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT indicates a visual mesh representation of an object in the world, optimized for visual quality when directly rendering a wireframe or other mesh visualization to the user. Visual mesh can also be used for rendering the silhouettes of objects. Applications can request varying levels of detail for visual meshes when calling ComputeNewSceneMSFT using XrVisualMeshComputeLodInfoMSFT.
  • SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT indicates a collider mesh representation of an object in the world, optimized to maintain the silhouette of an object while reducing detail on mostly-flat surfaces. Collider mesh is useful when calculating physics collisions or when rendering silhouettes of objects for occlusion.
public static final int
XR_SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT

XrSceneComputeConsistencyMSFT - Scene compute consistency Enumerant Descriptions

  • SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT. The runtime must return a scene that is a consistent and complete snapshot of the environment, inferring the size and shape of objects as needed where the objects were not directly observed, in order to generate a watertight representation of the scene.
  • SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT. The runtime must return a consistent snapshot of the scene with meshes that do not overlap adjacent meshes at their edges, but may skip returning objects with XrSceneObjectTypeMSFT of SCENE_OBJECT_TYPE_INFERRED_MSFT in order to return the scene faster.
  • SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT. The runtime may react to this value by computing scenes more quickly and reusing existing mesh buffer IDs more often to minimize app overhead, with potential tradeoffs such as returning meshes that are not watertight, meshes that overlap adjacent meshes at their edges to allow partial updates in the future, or other reductions in mesh quality that are less observable when mesh is used for occlusion only.
public static final int
XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT

XrSceneComputeConsistencyMSFT - Scene compute consistency Enumerant Descriptions

  • SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT. The runtime must return a scene that is a consistent and complete snapshot of the environment, inferring the size and shape of objects as needed where the objects were not directly observed, in order to generate a watertight representation of the scene.
  • SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT. The runtime must return a consistent snapshot of the scene with meshes that do not overlap adjacent meshes at their edges, but may skip returning objects with XrSceneObjectTypeMSFT of SCENE_OBJECT_TYPE_INFERRED_MSFT in order to return the scene faster.
  • SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT. The runtime may react to this value by computing scenes more quickly and reusing existing mesh buffer IDs more often to minimize app overhead, with potential tradeoffs such as returning meshes that are not watertight, meshes that overlap adjacent meshes at their edges to allow partial updates in the future, or other reductions in mesh quality that are less observable when mesh is used for occlusion only.
public static final int
XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT

XrSceneComputeConsistencyMSFT - Scene compute consistency Enumerant Descriptions

  • SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT. The runtime must return a scene that is a consistent and complete snapshot of the environment, inferring the size and shape of objects as needed where the objects were not directly observed, in order to generate a watertight representation of the scene.
  • SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT. The runtime must return a consistent snapshot of the scene with meshes that do not overlap adjacent meshes at their edges, but may skip returning objects with XrSceneObjectTypeMSFT of SCENE_OBJECT_TYPE_INFERRED_MSFT in order to return the scene faster.
  • SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT. The runtime may react to this value by computing scenes more quickly and reusing existing mesh buffer IDs more often to minimize app overhead, with potential tradeoffs such as returning meshes that are not watertight, meshes that overlap adjacent meshes at their edges to allow partial updates in the future, or other reductions in mesh quality that are less observable when mesh is used for occlusion only.
public static final int
XR_SCENE_COMPUTE_FEATURE_COLLIDER_MESH_MSFT

XrSceneComputeFeatureMSFT - Scene compute feature Enumerant Descriptions

public static final int
XR_SCENE_COMPUTE_FEATURE_PLANE_MESH_MSFT

XrSceneComputeFeatureMSFT - Scene compute feature Enumerant Descriptions

public static final int
XR_SCENE_COMPUTE_FEATURE_PLANE_MSFT

XrSceneComputeFeatureMSFT - Scene compute feature Enumerant Descriptions

public static final int
XR_SCENE_COMPUTE_FEATURE_VISUAL_MESH_MSFT

XrSceneComputeFeatureMSFT - Scene compute feature Enumerant Descriptions

public static final int
XR_SCENE_COMPUTE_STATE_COMPLETED_MSFT

XrSceneComputeStateMSFT - Scene compute state type Enumerant Descriptions

public static final int
XR_SCENE_COMPUTE_STATE_COMPLETED_WITH_ERROR_MSFT

XrSceneComputeStateMSFT - Scene compute state type Enumerant Descriptions

public static final int
XR_SCENE_COMPUTE_STATE_NONE_MSFT

XrSceneComputeStateMSFT - Scene compute state type Enumerant Descriptions

public static final int
XR_SCENE_COMPUTE_STATE_UPDATING_MSFT

XrSceneComputeStateMSFT - Scene compute state type Enumerant Descriptions

public static final int
XR_SCENE_OBJECT_TYPE_BACKGROUND_MSFT

XrSceneObjectTypeMSFT - Scene object type Enumerant Descriptions

  • SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT. This scene object has yet to be classified and assigned a type. This should not be confused with background, as this object could be anything; the system has just not come up with a strong enough classification for it yet.
  • SCENE_OBJECT_TYPE_BACKGROUND_MSFT. The scene object is known to be not one of the other recognized types of scene object. This class should not be confused with uncategorized where background is known not to be wall/floor/ceiling etc. while uncategorized is not yet categorized.
  • SCENE_OBJECT_TYPE_WALL_MSFT. A physical wall. Walls are assumed to be immovable environmental structures.
  • SCENE_OBJECT_TYPE_FLOOR_MSFT. Floors are any surfaces on which one can walk. Note: stairs are not floors. Also note, that floors assume any walkable surface and therefore there is no explicit assumption of a singular floor. Multi-level structures, ramps, etc. should all classify as floor.
  • SCENE_OBJECT_TYPE_CEILING_MSFT. The upper surface of a room.
  • SCENE_OBJECT_TYPE_PLATFORM_MSFT. A large flat surface on which you could place holograms. These tend to represent tables, countertops, and other large horizontal surfaces.
  • SCENE_OBJECT_TYPE_INFERRED_MSFT. An imaginary object that was added to the scene in order to make the scene watertight and avoid gaps.
public static final int
XR_SCENE_OBJECT_TYPE_CEILING_MSFT

XrSceneObjectTypeMSFT - Scene object type Enumerant Descriptions

  • SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT. This scene object has yet to be classified and assigned a type. This should not be confused with background, as this object could be anything; the system has just not come up with a strong enough classification for it yet.
  • SCENE_OBJECT_TYPE_BACKGROUND_MSFT. The scene object is known to be not one of the other recognized types of scene object. This class should not be confused with uncategorized where background is known not to be wall/floor/ceiling etc. while uncategorized is not yet categorized.
  • SCENE_OBJECT_TYPE_WALL_MSFT. A physical wall. Walls are assumed to be immovable environmental structures.
  • SCENE_OBJECT_TYPE_FLOOR_MSFT. Floors are any surfaces on which one can walk. Note: stairs are not floors. Also note, that floors assume any walkable surface and therefore there is no explicit assumption of a singular floor. Multi-level structures, ramps, etc. should all classify as floor.
  • SCENE_OBJECT_TYPE_CEILING_MSFT. The upper surface of a room.
  • SCENE_OBJECT_TYPE_PLATFORM_MSFT. A large flat surface on which you could place holograms. These tend to represent tables, countertops, and other large horizontal surfaces.
  • SCENE_OBJECT_TYPE_INFERRED_MSFT. An imaginary object that was added to the scene in order to make the scene watertight and avoid gaps.
public static final int
XR_SCENE_OBJECT_TYPE_FLOOR_MSFT

XrSceneObjectTypeMSFT - Scene object type Enumerant Descriptions

  • SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT. This scene object has yet to be classified and assigned a type. This should not be confused with background, as this object could be anything; the system has just not come up with a strong enough classification for it yet.
  • SCENE_OBJECT_TYPE_BACKGROUND_MSFT. The scene object is known to be not one of the other recognized types of scene object. This class should not be confused with uncategorized where background is known not to be wall/floor/ceiling etc. while uncategorized is not yet categorized.
  • SCENE_OBJECT_TYPE_WALL_MSFT. A physical wall. Walls are assumed to be immovable environmental structures.
  • SCENE_OBJECT_TYPE_FLOOR_MSFT. Floors are any surfaces on which one can walk. Note: stairs are not floors. Also note, that floors assume any walkable surface and therefore there is no explicit assumption of a singular floor. Multi-level structures, ramps, etc. should all classify as floor.
  • SCENE_OBJECT_TYPE_CEILING_MSFT. The upper surface of a room.
  • SCENE_OBJECT_TYPE_PLATFORM_MSFT. A large flat surface on which you could place holograms. These tend to represent tables, countertops, and other large horizontal surfaces.
  • SCENE_OBJECT_TYPE_INFERRED_MSFT. An imaginary object that was added to the scene in order to make the scene watertight and avoid gaps.
public static final int
XR_SCENE_OBJECT_TYPE_INFERRED_MSFT

XrSceneObjectTypeMSFT - Scene object type Enumerant Descriptions

  • SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT. This scene object has yet to be classified and assigned a type. This should not be confused with background, as this object could be anything; the system has just not come up with a strong enough classification for it yet.
  • SCENE_OBJECT_TYPE_BACKGROUND_MSFT. The scene object is known to be not one of the other recognized types of scene object. This class should not be confused with uncategorized where background is known not to be wall/floor/ceiling etc. while uncategorized is not yet categorized.
  • SCENE_OBJECT_TYPE_WALL_MSFT. A physical wall. Walls are assumed to be immovable environmental structures.
  • SCENE_OBJECT_TYPE_FLOOR_MSFT. Floors are any surfaces on which one can walk. Note: stairs are not floors. Also note, that floors assume any walkable surface and therefore there is no explicit assumption of a singular floor. Multi-level structures, ramps, etc. should all classify as floor.
  • SCENE_OBJECT_TYPE_CEILING_MSFT. The upper surface of a room.
  • SCENE_OBJECT_TYPE_PLATFORM_MSFT. A large flat surface on which you could place holograms. These tend to represent tables, countertops, and other large horizontal surfaces.
  • SCENE_OBJECT_TYPE_INFERRED_MSFT. An imaginary object that was added to the scene in order to make the scene watertight and avoid gaps.
public static final int
XR_SCENE_OBJECT_TYPE_PLATFORM_MSFT

XrSceneObjectTypeMSFT - Scene object type Enumerant Descriptions

  • SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT. This scene object has yet to be classified and assigned a type. This should not be confused with background, as this object could be anything; the system has just not come up with a strong enough classification for it yet.
  • SCENE_OBJECT_TYPE_BACKGROUND_MSFT. The scene object is known to be not one of the other recognized types of scene object. This class should not be confused with uncategorized where background is known not to be wall/floor/ceiling etc. while uncategorized is not yet categorized.
  • SCENE_OBJECT_TYPE_WALL_MSFT. A physical wall. Walls are assumed to be immovable environmental structures.
  • SCENE_OBJECT_TYPE_FLOOR_MSFT. Floors are any surfaces on which one can walk. Note: stairs are not floors. Also note, that floors assume any walkable surface and therefore there is no explicit assumption of a singular floor. Multi-level structures, ramps, etc. should all classify as floor.
  • SCENE_OBJECT_TYPE_CEILING_MSFT. The upper surface of a room.
  • SCENE_OBJECT_TYPE_PLATFORM_MSFT. A large flat surface on which you could place holograms. These tend to represent tables, countertops, and other large horizontal surfaces.
  • SCENE_OBJECT_TYPE_INFERRED_MSFT. An imaginary object that was added to the scene in order to make the scene watertight and avoid gaps.
public static final int
XR_SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT

XrSceneObjectTypeMSFT - Scene object type Enumerant Descriptions

  • SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT. This scene object has yet to be classified and assigned a type. This should not be confused with background, as this object could be anything; the system has just not come up with a strong enough classification for it yet.
  • SCENE_OBJECT_TYPE_BACKGROUND_MSFT. The scene object is known to be not one of the other recognized types of scene object. This class should not be confused with uncategorized where background is known not to be wall/floor/ceiling etc. while uncategorized is not yet categorized.
  • SCENE_OBJECT_TYPE_WALL_MSFT. A physical wall. Walls are assumed to be immovable environmental structures.
  • SCENE_OBJECT_TYPE_FLOOR_MSFT. Floors are any surfaces on which one can walk. Note: stairs are not floors. Also note, that floors assume any walkable surface and therefore there is no explicit assumption of a singular floor. Multi-level structures, ramps, etc. should all classify as floor.
  • SCENE_OBJECT_TYPE_CEILING_MSFT. The upper surface of a room.
  • SCENE_OBJECT_TYPE_PLATFORM_MSFT. A large flat surface on which you could place holograms. These tend to represent tables, countertops, and other large horizontal surfaces.
  • SCENE_OBJECT_TYPE_INFERRED_MSFT. An imaginary object that was added to the scene in order to make the scene watertight and avoid gaps.
public static final int
XR_SCENE_OBJECT_TYPE_WALL_MSFT

XrSceneObjectTypeMSFT - Scene object type Enumerant Descriptions

  • SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT. This scene object has yet to be classified and assigned a type. This should not be confused with background, as this object could be anything; the system has just not come up with a strong enough classification for it yet.
  • SCENE_OBJECT_TYPE_BACKGROUND_MSFT. The scene object is known to be not one of the other recognized types of scene object. This class should not be confused with uncategorized where background is known not to be wall/floor/ceiling etc. while uncategorized is not yet categorized.
  • SCENE_OBJECT_TYPE_WALL_MSFT. A physical wall. Walls are assumed to be immovable environmental structures.
  • SCENE_OBJECT_TYPE_FLOOR_MSFT. Floors are any surfaces on which one can walk. Note: stairs are not floors. Also note, that floors assume any walkable surface and therefore there is no explicit assumption of a singular floor. Multi-level structures, ramps, etc. should all classify as floor.
  • SCENE_OBJECT_TYPE_CEILING_MSFT. The upper surface of a room.
  • SCENE_OBJECT_TYPE_PLATFORM_MSFT. A large flat surface on which you could place holograms. These tend to represent tables, countertops, and other large horizontal surfaces.
  • SCENE_OBJECT_TYPE_INFERRED_MSFT. An imaginary object that was added to the scene in order to make the scene watertight and avoid gaps.
public static final int
XR_SCENE_PLANE_ALIGNMENT_TYPE_HORIZONTAL_MSFT

XrScenePlaneAlignmentTypeMSFT - Scene plane alignment type Enumerant Descriptions

public static final int
XR_SCENE_PLANE_ALIGNMENT_TYPE_NON_ORTHOGONAL_MSFT

XrScenePlaneAlignmentTypeMSFT - Scene plane alignment type Enumerant Descriptions

public static final int
XR_SCENE_PLANE_ALIGNMENT_TYPE_VERTICAL_MSFT

XrScenePlaneAlignmentTypeMSFT - Scene plane alignment type Enumerant Descriptions

public static final int
XR_TYPE_NEW_SCENE_COMPUTE_INFO_MSFT

Extends XrStructureType.

public static final int
public static final int
public static final int
public static final int
public static final int
XR_TYPE_SCENE_COMPONENTS_MSFT

Extends XrStructureType.

public static final int
XR_TYPE_SCENE_CREATE_INFO_MSFT

Extends XrStructureType.

public static final int
public static final int
XR_TYPE_SCENE_MESH_BUFFERS_MSFT

Extends XrStructureType.

public static final int
public static final int
public static final int
XR_TYPE_SCENE_MESH_VERTEX_BUFFER_MSFT

Extends XrStructureType.

public static final int
XR_TYPE_SCENE_MESHES_MSFT

Extends XrStructureType.

public static final int
public static final int
XR_TYPE_SCENE_OBJECTS_MSFT

Extends XrStructureType.

public static final int
public static final int
public static final int
XR_TYPE_SCENE_PLANES_MSFT

Extends XrStructureType.

public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrComputeNewSceneMSFT(XrSceneObserverMSFT sceneObserver, long computeInfo)

Unsafe version of: ComputeNewSceneMSFT

public static int
nxrCreateSceneMSFT(XrSceneObserverMSFT sceneObserver, long createInfo, long scene)

Unsafe version of: CreateSceneMSFT

public static int
nxrCreateSceneObserverMSFT(XrSession session, long createInfo, long sceneObserver)

Unsafe version of: CreateSceneObserverMSFT

public static int
nxrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, long systemId, int
the capacity of the array, or 0 to indicate a request to retrieve the required capacity.
featureCapacityInput
,
long featureCountOutput, long features)

Unsafe version of: EnumerateSceneComputeFeaturesMSFT

public static int
nxrGetSceneComponentsMSFT(XrSceneMSFT scene, long getInfo, long components)

Unsafe version of: GetSceneComponentsMSFT

public static int
nxrGetSceneComputeStateMSFT(XrSceneObserverMSFT sceneObserver, long state)

Unsafe version of: GetSceneComputeStateMSFT

public static int
nxrGetSceneMeshBuffersMSFT(XrSceneMSFT scene, long getInfo, long buffers)

Unsafe version of: GetSceneMeshBuffersMSFT

public static int
nxrLocateSceneComponentsMSFT(XrSceneMSFT scene, long locateInfo, long locations)

Unsafe version of: LocateSceneComponentsMSFT

public static int
xrComputeNewSceneMSFT(XrSceneObserverMSFT
a handle to an XrSceneObserverMSFT.
sceneObserver
,
XrNewSceneComputeInfoMSFT
a pointer to an XrNewSceneComputeInfoMSFT structure.
computeInfo
)

Compute new scene.

public static int
xrCreateSceneMSFT(XrSceneObserverMSFT
a handle to an XrSceneObserverMSFT.
sceneObserver
,
XrSceneCreateInfoMSFT
exists for extensibility purposes, it is NULL or a pointer to a valid XrSceneCreateInfoMSFT structure.
createInfo
,
PointerBuffer
the returned XrSceneMSFT handle.
scene
)

Create a scene handle.

public static int
xrCreateSceneObserverMSFT(XrSession
an XrSession in which the scene observer will be active.
session
,
XrSceneObserverCreateInfoMSFT
exists for extensibility purposes, it is NULL or a pointer to a valid XrSceneObserverCreateInfoMSFT structure.
createInfo
,
PointerBuffer
the returned XrSceneObserverMSFT handle.
sceneObserver
)

Create a scene observer handle.

public static int
xrDestroySceneMSFT(XrSceneMSFT
an XrSceneMSFT previously created by CreateSceneMSFT.
scene
)

Destroy a scene handle.

public static int
xrDestroySceneObserverMSFT(XrSceneObserverMSFT
an XrSceneObserverMSFT previously created by CreateSceneObserverMSFT.
sceneObserver
)

Destroy a scene observer handle.

public static int
xrEnumerateSceneComputeFeaturesMSFT(XrInstance
a handle to an XrInstance.
instance
,
long
the XrSystemId whose scene compute features will be enumerated.
systemId
,
IntBuffer
a pointer to the count of scene compute features, or a pointer to the required capacity in the case that featureCapacityInput is insufficient.
featureCountOutput
,
IntBuffer
an array of XrSceneComputeFeatureMSFT.
features
)

Enumerates scene compute features.

public static int
xrGetSceneComponentsMSFT(XrSceneMSFT
an XrSceneMSFT previously created by CreateSceneMSFT.
scene
,
XrSceneComponentsGetInfoMSFT
a pointer to an XrSceneComponentsGetInfoMSFT structure.
getInfo
,
XrSceneComponentsMSFT
the XrSceneComponentsMSFT output structure.
components
)

Get scene components from a scene.

public static int
xrGetSceneComputeStateMSFT(XrSceneObserverMSFT
a handle to an XrSceneObserverMSFT.
sceneObserver
,
IntBuffer
the returned XrSceneComputeStateMSFT value.
state
)

Get the scene compute state.

public static int
xrGetSceneMeshBuffersMSFT(XrSceneMSFT
an XrSceneMSFT previously created by CreateSceneMSFT.
scene
,
XrSceneMeshBuffersGetInfoMSFT
a pointer to an XrSceneMeshBuffersGetInfoMSFT structure.
getInfo
,
XrSceneMeshBuffersMSFT
a pointer to an XrSceneMeshBuffersMSFT structure for reading a scene mesh buffer.
buffers
)

Get scene mesh buffers.

public static int
xrLocateSceneComponentsMSFT(XrSceneMSFT
a handle to an XrSceneMSFT.
scene
,
XrSceneComponentsLocateInfoMSFT
a pointer to XrSceneComponentsLocateInfoMSFT describing information to locate scene components.
locateInfo
,
XrSceneComponentLocationsMSFT
a pointer to XrSceneComponentLocationsMSFT receiving the returned scene component locations.
locations
)

Locate scene components.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait