Trait webxr_api::device::DiscoveryAPI
source · pub trait DiscoveryAPI<GL>: 'static {
// Required methods
fn request_session(
&mut self,
mode: SessionMode,
init: &SessionInit,
xr: SessionBuilder<'_, GL>,
) -> Result<Session, Error>;
fn supports_session(&self, mode: SessionMode) -> bool;
}
Expand description
A trait for discovering XR devices