Skip to content
Discussion options

You must be logged in to vote

Yes for the editor shell; not yet as a drop-in, cross-platform 3D viewport host.

GPUI/GPUI Component are a reasonable fit for the inspector, hierarchy, dock panels, menus, property editors, and similar tooling. A node graph and timeline are possible too, but they would be custom interactive components rather than game-engine widgets supplied by this crate.

The 3D viewport is the boundary to be careful about. GPUI's public custom-drawing primitive is canvas(...), which gives a callback into GPUI's own low-level 2D paint API (source). It does not expose an API such as “import this wgpu::Texture and composite it here.”

Your proposed path can be made into a proof of concept:

3D renderer -> CP…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ozbeksu
Comment options

Answer selected by ozbeksu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants