Crate realms

Source
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§

pub use gl;
pub use glfw;

Modules§

data
The data module stores structs and functions that are too small to be their own module, such as the Color and GameTime struct.
input
The input module stores the Event enum. The events from the current frame can be accessed by calling the events() method on a Window instance.
shader
The shader module stores structs and functions used to manage opengl shaders used to draw vertices. It has two primary structs: Shader and ShaderProgram.
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 with VertexBuffers: 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 a glfw::PWindow.