Replies: 2 comments
-
|
Hey! For integrating a custom Wgpu/GL chart into gpui-component, you have a couple of options:
The CLI's default interactive mode provides intuitive, menu-based navigation. To use in non-interactive mode (such as in a script), you can set each command's --output Usage: Core Auth Session Management Additional Commands: Flags: Use "render [command] --help" for more information about a command. method. Look at and implement . You'll need to handle resizing and redraws.
|
Beta Was this translation helpful? Give feedback.
-
|
Short answer: direct embedding of an independent Wgpu/GL render context inside GPUI component layout is not currently a first-class path. Practical options:
If your renderer can output frames/textures, a bridge-to-canvas/image approach is usually the cleanest way to stay inside one UI tree. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve reverse-engineered a Rust version of the TradingView's charting library here(waisiukei.github.io/chartles-rs-demo). It’s based on an independent Wgpu/GL context for custom rendering. Is there a way to integrate it with gpui-component?
Beta Was this translation helpful? Give feedback.
All reactions