C Specification
XrResult xrPathToString(
XrInstance instance,
XrPath path,
uint32_t bufferCapacityInput,
uint32_t* bufferCountOutput,
char* buffer);
Parameters
Description
xrPathToString retrieves the path name string associated with an XrPath, in the
context of a given XrInstance, in the form of a NULL
terminated string placed into a caller-allocated buffer.
Since the mapping between a well-formed path name string and an XrPath is bijective, there will always be exactly one string for each valid XrPath value.
This can be useful if the calling application receives an XrPath value that they had not previously retrieved via xrStringToPath.
During the lifetime of the given XrInstance, the path name string retrieved by this function for a given valid XrPath will not change.
For invalid paths, including XR_NULL_PATH, XR_ERROR_PATH_INVALID
will be returned.
See Also
Document Notes
For more information, see the OpenXR Specification at URL
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.