C Specification

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

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


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 a pointer to the count of vertices, or a pointer to the required capacity in the case that vertexCapacityInput is 0.

  • 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.


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 (c) 2014-2021, The Khronos Group Inc.