Struct luminance_glfw::GL33Context[][src]

pub struct GL33Context {
    pub window: Window,
    // some fields omitted
}

Luminance OpenGL 3.3 context.

This type also re-exports the GLFW window, if you need access to it.

Fields

window: Window

Wrapped GLFW window.

Implementations

impl GL33Context[src]

pub fn back_buffer(
    &mut self
) -> Result<Framebuffer<GL33, Dim2, (), ()>, FramebufferError>
[src]

Get the back buffer.

Trait Implementations

impl Debug for GL33Context[src]

impl GraphicsContext for GL33Context[src]

type Backend = GL33

Internal type used by the backend to cache, optimize and store data. This roughly represents the GPU data / context a backend implementation needs to work correctly. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.