Thanks to visit codestin.com
Credit goes to lib.rs

40 releases

new 0.1.7 May 21, 2026
0.1.6 May 21, 2026
0.0.67 May 13, 2026
0.0.59 Apr 20, 2026
0.0.37 Jan 31, 2026

#2872 in GUI

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

135 downloads per month
Used in cranpose

Apache-2.0

4.5MB
113K SLoC

WGPU renderer backend for GPU-accelerated 2D rendering.

This renderer uses WGPU for cross-platform GPU support across desktop (Windows/Mac/Linux), web (WebGPU), and mobile (Android/iOS).


Cranpose Render WGPU

A GPU-accelerated rendering backend for Cranpose, powered by wgpu.

When to Use

This is the default renderer for Cranpose. It provides high-performance rendering on Linux (Vulkan/GL), macOS (Metal), Windows (DX12/Vulkan), and Web (WebGL2/WebGPU). It supports advanced features like anti-aliased shapes and hardware-accelerated text rendering.

Key Concepts

  • WGPU: The underlying graphics abstraction layer.
  • Glyphon: Used for efficient, high-quality text layout and rasterization.
  • Batching: The renderer automatically batches draw calls to minimize GPU overhead.

Configuration

This renderer is enabled by default via the renderer-wgpu feature in the cranpose crate. No manual configuration is typically required.

Dependencies

~40–62MB
~1M SLoC