Trait XRWebGLLayerMethods

Source
pub(crate) trait XRWebGLLayerMethods<D>
where D: DomTypes,
{ // Required methods fn Antialias(&self) -> bool; fn IgnoreDepthValues(&self) -> bool; fn GetFixedFoveation(&self) -> Option<Finite<f32>>; fn SetFixedFoveation(&self, value: Option<Finite<f32>>); fn GetFramebuffer( &self, ) -> Option<Root<Dom<<D as DomTypes>::WebGLFramebuffer>>>; fn FramebufferWidth(&self) -> u32; fn FramebufferHeight(&self) -> u32; fn GetViewport( &self, view: &<D as DomTypes>::XRView, ) -> Option<Root<Dom<<D as DomTypes>::XRViewport>>>; fn GetNativeFramebufferScaleFactor( global: &<D as DomTypes>::Window, session: &<D as DomTypes>::XRSession, ) -> Finite<f64>; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, session: &<D as DomTypes>::XRSession, context: WebGLRenderingContextOrWebGL2RenderingContext<D>, layerInit: &XRWebGLLayerInit, ) -> Result<Root<Dom<<D as DomTypes>::XRWebGLLayer>>, Error>; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§