Delegate VivePathEnumerationHelper.xrEnumeratePathsForInteractionProfileHTCDelegate
Provided by XR_HTC_path_enumerate. Developers should call this API with the value of pathCapacityInput equals to 0 to retrieve the size of paths from pathCountOutput. Then developers allocate the array of XrPath data and assign the pathCapacityInput and call the API in the second time.
If the input pathCapacityInput is not sufficient to contain all output indices, the runtime must return XR_ERROR_SIZE_INSUFFICIENT on calls to
Namespace: VIVE.OpenXR
Assembly: VIVE.OpenXR.dll
Syntax
public delegate XrResult VivePathEnumerationHelper.xrEnumeratePathsForInteractionProfileHTCDelegate(XrInstance instance, ref XrPathsForInteractionProfileEnumerateInfoHTC enumerateInfo, uint pathCapacityInput, ref uint pathCountOutput, XrPath[] paths)
Parameters
Type | Name | Description |
---|---|---|
XrInstance | instance | An XrInstance previously created. |
XrPathsForInteractionProfileEnumerateInfoHTC | enumerateInfo | A XrPathsForInteractionProfileEnumerateInfoHTC providing the query information. |
uint | pathCapacityInput | The capacity of the paths array, or 0 to indicate a request to retrieve the required capacity. |
uint | pathCountOutput | A pointer to the count of paths written, or a pointer to the required capacity in the case that pathCapacityInput is insufficient. |
XrPath[] | paths | A pointer to an array of XrPath, but can be NULL if pathCapacityInput is 0. |
Returns
Type | Description |
---|---|
XrResult | XR_SUCCESS for success. |