• →
  • ←
  • index
  • Pugl
  • » Overview

OverviewΒΆ

The Pugl API revolves around two main objects: the world and the view. An application creates a world to manage top-level state, then creates one or more views to display.

  • Creating a World
    • Construction
    • Setting Application Data
  • Creating a View
    • Configuring the Frame
    • Embedding
    • Setting an Event Handler
    • Setting View Data
    • Setting a Backend
      • Using Cairo
      • Using OpenGL
      • Using Vulkan
        • Loading Vulkan
        • Linking with Vulkan
        • Creating a Surface
    • Showing the View
  • Handling Events
    • Using the Graphics Context
      • Drawing
      • Cairo Context
      • OpenGL Context
      • Vulkan Context
  • Driving the Event Loop
    • Redrawing
    • Event Dispatching
      • MacOS
      • Windows
      • X11
      • Recursive Event Loops
  • Shutting Down
Copyright 2020, David Robillard. Generated using Sphinx 3.4.0.
  • →
  • ←
  • index
  • Pugl
  • » Overview