pub struct OpenGlPass {
pub framebuffer: u32,
pub web_context: u32,
pub web_framebuffer: u32,
}Expand description
OpenGL or WebGL2 framebuffer lent at a layer’s place.
Fields§
§framebuffer: u32On native platforms, the framebuffer name (0 for the default framebuffer); always 0 on the web.
web_context: u32On the web, the session’s WebGL2RenderingContext object ID; 0 on native platforms.
web_framebuffer: u32On the web, the bound WebGLFramebuffer object ID (0 for the default framebuffer); 0 on native platforms.
Trait Implementations§
Source§impl Clone for OpenGlPass
impl Clone for OpenGlPass
impl Copy for OpenGlPass
Auto Trait Implementations§
impl Forget for OpenGlPass
impl Freeze for OpenGlPass
impl Move for OpenGlPass
impl RefUnwindSafe for OpenGlPass
impl Send for OpenGlPass
impl Sync for OpenGlPass
impl Unpin for OpenGlPass
impl UnsafeUnpin for OpenGlPass
impl UnwindSafe for OpenGlPass
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