Struct gfx_device_gl::Device
[−]
[src]
pub struct Device { // some fields omitted }
An OpenGL device with GLSL shaders.
Methods
impl Device
unsafe fn with_gl<F: FnMut(&Gl)>(&mut self, fun: F)
Access the OpenGL directly via a closure. OpenGL types and enumerations
can be found in the gl
crate.
fn get_info<'a>(&'a self) -> &'a Info
Get the OpenGL-specific driver information