pixels/examples/imgui-winit
Jay Oster 333ce71468
Fix resize in the imgui-winit example (#145)
- Was originally resizing the pixel buffer with `PhysicalSize` units, which is definitely incorrect. (The pixel buffer is created with `LogicalSize` units.)
- Updated the World struct to retain its own size information.
2021-03-07 03:50:10 -08:00
..
src Fix resize in the imgui-winit example (#145) 2021-03-07 03:50:10 -08:00
Cargo.toml Upgrade to wgpu 0.7 (#134) 2021-02-28 15:29:36 -08:00
README.md Add Dear ImGui example (#116) 2020-09-18 03:57:28 -07:00

Dear-ImGui Example

Dear-ImGui Example

Minimal example with imgui and winit.

Running

cargo run --release --package imgui-winit

About

This example is based on minimal-winit, and extends it with imgui to render custom GUI elements over your pixel frame buffer.