A C++ 3D/2D game engine built on SDL3 GPU. Strict ECS architecture. Cross-platform via SDL3: Windows, Linux, macOS.
Early stage. Focus is on the technical foundation, not user-facing tooling.
XOR Engine is designed around two ideas: raw performance and low-level access without friction.
You can use it as a conventional engine — compose a scene, attach components, run systems. Or you can go deeper: replace the entire render pipeline, write custom passes, manage your own GPU buffers. The abstraction layer gets out of your way when you need it to.
There is no scripting layer. Game logic is written in plain C++ using engine systems.
- Strict ECS — all game objects, logic, and state live in entities, components, and systems
- SDL3 GPU backend — cross-platform Vulkan/Metal/D3D12 via SDL3's GPU API
- Custom render pipeline — swap out or extend the default renderer; write your own passes and buffers from scratch
- GPU-driven rendering — custom GPU-driven passes supported out of the box
- Minimal memory overhead — near-zero abstraction cost on memory operations; direct control where it matters
- Library-first — integrate into your project by including the engine as a library; your game code stays in your own
gametranslation unit
- Scene editor
- Physics
The repository already includes a test scene in the game class — it's the author's sandbox for development. You can use it as a reference or modify it directly to build your own scene.
Requirements: CMake 3.x+, a C++20-capable compiler. SDL3 is fetched automatically via CMake.
git clone https://github.com/fghfthjtfj/SDL_Engine.git
cd SDL_Engine
cmake -B build
cmake --build buildNo license defined yet. All rights reserved.