#render #sprites #game

limnus-wgpu-window

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

7 releases

0.0.16 Jan 14, 2025
0.0.15 Jan 13, 2025
0.0.12 Dec 3, 2024
0.0.11 Nov 30, 2024

#2708 in Game dev

Download history 116/week @ 2024-11-19 192/week @ 2024-11-26 283/week @ 2024-12-03 144/week @ 2024-12-10 13/week @ 2024-12-17 21/week @ 2024-12-24 45/week @ 2024-12-31 353/week @ 2025-01-07 326/week @ 2025-01-14 35/week @ 2025-01-21 4/week @ 2025-01-28 19/week @ 2025-02-04 9/week @ 2025-02-11

84 downloads per month
Used in 15 crates (5 directly)

MIT license

46KB
836 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.16"

License

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

Dependencies

~5–40MB
~628K SLoC