Skip to content

A minimal example of using Rust, OpenGL, and egui without using eframe 🦀

Notifications You must be signed in to change notification settings

matthewjberger/opengl-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust / Winit / Egui / OpenGL Triangle

This project demonstrates how to setup a rust project that uses OpenGL via gl-rs and glutin to render a spinning triangle with an egui UI overlay.

If you're looking for a Vulkan example, check out the vulkan-example repo

If you're looking for a Wgpu example, check out the wgpu-example repo

opengl

Quickstart

cargo run -r

# Or if you have `just` installed
just runf

About

A minimal example of using Rust, OpenGL, and egui without using eframe 🦀

Resources

Stars

Watchers

Forks

Sponsor this project