Documentation
¶
Overview ¶
Example: gogpu/ui — Widget Demo
Demonstrates the gogpu/ui widget toolkit rendering into a gogpu window using the managed render loop provided by desktop.Run.
Architecture:
ui widgets → render.Canvas (gg) → ggcanvas → GPU surface (zero-copy)
Rendering: event-driven (ContinuousRender=false). 0% CPU when idle. Redraws only on user interaction (click, key, resize).
Click to show internal directories.
Click to hide internal directories.