Struct rovr::target::GlutinRenderTarget [-] [+] [src]

pub struct GlutinRenderTarget<'a> {
    // some fields omitted
}

Wrapper to use a glutin window as a render target.

Methods

impl<'a> GlutinRenderTarget<'a>

fn new(window: &'a Window, multisample: u32) -> GlutinRenderTarget<'a>

Create a glutin render target from the specified window. multisample should match the multisampling level used when creating the window.

Trait Implementations

impl<'a> RenderTarget for GlutinRenderTarget<'a>

fn get_multisample(&self) -> u32

unsafe fn get_native_window(&self) -> *const c_void