Class FBTriangleMesh

java.lang.Object
org.lwjgl.openxr.FBTriangleMesh

public class FBTriangleMesh extends Object
The XR_FB_triangle_mesh extension.

Meshes may be useful in XR applications when representing parts of the environment. In particular, application may provide the surfaces of real-world objects tagged manually to the runtime, or obtain automatically detected environment contents.

This extension allows:

  • An application to create a triangle mesh and specify the mesh data.
  • An application to update mesh contents if a mesh is mutable.

In order to enable the functionality of this extension, the application must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extension section.