How samedifier/vanilla-modules works
VANILLA_WINDOW is a C-based window and Vulkan rendering module that appears designed to consume ANYCORE scene/model data. The likely user-to-result path is application startup, window/input handling, renderer initialization, scene/model upload, and frame drawing. The Vulkan utility header explicitly sequences renderer initialization; SOURCE INDEX references establish several module dependencies. The README is empty, and main.c’s excerpt is mostly embedded shader data, so runtime behavior beyond those references is not inferred.
Main entry points: main.c Runtime entry · vanilla_window_vulkan_utils.h Renderer setup · main.h Renderer data API · vanilla_analyzer.c Scene analyzer
Components 23
Application runtime
- Runtime entry
VANILLA_WINDOW/v1.0.0/src/main.c - Configuration
VANILLA_WINDOW/v1.0.0/configuration.h - Shared types
VANILLA_WINDOW/v1.0.0/primitives.h - Main helpers
VANILLA_WINDOW/v1.0.0/include/main_utils.h
Window and input
- GLFW window
VANILLA_WINDOW/v1.0.0/src/vanilla_window_glfw.c - GLFW helpers
VANILLA_WINDOW/v1.0.0/include/vanilla_window_glfw_utils.h - Input events
VANILLA_WINDOW/v1.0.0/src/vanilla_window_input.c - Input API
VANILLA_WINDOW/v1.0.0/include/vanilla_window_input.h - Input helpers
VANILLA_WINDOW/v1.0.0/include/vanilla_window_input_utils.h
Vulkan rendering
- Renderer setup
VANILLA_WINDOW/v1.0.0/include/vanilla_window_vulkan_utils.h - Instance and device
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_instance.c - Surface and swapchain
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_swapchain.c - GPU buffers
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_buffers.c - Pipeline and commands
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_commandbuffer.c - Frame drawing
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_draw.c - Textures and materials
VANILLA_WINDOW/v1.0.0/src - Renderer data API
VANILLA_WINDOW/v1.0.0/include/main.h
Scene and assets
- Camera
VANILLA_WINDOW/v1.0.0/include/vanilla_window_camera.h - View math
VANILLA_WINDOW/v1.0.0/include/vanilla_math.h - Entity components
VANILLA_WINDOW/v1.0.0/include/standardcomponent_utils.h - Scene analyzer
VANILLA_WINDOW/v1.0.0/src/vanilla_analyzer.c - Analyzer API
VANILLA_WINDOW/v1.0.0/include/vanilla_analyzer.h
Other components
- Application host
Connections 29
- Application host → Runtime entry: starts
- Runtime entry → Main helpers: references
VANILLA_WINDOW/v1.0.0/src/main.c - Runtime entry → GLFW helpers: references
VANILLA_WINDOW/v1.0.0/src/main.c - Runtime entry → Renderer setup: references
VANILLA_WINDOW/v1.0.0/src/main.c - Runtime entry → Input helpers: references
VANILLA_WINDOW/v1.0.0/src/main.c - Runtime entry → Analyzer API: references
VANILLA_WINDOW/v1.0.0/src/main.c - Runtime entry → Camera: references
VANILLA_WINDOW/v1.0.0/src/main.c - Runtime entry → Entity components: references
VANILLA_WINDOW/v1.0.0/src/main.c - Renderer setup → Instance and device: initializes
VANILLA_WINDOW/v1.0.0/include/vanilla_window_vulkan_utils.h - Renderer setup → Surface and swapchain: initializes
VANILLA_WINDOW/v1.0.0/include/vanilla_window_vulkan_utils.h - Renderer setup → GPU buffers: initializes
VANILLA_WINDOW/v1.0.0/include/vanilla_window_vulkan_utils.h - Renderer setup → Pipeline and commands: initializes
VANILLA_WINDOW/v1.0.0/include/vanilla_window_vulkan_utils.h - Renderer setup → Frame drawing: initializes
VANILLA_WINDOW/v1.0.0/include/vanilla_window_vulkan_utils.h - Instance and device → GLFW window: references
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_instance.c - Surface and swapchain → GLFW window: references
- Pipeline and commands → View math: references
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_commandbuffer.c - Pipeline and commands → Camera: references
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_commandbuffer.c - Textures and materials → Entity components: references
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_material.c - Scene analyzer → Renderer setup: references
VANILLA_WINDOW/v1.0.0/src/vanilla_analyzer.c - Scene analyzer → Entity components: references
VANILLA_WINDOW/v1.0.0/src/vanilla_analyzer.c - Scene analyzer → Shared types: references
VANILLA_WINDOW/v1.0.0/src/vanilla_analyzer.c - Analyzer API → Scene analyzer: implemented by
VANILLA_WINDOW/v1.0.0/src/vanilla_analyzer.c - Input events → Input helpers: references
VANILLA_WINDOW/v1.0.0/src/vanilla_window_input.c - Input helpers → Input API: references
VANILLA_WINDOW/v1.0.0/include/vanilla_window_input_utils.h - GLFW window → Renderer data API: references
- Renderer data API → Configuration: references
VANILLA_WINDOW/v1.0.0/include/main.h - Renderer data API → Shared types: references
VANILLA_WINDOW/v1.0.0/include/main.h - Renderer data API → Entity components: references
VANILLA_WINDOW/v1.0.0/include/main.h - GPU buffers → Renderer data API: references
VANILLA_WINDOW/v1.0.0/src/vanilla_window_vulkan_buffers.c