Enum webxr::surfman_layer_manager::SurfmanGL
source · pub enum SurfmanGL {}
Trait Implementations§
source§impl DiscoveryAPI<SurfmanGL> for GlWindowDiscovery
impl DiscoveryAPI<SurfmanGL> for GlWindowDiscovery
fn request_session( &mut self, mode: SessionMode, init: &SessionInit, xr: SessionBuilder<'_, SurfmanGL>, ) -> Result<Session, Error>
fn supports_session(&self, mode: SessionMode) -> bool
source§impl DiscoveryAPI<SurfmanGL> for HeadlessDiscovery
impl DiscoveryAPI<SurfmanGL> for HeadlessDiscovery
fn request_session( &mut self, mode: SessionMode, init: &SessionInit, xr: SessionBuilder<'_, SurfmanGL>, ) -> Result<Session, Error>
fn supports_session(&self, mode: SessionMode) -> bool
source§impl LayerManagerAPI<SurfmanGL> for SurfmanLayerManager
impl LayerManagerAPI<SurfmanGL> for SurfmanLayerManager
fn create_layer( &mut self, device: &mut SurfmanDevice, contexts: &mut dyn GLContexts<SurfmanGL>, context_id: ContextId, init: LayerInit, ) -> Result<LayerId, Error>
fn destroy_layer( &mut self, device: &mut SurfmanDevice, contexts: &mut dyn GLContexts<SurfmanGL>, context_id: ContextId, layer_id: LayerId, )
fn layers(&self) -> &[(ContextId, LayerId)]
fn begin_frame( &mut self, device: &mut SurfmanDevice, contexts: &mut dyn GLContexts<SurfmanGL>, layers: &[(ContextId, LayerId)], ) -> Result<Vec<SubImages>, Error>
fn end_frame( &mut self, device: &mut SurfmanDevice, contexts: &mut dyn GLContexts<SurfmanGL>, layers: &[(ContextId, LayerId)], ) -> Result<(), Error>
source§impl MockDiscoveryAPI<SurfmanGL> for HeadlessMockDiscovery
impl MockDiscoveryAPI<SurfmanGL> for HeadlessMockDiscovery
fn simulate_device_connection( &mut self, init: MockDeviceInit, receiver: Receiver<MockDeviceMsg>, ) -> Result<Box<dyn DiscoveryAPI<SurfmanGL>>, Error>
impl Copy for SurfmanGL
Auto Trait Implementations§
impl Freeze for SurfmanGL
impl RefUnwindSafe for SurfmanGL
impl Send for SurfmanGL
impl Sync for SurfmanGL
impl Unpin for SurfmanGL
impl UnwindSafe for SurfmanGL
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)