短评 · ·

X 归档 2025-06-17

1 条动态 · 图 0 · 视频 1
Dioxus Native just gained WGPU support with a custom <canvas /> element!

Simply pass in a WGPU texture to the canvas and draw whatever your heart desires.

Surrounding HTML content is automatically blended through layers, making custom widgets feel native.
Dioxus Native 刚刚通过自定义 <canvas /> 元素获得了 WGPU 支持!

只需把 WGPU 纹理传给 canvas,就能随心所欲地绘制任何内容。

周围的 HTML 内容会自动通过图层混合,让自定义组件拥有原生般的质感。