KhronosGroup / KhronosGroup/OpenXR-Docs

Clarify the use of `XrPassthroughHTC` handles

Open
#185 1 comment 0 reactions 0 assignees View on GitHub
synced to gitlab vendor-extension
Dominant language
Python
Stars
181
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Two questions I have:

1. can multiple `XrPassthroughHTC` handles created from a single `XrSession` exist at the same time?
2. can multiple `XrCompositionLayerPassthroughHTC` layers referencing the same `XrPassthroughHTC` handle exist in the same `xrEndFrame` call? if so is there a limit to how many such layers there can be?

The spec says (emphasis mine):

> An application can create *an* `XrPassthroughHTC` handle by calling `xrCreatePassthroughHTC`.

If I take this "an" as face value, this seems to state only one such handle may be created? similarly:

> The application can create *an* `XrCompositionLayerPassthroughHTC` structure with the created passthrough and the corresponding information. *A* pointer to `XrCompositionLayerPassthroughHTC` may be submitted in `xrEndFrame`

Is that the correct reading?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the specification text for xrCreatePassthroughHTC, XrPassthroughHTC, XrCompositionLayerPassthroughHTC, and xrEndFrame. Determine whether the wording defines limits on handles or submitted layers, then update the relevant specification language so both questions have explicit answers.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.