Diligent Engine abstracts modern graphics APIs behind one front end and HLSL-centric shading for games and 3D apps.
Overview
Diligent Engine is a cross-platform graphics API abstraction layer and rendering framework. It targets Direct3D12, Vulkan, Metal, and WebGPU while still supporting Direct3D11, OpenGL, OpenGLES, and WebGL on older platforms.
Applications share one client-facing API and use HLSL as a common shading language, with backend-specific shader formats where needed. The design is modular so teams can depend only on core modules, tools, or higher-level rendering components such as GLTF loading and image-based lighting utilities.
Graphics features include automatic shader resource binding, multithreaded command recording, resource state management, ray tracing, mesh shaders, and JSON-based render state notation with an offline packaging tool. Validation and error reporting are built in for development workflows.
Build instructions cover Windows, Linux, macOS, Android, iOS, Universal Windows Platform, and web targets using CMake. Compared to BGFX in project materials, Diligent emphasizes pipeline state objects, explicit resource transitions, descriptor-style binding, and multithreaded command lists aligned with newer APIs.
Key features
- Unified API across backends
- HLSL-centric shader workflow
- Modular core and tools
- Multithreaded command buffers
- Ray tracing and mesh shaders
- GLTF 2.0 loading utilities
- Render state notation tooling
- C, C++, and C# interfaces
Use cases
- Game engine graphics subsystem
- Interactive 3D simulation
- Cross-platform rendering
- Visualization applications
- Learning modern GPU APIs