#sprite #render #game #wgpu

limnus-wgpu-window

creating and managing a window with rendering surfaces using winit and wgpu

9 releases

Uses new Rust 2024

0.0.18 Apr 5, 2025
0.0.17 Mar 6, 2025
0.0.16 Jan 14, 2025
0.0.12 Dec 3, 2024
0.0.11 Nov 30, 2024

#2794 in Game dev

Download history 53/week @ 2024-12-25 14/week @ 2025-01-01 518/week @ 2025-01-08 172/week @ 2025-01-15 23/week @ 2025-01-22 5/week @ 2025-01-29 18/week @ 2025-02-05 15/week @ 2025-02-12 33/week @ 2025-02-19 76/week @ 2025-02-26 220/week @ 2025-03-05 57/week @ 2025-03-12 23/week @ 2025-03-19 73/week @ 2025-03-26 226/week @ 2025-04-02 33/week @ 2025-04-09

364 downloads per month
Used in 23 crates (7 directly)

MIT license

55KB
815 lines

limnus-wgpu-window 🧱

Crates.io Documentation

Limnus WGPU Window is a Rust crate that provides a simple and efficient abstraction for creating and managing a window with rendering surfaces using winit and wgpu. It streamlines the setup of the wgpu device, queue, and surface, handling window resizing and rendering, making it easier to build high-performance graphics applications.

✨ Features

  • Easy Window and Surface Management: Simplifies the creation and configuration of windows and wgpu surfaces using winit.
  • Device and Queue Setup: Automatically initializes the wgpu device and queue with sensible defaults.
  • Responsive Resizing: Handles window resizing events and reconfigures the rendering surface accordingly.
  • Flexible Rendering Pipeline: Provides a render function callback to integrate custom rendering logic seamlessly.
  • Cross-Platform Support: Compatible with major operating systems supported by winit and wgpu.

📦 Installation

Add limnus-wgpu-window to your project’s Cargo.toml:

[dependencies]
limnus-wgpu-window = "0.0.18"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~5–41MB
~641K SLoC