Skip to main content

Crate cranpose_render_wgpu

Crate cranpose_render_wgpu 

Source
Expand description

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).

Structs§

BackdropLayer
A backdrop effect applied to already-rendered content behind a node.
CapturedFrame
CPU-readable RGBA frame captured from the renderer output.
DrawShape
HitRegion
ImageDraw
Scene
TextDraw
WgpuRenderer
WGPU-based renderer for GPU-accelerated 2D rendering.

Enums§

ClickAction
WgpuRendererError

Functions§

setup_headless_text_measurer
Convenience function for tests to initialize an accurate wgpu text measurer without launching a window.