On HoloLens 2, there are a number of ways to submit composition data through xrEndFrame
, which can result in post-processing and noticeable performance penalties.
To avoid poor performance, submit a single XrCompositionProjectionLayer
with the following characteristics:
XR_COMPOSITION_LAYER_UNPREMULTIPLIED_ALPHA_BIT
flagXrCompositionLayerDepthInfoKHR
minDepth
to 0.0f and maxDepth
to 1.0fFor better performance, consider: