Struct luminance_glfw::surface::GlfwSurface[][src]

pub struct GlfwSurface { /* fields omitted */ }

GLFW surface.

This type implements GraphicsContext so that you can use it to perform render with luminance.

Trait Implementations

impl GraphicsContext for GlfwSurface
[src]

Get access to the graphics state of this context. Read more

Swap the back and front buffers.

Create a new pipeline builder. Read more

impl Surface for GlfwSurface
[src]

Type of events.

Type of surface errors.

Create a surface along with its associated event stream and bootstrap a luminance environment that it lives as long as the surface lives. Read more

Size of the surface’s framebuffer.

Important traits for Box<R>

Get an iterator over events by blocking until the first event happens.

Important traits for Box<R>

Get an iterator over events without blocking if no event is there.

Width of the surface’s framebuffer. Read more

Height of the surface’s framebuffer. Read more

Auto Trait Implementations

impl !Send for GlfwSurface

impl !Sync for GlfwSurface