pub struct GLRasterizationContext {
pub gl_context: Arc<GLContext>,
pub size: Size2D<i32>,
pub framebuffer_id: GLuint,
/* private fields */
}
Fields§
§gl_context: Arc<GLContext>
§size: Size2D<i32>
§framebuffer_id: GLuint
Implementations§
Source§impl GLRasterizationContext
impl GLRasterizationContext
pub fn new( gl_context: Arc<GLContext>, pixmap: Pixmap, size: Size2D<i32>, ) -> Option<GLRasterizationContext>
pub fn make_current(&self)
pub fn flush(&self)
pub fn flush_to_surface(&self)
Auto Trait Implementations§
impl Freeze for GLRasterizationContext
impl !RefUnwindSafe for GLRasterizationContext
impl !Send for GLRasterizationContext
impl !Sync for GLRasterizationContext
impl Unpin for GLRasterizationContext
impl !UnwindSafe for GLRasterizationContext
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