← Back to Engine & Tech

LinaGX

Creator & Maintainer-Open-Source-DX12 · Vulkan · Metal · 67★
C++DirectX 12VulkanMetalSPIR-V / DXC / MSLRHI

Cross-platform low-level C++ rendering hardware interface unifying DirectX 12, Vulkan, and Metal with shader cross-compilation, reflection, and explicit GPU synchronization.

Real-time PBR atmospheric scene rendered via LinaGX across modern low-level graphics APIs.
Real-time PBR atmospheric scene rendered via LinaGX across modern low-level graphics APIs.

Overview

LinaGX is a standalone, cross-platform C++ graphics abstraction library exposing DirectX 12, Vulkan, and Metal behind a clean, unified low-level interface without hiding explicit performance control.

Originally developed to power Lina Engine and later decoupled for independent use, LinaGX manages device queues, command streams, swapchains, frames-in-flight synchronization, descriptor/pipeline layouts, and cross-platform window and input integration.

Its shader pipeline automates cross-compilation and reflection across SPIR-V, DXC, and Metal Shading Language (MSL), allowing engine developers to write shaders once and bind resources predictably across Windows and macOS.

Engineering Highlights

Unified Explicit RHI

Single low-level C++ abstraction targeting DirectX 12, Vulkan, and Metal with explicit command recording, barriers, and queue submission.

Shader Cross-Compilation & Reflection

Integrated shader compilation pipeline targeting SPIR-V, DXIL/DXC, and MSL with automated reflection for descriptor layouts and bindings.

Frames-in-Flight & Resource Lifecycle

Explicit swapchain management, multi-buffered frame synchronization, staging transfers, and GPU resource allocation.

Standalone & Modular

Decoupled from any specific engine architecture so it can serve as a foundation for custom engines, renderers, or graphics experiments.

Gallery