C Specification

XrSceneMeshVertexBufferMSFT is an input/output structure for reading scene mesh buffer vertices.

// Provided by XR_MSFT_scene_understanding
typedef struct XrSceneMeshVertexBufferMSFT {
    XrStructureType    type;
    void*              next;
    uint32_t           vertexCapacityInput;
    uint32_t           vertexCountOutput;
    XrVector3f*        vertices;
} XrSceneMeshVertexBufferMSFT;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain.

  • vertexCapacityInput is the capacity of the array, or 0 to indicate a request to retrieve the required capacity.

  • vertexCountOutput is the count of vertices, or the required capacity in the case that vertexCapacityInput is insufficient.

  • vertices is an array of XrVector3f filled in by the runtime returns the position of vertices in the mesh component’s space.

  • See Buffer Size Parameters chapter for a detailed description of retrieving the required vertices size.

Description

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2024, The Khronos Group Inc.