Skyscraper 2.0
XrSceneUnderstanding.h File Reference
#include "XrStruct.h"
#include "XrHandle.h"
#include "XrMath.h"
Include dependency graph for XrSceneUnderstanding.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xr::SceneObserverHandle
 
class  xr::SceneHandle
 
struct  xr::SceneBounds
 

Namespaces

namespace  xr
 The xr::DispatchTable struct contains all available PFN pointers to xr functions including those in all extensions. The application should call dispatchTable.Initialize() once creating a new XrInstance to initialize all function pointers. The application should reset the dispatch table by = {} when destroying the instance handle.
 

Functions

std::vector< XrSceneComputeFeatureMSFT > xr::EnumerateSceneComputeFeatures (XrInstance instance, XrSystemId systemId)
 
xr::SceneObserverHandle xr::CreateSceneObserver (XrSession session)
 
xr::SceneHandle xr::CreateScene (XrSceneObserverMSFT sceneObserver)
 
void xr::ComputeNewScene (XrSceneObserverMSFT sceneObserver, const std::vector< XrSceneComputeFeatureMSFT > &requestedFeatures, const SceneBounds &bounds, XrSceneComputeConsistencyMSFT consistency=XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT, std::optional< XrMeshComputeLodMSFT > visualMeshLevelOfDetail={})
 
void xr::ReadMeshBuffers (XrSceneMSFT scene, uint64_t meshBufferId, std::vector< XrVector3f > &vertexBuffer, std::vector< uint32_t > &indexBuffer)
 
void xr::ReadMeshBuffers (XrSceneMSFT scene, uint64_t meshBufferId, std::vector< XrVector3f > &vertexBuffer, std::vector< uint16_t > &indexBuffer)