Trait rovr::RenderTarget [-] [+] [src]

pub trait RenderTarget {
    fn get_multisample(&self) -> u32;
    unsafe fn get_native_window(&self) -> *const c_void;
}

A target window to bind headset rendering to.

Required Methods

fn get_multisample(&self) -> u32

Number of samples used for MSAA.

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

The native window handle for this window. This can return null for all platforms except Windows. The returned handle must be valid with an effective lifetime greater than or equal to the lifetime of self.

Implementors