How elsantif/banshee works
Banshee is an in-development C++ 3D engine. Its visible runtime workflow is application startup, frame ticking and rendering through a World, with a selected Level representing scene content; Spectre supplies OpenGL rendering resources. The sampled code confirms the application’s window/world ownership and loop, but does not expose enough implementation to trace entity/component dispatch into draw calls. The README identifies OpenGL 4.6 as a requirement. Asset-management headers are mentioned in the umbrella header but are absent from the supplied tree, so they are not mapped.
Main entry points: Application.cpp Application loop · Framebuffer.cpp Framebuffer · Level.cpp Level · Window.cpp Window
Components 22
Engine runtime
- Application loop
Sources/Banshee/src/Core/Application.cpp - Window
Sources/Banshee/src/Core/Window.cpp - Input state
Sources/Banshee/src/Core/InputManager.cpp
Scene model
- World
Sources/Banshee/src/World/World.cpp - Level
Sources/Banshee/src/World/Level.cpp - Entity
Sources/Banshee/include/Banshee/World/Entity.hpp - Component base
Sources/Banshee/include/Banshee/Components/ComponentBase.hpp - Camera
Sources/Banshee/include/Banshee/Components/Camera.hpp - Transform
Sources/Banshee/src/Components/Transform.cpp - Static mesh
Sources/Banshee/src/Components/StaticMesh.cpp - Model component
Sources/Banshee/src/Components/Model.cpp
Rendering
- Renderer
Sources/Spectre/src/Renderer/Renderer.cpp - Framebuffer
Sources/Spectre/src/Framebuffer/Framebuffer.cpp - Shader program
Sources/Spectre/src/Shader/Shader.cpp - Vertex array
Sources/Spectre/src/VertexArray/VertexArray.cpp - GPU buffers
Sources/Spectre/src/Buffer/Buffer.cpp - Texture
Sources/Spectre/src/Texture/Texture.cpp - Renderbuffer
Sources/Spectre/src/Renderbuffer/Renderbuffer.cpp
Utilities
- Core utilities
Sources/Poltergeist/include/Poltergeist/Poltergeist.hpp - Math
Sources/Poltergeist/src/Math/Math.cpp - Profiler
Sources/Poltergeist/src/Profiler/Profiler.cpp
Other components
- Engine user
Connections 18
- Engine user → Application loop: starts
- Application loop → Window: creates
Sources/Banshee/src/Core/Application.cpp - Application loop → Renderer: initializes
Sources/Banshee/src/Core/Application.cpp - Application loop → World: creates
Sources/Banshee/src/Core/Application.cpp - Application loop → World: ticks and renders
Sources/Banshee/src/Core/Application.cpp - Application loop → Window: swaps buffers
Sources/Banshee/src/Core/Application.cpp - Application loop → Level: sets main level
- Window → Input state: references
- Level → Camera: references
- Level → Framebuffer: references
- Framebuffer → Shader program: owns
- Framebuffer → Vertex array: owns
- Framebuffer → Texture: owns
- Framebuffer → Renderbuffer: owns
- Framebuffer → GPU buffers: references
- Vertex array → GPU buffers: uses
- Transform → Component base: inherits
- Static mesh → Component base: inherits