You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perhaps instead have <VRDisplay>.isRealDisplay (à la OpenVR's IsDisplayRealDisplay)?
The text was updated successfully, but these errors were encountered:
cvan
changed the title
Rename VRDisplayCapabilities#canPresent to be less ambiguous
Rename VRDisplayCapabilities#canPresent to be less ambiguous for detecting "magic window"
Jan 28, 2017
@cvan knows this, but for the benefit of anyone else: The proposal for 2.0 here is that you attempt to create an exclusive (presenting) or non-exclusive (magic window) context, and the implementation can fail in either case. There's also a supportsSession function for testing if the given session type is supported without actually creating one. That should generally solve the issue of this being an awkward capability bit.
IMO,
<VRDisplay>.capabilities.canPresent
seems a bit odd (to be a property of thecapabilities
object and thecanPresent
naming).perhaps instead have
<VRDisplay>.isRealDisplay
(à la OpenVR'sIsDisplayRealDisplay
)?The text was updated successfully, but these errors were encountered: