How yashwanthcb/vkpbr works
vkPBR is a Vulkan-based physically based rendering demo. Its visible workflow initializes a GLFW window, builds a scene with material and transform data, constructs the renderer with that window and scene, then repeatedly draws frames. The README identifies Cook–Torrance/GGX lighting with Smith geometry, Schlick Fresnel, and inverse-square point lights. The renderer implementation was read but its detailed internals are not excerpted here, so the graph keeps those responsibilities together and avoids inferring internal rendering stages or utility calls.
Main entry points: Application.cpp Application Loop · RendererPBR.cpp PBR Renderer · Scene.cpp Scene Entities · glfw3.h GLFW Windowing
Components 7
Application
- Application Loop
src/Application.cpp
Scene Data
- Scene Entities
src/Scene.cpp
Rendering
- PBR Renderer
src/RendererPBR.cpp - Rendering Utilities
src/Util.cpp
Other components
- User
- GLFW Windowing
thirdparty/includes/GLFW/glfw3.h - Vulkan API
Connections 6
- User → Application Loop: runs
- Application Loop → GLFW Windowing: creates window
src/Application.cpp - Application Loop → Scene Entities: builds scene
src/Application.cpp - Application Loop → PBR Renderer: constructs and draws
src/Application.cpp - PBR Renderer → Scene Entities: receives scene
- PBR Renderer → Vulkan API: renders with