Module wgpu

Module wgpu 

Source
Expand description

Integration between egui and wgpu API.

This module provides EguiWgpu, a convenience wrapper that bundles together:

§Usage

Typical usage is to:

  1. Create an EguiWgpu for your SDL2 window
  2. Pass SDL2 events to EguiWgpu::on_event
  3. Call EguiWgpu::run providing our UI function
  4. Paint egui output via EguiWgpu::paint

Re-exports§

pub use painter::*;

Modules§

painter

Structs§

EguiWgpu
Integration between egui and wgpu for app based on sdl2.