Struct gfx_device_gl::Device [−][src]
pub struct Device { /* fields omitted */ }
An OpenGL device with GLSL shaders.
Implementations
impl Device
[src][−]
pub unsafe fn with_gl<F: FnMut(&Gl)>(&mut self, fun: F)
[src][−]
Access the OpenGL directly via a closure. OpenGL types and enumerations
can be found in the gl
crate.
pub fn get_info<'a>(&'a self) -> &'a Info
[src][−]
Get the OpenGL-specific driver information
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Device
impl !Send for Device
impl !Sync for Device
impl Unpin for Device
impl !UnwindSafe for Device
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,