Expand description
Welcome to Realms!
Realms is a lightweight, simple and powerful library which provides graphics and game functionality.
Homepage: https://github.com/dylanopen/realms
Documentation: https://docs.rs/realms
Re-exports§
Modules§
- data
- The
data
module stores structs and functions that are too small to be their own module, such as theColor
andGameTime
struct. - input
- The
input
module stores theEvent
enum. The events from the current frame can be accessed by calling theevents()
method on aWindow
instance. - shader
- The
shader
module stores structs and functions used to manage opengl shaders used to draw vertices. It has two primary structs:Shader
andShaderProgram
. - texture
- The
texture
module stores structs for interacting with image files and loading them as opengl textures. - vertex
- The
vertex
module stores structs and methods to interact withVertexBuffer
s: a way of interacting with opengl’s VAOs, VBOs and EBOs but in a simpler and safer way. - window
- The
window
module contains structs and functions for interacting with aglfw::PWindow
.