https://github.com/tauri-apps/glutin
A low-level library for OpenGL context creation, written in pure Rust.
https://github.com/tauri-apps/glutin
Last synced: 3 months ago
JSON representation
A low-level library for OpenGL context creation, written in pure Rust.
- Host: GitHub
- URL: https://github.com/tauri-apps/glutin
- Owner: tauri-apps
- License: apache-2.0
- Fork: true (rust-windowing/glutin)
- Created: 2021-11-03T22:54:18.000Z (about 4 years ago)
- Default Branch: 0.31
- Last Pushed: 2024-05-02T11:27:43.000Z (over 1 year ago)
- Last Synced: 2024-10-29T21:06:03.347Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 3.1 MB
- Stars: 25
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# glutin_tao
Glutin is a low-level library for OpenGL context creation, glutin_tao uses tao instead of winit.
[](https://crates.io/crates/glutin)
[](https://docs.rs/glutin)
```toml
[dependencies]
glutin = "0.30.8"
```
## [Documentation](https://docs.rs/glutin_tao)
### Try it!
```bash
git clone https://github.com/tauri-apps/glutin
cd glutin
cargo run --example window
```
### Usage
Glutin is an OpenGL context creation library, and doesn't directly provide
OpenGL bindings for you.
For examples, please look [here](https://github.com/rust-windowing/glutin/tree/master/glutin_examples).
Note that glutin aims at being a low-level brick in your rendering
infrastructure. You are encouraged to write another layer of abstraction
between glutin and your application.
The minimum Rust version target by glutin is `1.65.0`.
## Platform-specific notes
### Wayland
Wayland is currently unsupported.