Documentation
¶
Overview ¶
Example: gogpu/ui -- Widget Gallery
A comprehensive showcase of ALL gogpu/ui widgets in a scrollable window. Think "Storybook" for gogpu/ui: every widget variant, state, and configuration is demonstrated in a single application.
Supports theme switching: Material 3 (4 seed colors) and DevTools (dark/light).
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.
Requirements:
gogpu v0.23.2+ gg v0.36.4+
Click to show internal directories.
Click to hide internal directories.