# diligentgraphics/diligentengine architecture

> Architecture diagram of the GitHub repository diligentgraphics/diligentengine, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/diligentgraphics/diligentengine
- Repository: https://github.com/diligentgraphics/diligentengine

## Overview

Diligent Engine is a cross-platform graphics API abstraction and rendering framework. An application uses its common graphics interface, which targets platform graphics APIs; shared HLSL and platform shader formats support rendering across backends. The repository also contains Tools, FX, and Samples modules, but the available README excerpt and source index do not show their runtime interactions, so those are represented without inferred connections. Source evidence is limited to the root build file and README excerpt.

Main entry points: [`DiligentCore`](https://github.com/diligentgraphics/diligentengine/tree/master/DiligentCore) (Graphics abstraction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core["Graphics Core"]
  node_core_api["Graphics abstraction"]
  node_shader_formats["Shader formats"]
end

subgraph group_extensions["Framework Modules"]
  node_tools["Tools"]
  node_fx["FX framework"]
  node_samples["Samples"]
end

node_application(("Client application"))
node_graphics_apis["Graphics APIs"]

node_application -->|"uses common API"| node_core_api
node_core_api -->|"abstracts"| node_graphics_apis
node_core_api -->|"supports"| node_shader_formats

click node_core_api "https://github.com/diligentgraphics/diligentengine/tree/master/DiligentCore"
click node_shader_formats "https://github.com/diligentgraphics/diligentengine/tree/master/DiligentCore"
click node_tools "https://github.com/diligentgraphics/diligentengine/tree/master/DiligentTools"
click node_fx "https://github.com/diligentgraphics/diligentengine/tree/master/DiligentFX"
click node_samples "https://github.com/diligentgraphics/diligentengine/tree/master/DiligentSamples"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_core_api,node_shader_formats,node_application toneBlue
class node_tools,node_fx,node_samples toneAmber
class node_graphics_apis toneMint
```

## Components

### Graphics Core

- [Graphics abstraction](https://github.com/diligentgraphics/diligentengine/tree/master/DiligentCore): `DiligentCore`
- [Shader formats](https://github.com/diligentgraphics/diligentengine/tree/master/DiligentCore): `DiligentCore`

### Framework Modules

- [Tools](https://github.com/diligentgraphics/diligentengine/tree/master/DiligentTools): `DiligentTools`
- [FX framework](https://github.com/diligentgraphics/diligentengine/tree/master/DiligentFX): `DiligentFX`
- [Samples](https://github.com/diligentgraphics/diligentengine/tree/master/DiligentSamples): `DiligentSamples`

### Other components

- **Client application**
- **Graphics APIs**

## Connections

- Client application → Graphics abstraction: uses common API (evidence: `README.md`)
- Graphics abstraction → Graphics APIs: abstracts (evidence: `README.md`)
- Graphics abstraction → Shader formats: supports (evidence: `README.md`)
