Crates.io | nsys-gl-utils |
lib.rs | nsys-gl-utils |
version | 0.11.6 |
created_at | 2025-07-13 07:13:11.343426+00 |
updated_at | 2025-08-17 02:19:38.304766+00 |
description | OpenGL and graphics utilities |
homepage | |
repository | https://gitlab.com/spearman/gl-utils-rs |
max_upload_size | |
id | 1750067 |
size | 373,673 |
gl_utils
OpenGL and general graphics utilities
Modules:
camera2d
-- camera and functions for 2D transformscamera3d
-- camera and functions for 3D transformscolor
-- color constants and utilitiesgraphics
-- general graphics types and functionsinfo
-- write glutin
and glium
context infoinit
-- glium
initializationmesh
-- mesh generationrender
-- glium
-based rendering supportshader
-- shaders, shader programs, and shader definition macrostexture
-- blending functions and texture loadingtile
-- utilities for dealing with character-based tile/glyph datavertex
-- vertex specificationsNote documentation tests may have linker failure when running too many tests
concurrently (observed with 7 or more test threads). Use
cargo test -- --test-threads=6
(or fewer threads) to avoid this problem.
winit
as of v0.30.5, winit has an x11
feature and a wayland
feature; both are
default features
glutin
as of v0.32.1, glutin has features for the following windowing system interfaces:
egl
glx
wgl
it also has features x11
and wayland
all the above features are included in default features
glutin-winit
as of v0.5, glutin-winit has the same features as glutin, and choosing x11
or
wayland
will enable the corresponding feature in winit
all the above features are included in default features
glium
as of v0.36, glium includes in default features the above dependencies with default features
this crate (gl-utils
) depends on a fork of glium that does not include the
default features of glutin/winit dependencies. instead it adds features x11
and windows
that selectively enable the features for those platforms.