Module radiant_rs::backend[][src]

Backend specific integration methods. Backends can be switched via cargo features. The documentation shown here depends on the features it was generated with.

Functions

create_display

Creates a new radiant_rs::Display from given glium::Display and glutin::EventsLoop.

create_renderer

Creates a new radiant_rs::Renderer from given glium::Display.

get_texture

Returns the underlying glium Texture2d for given Texture

take_frame

Passes a mutable reference to the current glium::Frame used by Radiant to the given callback.

target_frame

Causes given renderer to render to the given glium::Frame within the closure.