How ahwootech/brutal works
BRUTAL is a low-level C# game and engine framework, not a complete engine. Its principal workflow is that a game developer selects libraries, initializes a platform window, and adds optional systems such as UI, rendering, jobs, audio, physics, and asset loading. The graph emphasizes capabilities present in the supplied tree and documented composition; unsampled or absent implementations are not inferred.
Main entry points: ImGui.gen.cs Dear ImGui · NativeList.cs Native collections · GlfwBackend.cs ImGui GLFW backend · VulkanBackend.cs ImGui Vulkan backend
Components 23
Core foundations
- Core types
Brutal.Core/Attributes.cs - Pointer helpers
Brutal.Core/Pointers/Ptr.cs - Memory management
Brutal.Memory/Mem.cs - Native collections
Brutal.Collections/NativeList/NativeList.cs - String handling
Brutal.Strings/Utf8Path.cs - Math and numerics
Brutal.Numerics/Matrix/double4x4/double4x4.numerics.gen.cs
Runtime systems
- Job scheduling
Brutal.Concurrency/Jobs/JobScheduler.cs - Logging
Brutal.Logging/LogCategory.cs - Localization
Brutal.Localization/LString.Format.gen.cs
Platform and graphics
- Window and input
Brutal.Glfw/Glfw.cs - Dear ImGui
Brutal.ImGui/Generated-Internal/Functions/ImGui.gen.cs - ImGui GLFW backend
Brutal.ImGui.Backends/PlatformBackends/GlfwBackend.cs - ImGui Vulkan backend
Brutal.ImGui.Backends/RendererBackends/VulkanBackend.cs
Assets and content
- glTF loading
Brutal.Gltf/GltfApi/GltfUtility.cs - Image decoding
Brutal.Stb/Stb.cs - Texture formats
Brutal.Texture/TextureFormat.cs - Mesh utilities
Brutal.Render.Mesh/ProcGenMesh.cs
Native integrations
- OpenGL bindings
Brutal.OpenGl/Loader.gen.cs - 2D physics
Brutal.Box2D/Structs.gen.cs - FMOD audio
Brutal.Fmod/FmodCoreApi/Manual/Fmod.cs - Runtime monitoring
Brutal.Monitor.Host/Monitor.cs - Vulkan API
Brutal.Vulkan.Abstractions/Classes/DeviceEx.cs
Other components
- Game developer
Connections 15
- Game developer → Window and input: initializes window
README.md - Game developer → Job scheduling: adds parallelism
README.md - Game developer → Dear ImGui: adds debug UI
README.md - Game developer → FMOD audio: adds audio
README.md - ImGui GLFW backend → Window and input: handles platform input
Brutal.ImGui.Backends/PlatformBackends/GlfwBackend.cs - ImGui GLFW backend → Dear ImGui: feeds UI events
Brutal.ImGui.Backends/PlatformBackends/GlfwBackend.cs - ImGui Vulkan backend → Dear ImGui: renders UI
Brutal.ImGui.Backends/RendererBackends/VulkanBackend.cs - ImGui Vulkan backend → Vulkan API: uses graphics API · Inferred; not shown in the code that was read.
Brutal.ImGui.Backends/RendererBackends/VulkanBackend.cs - Native collections → Memory management: copies and frees
Brutal.Collections/NativeList/NativeList.cs - Native collections → Pointer helpers: uses pointers
Brutal.Collections/NativeList/NativeList.cs - glTF loading → Image decoding: references images
Brutal.Gltf/GltfApi/GltfUtility.cs - Game developer → OpenGL bindings: selects graphics bindings
README.md - Game developer → 2D physics: selects 2D physics
README.md - Game developer → glTF loading: loads assets
README.md - Game developer → Runtime monitoring: adds monitoring
README.md