# hhkit/idk architecture

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

- Interactive diagram: https://gitdiagram.com/hhkit/idk
- Repository: https://github.com/hhkit/idk

## Overview

IDK (Ivan’s Development Kit) appears to be a game-development kit with a native runtime, editor, asset compiler, graphics backends, and a C# scripting/networking wrapper. A plausible user workflow is authoring or importing assets and scenes, then running gameplay through scripts and engine systems with rendered output. The README only names the kit, so capabilities and flow are inferred cautiously from the tree. The available excerpts and source index establish only some connections; unsampled subsystems are shown without guessed call paths.

Main entry points: [`idk/projects/wrapper/Electron/ElectronNetwork.cs`](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Electron/ElectronNetwork.cs) (Electron networking), [`idk/dep/include/steam/steam_api_common.h`](https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/steam_api_common.h) (Steam API common), [`idk/projects/wrapper/Behavior/MonoBehavior.cs`](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Behavior/MonoBehavior.cs) (C# behaviors), [`idk/dep/include/glslang/MachineIndependent/ParseHelper.h`](https://github.com/hhkit/idk/blob/master/idk/dep/include/glslang/MachineIndependent/ParseHelper.h) (GLSL parsing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Engine runtime"]
  node_scene["Scene management<br/>[SceneManager.cpp]"]
  node_resources["Resource management"]
  node_project["Project management<br/>[ProjectManager.cpp]"]
  node_physics["Collision simulation"]
  node_events["Network events<br/>[EventManager.cpp]"]
end

subgraph group_authoring["Editor and assets"]
  node_editor["Editor<br/>[IDE.cpp]"]
  node_compiler["Asset compiler<br/>[CompilerCore.cpp]"]
  node_assimp_import["Model importing<br/>[AssimpImporter.cpp]"]
  node_texture_compiler["Texture compilation"]
end

subgraph group_graphics["Graphics"]
  node_vulkan_manager["Vulkan pipelines"]
  node_vulkan_pipeline["Vulkan pipeline<br/>[VulkanPipeline.cpp]"]
  node_gl_pipeline["OpenGL pipeline"]
end

subgraph group_managed["Scripting and networking"]
  node_managed_behavior["C&#35; behaviors<br/>[MonoBehavior.cs]"]
  node_bindings["Native bindings<br/>[Bindings.cs]"]
  node_game_object["Game objects<br/>[GameObject.cs]"]
  node_electron_network["Electron networking<br/>[ElectronNetwork.cs]"]
  node_client["Network client<br/>[Client.cs]"]
  node_wrapper_vector["Vector math<br/>[Vector3.cs]"]
  node_wrapper_quaternion["Quaternion math<br/>[Quaternion.cs]"]
end

subgraph group_thirdparty["Bundled interfaces"]
  node_glsl_parser["GLSL parsing<br/>[ParseHelper.h]"]
  node_glsl_symbols["GLSL symbols<br/>[SymbolTable.h]"]
  node_glsl_ir["GLSL intermediate"]
  node_spirv_cross["SPIR-V cross tools<br/>[spirv_common.hpp]"]
  node_steam_input["Steam input API<br/>[isteaminput.h]"]
  node_steam_common["Steam API common<br/>[steam_api_common.h]"]
  node_steam_types["Steam types<br/>[steamtypes.h]"]
  node_steam_public["Steam client types"]
end

node_developer(("Developer"))

node_developer -.->|"authors in"| node_editor
node_glsl_parser -->|"uses symbols"| node_glsl_symbols
node_glsl_parser -->|"builds intermediate"| node_glsl_ir
node_steam_input -->|"uses API types"| node_steam_common
node_steam_common -->|"imports types"| node_steam_types
node_steam_common -->|"imports client types"| node_steam_public
node_vulkan_manager -->|"creates pipeline"| node_vulkan_pipeline
node_managed_behavior -->|"calls bindings"| node_bindings
node_electron_network -->|"calls bindings"| node_bindings
node_electron_network -->|"uses client"| node_client
node_electron_network -->|"creates objects"| node_game_object
node_electron_network -->|"uses positions"| node_wrapper_vector
node_electron_network -->|"uses rotations"| node_wrapper_quaternion
node_managed_behavior -->|"inherits component"| node_game_object

click node_editor "https://github.com/hhkit/idk/blob/master/idk/projects/editor/IDE.cpp"
click node_scene "https://github.com/hhkit/idk/blob/master/idk/projects/idk/scene/SceneManager.cpp"
click node_resources "https://github.com/hhkit/idk/blob/master/idk/projects/idk/res/ResourceManager.cpp"
click node_project "https://github.com/hhkit/idk/blob/master/idk/projects/idk/proj/ProjectManager.cpp"
click node_physics "https://github.com/hhkit/idk/blob/master/idk/projects/idk/phys/CollisionManager.cpp"
click node_events "https://github.com/hhkit/idk/blob/master/idk/projects/idk/network/EventManager.cpp"
click node_compiler "https://github.com/hhkit/idk/blob/master/idk/projects/asset_compiler/CompilerCore.cpp"
click node_assimp_import "https://github.com/hhkit/idk/blob/master/idk/projects/editor/loading/AssimpImporter.cpp"
click node_texture_compiler "https://github.com/hhkit/idk/blob/master/idk/projects/asset_compiler/TextureCompiler.cpp"
click node_vulkan_manager "https://github.com/hhkit/idk/blob/master/idk/projects/vkn/PipelineManager.cpp"
click node_vulkan_pipeline "https://github.com/hhkit/idk/blob/master/idk/projects/vkn/VulkanPipeline.cpp"
click node_gl_pipeline "https://github.com/hhkit/idk/blob/master/idk/projects/opengl/program/PipelineProgram.cpp"
click node_managed_behavior "https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Behavior/MonoBehavior.cs"
click node_bindings "https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Core/Bindings.cs"
click node_game_object "https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Core/GameObject.cs"
click node_electron_network "https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Electron/ElectronNetwork.cs"
click node_client "https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Electron/Client.cs"
click node_wrapper_vector "https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Math/Vector3.cs"
click node_wrapper_quaternion "https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Math/Quaternion.cs"
click node_glsl_parser "https://github.com/hhkit/idk/blob/master/idk/dep/include/glslang/MachineIndependent/ParseHelper.h"
click node_glsl_symbols "https://github.com/hhkit/idk/blob/master/idk/dep/include/glslang/MachineIndependent/SymbolTable.h"
click node_glsl_ir "https://github.com/hhkit/idk/blob/master/idk/dep/include/glslang/MachineIndependent/localintermediate.h"
click node_spirv_cross "https://github.com/hhkit/idk/blob/master/idk/dep/include/spirv_cross/spirv_common.hpp"
click node_steam_input "https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/isteaminput.h"
click node_steam_common "https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/steam_api_common.h"
click node_steam_types "https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/steamtypes.h"
click node_steam_public "https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/steamclientpublic.h"

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_scene,node_resources,node_project,node_physics,node_events toneBlue
class node_editor,node_compiler,node_assimp_import,node_texture_compiler toneAmber
class node_vulkan_manager,node_vulkan_pipeline,node_gl_pipeline toneMint
class node_managed_behavior,node_bindings,node_game_object,node_electron_network,node_client,node_wrapper_vector,node_wrapper_quaternion toneRose
class node_glsl_parser,node_glsl_symbols,node_glsl_ir,node_spirv_cross,node_steam_input,node_steam_common,node_steam_types,node_steam_public,node_developer toneIndigo
```

## Components

### Engine runtime

- [Scene management](https://github.com/hhkit/idk/blob/master/idk/projects/idk/scene/SceneManager.cpp): `idk/projects/idk/scene/SceneManager.cpp`
- [Resource management](https://github.com/hhkit/idk/blob/master/idk/projects/idk/res/ResourceManager.cpp): `idk/projects/idk/res/ResourceManager.cpp`
- [Project management](https://github.com/hhkit/idk/blob/master/idk/projects/idk/proj/ProjectManager.cpp): `idk/projects/idk/proj/ProjectManager.cpp`
- [Collision simulation](https://github.com/hhkit/idk/blob/master/idk/projects/idk/phys/CollisionManager.cpp): `idk/projects/idk/phys/CollisionManager.cpp`
- [Network events](https://github.com/hhkit/idk/blob/master/idk/projects/idk/network/EventManager.cpp): `idk/projects/idk/network/EventManager.cpp`

### Editor and assets

- [Editor](https://github.com/hhkit/idk/blob/master/idk/projects/editor/IDE.cpp): `idk/projects/editor/IDE.cpp`
- [Asset compiler](https://github.com/hhkit/idk/blob/master/idk/projects/asset_compiler/CompilerCore.cpp): `idk/projects/asset_compiler/CompilerCore.cpp`
- [Model importing](https://github.com/hhkit/idk/blob/master/idk/projects/editor/loading/AssimpImporter.cpp): `idk/projects/editor/loading/AssimpImporter.cpp`
- [Texture compilation](https://github.com/hhkit/idk/blob/master/idk/projects/asset_compiler/TextureCompiler.cpp): `idk/projects/asset_compiler/TextureCompiler.cpp`

### Graphics

- [Vulkan pipelines](https://github.com/hhkit/idk/blob/master/idk/projects/vkn/PipelineManager.cpp): `idk/projects/vkn/PipelineManager.cpp`
- [Vulkan pipeline](https://github.com/hhkit/idk/blob/master/idk/projects/vkn/VulkanPipeline.cpp): `idk/projects/vkn/VulkanPipeline.cpp`
- [OpenGL pipeline](https://github.com/hhkit/idk/blob/master/idk/projects/opengl/program/PipelineProgram.cpp): `idk/projects/opengl/program/PipelineProgram.cpp`

### Scripting and networking

- [C# behaviors](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Behavior/MonoBehavior.cs): `idk/projects/wrapper/Behavior/MonoBehavior.cs`
- [Native bindings](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Core/Bindings.cs): `idk/projects/wrapper/Core/Bindings.cs`
- [Game objects](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Core/GameObject.cs): `idk/projects/wrapper/Core/GameObject.cs`
- [Electron networking](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Electron/ElectronNetwork.cs): `idk/projects/wrapper/Electron/ElectronNetwork.cs`
- [Network client](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Electron/Client.cs): `idk/projects/wrapper/Electron/Client.cs`
- [Vector math](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Math/Vector3.cs): `idk/projects/wrapper/Math/Vector3.cs`
- [Quaternion math](https://github.com/hhkit/idk/blob/master/idk/projects/wrapper/Math/Quaternion.cs): `idk/projects/wrapper/Math/Quaternion.cs`

### Bundled interfaces

- [GLSL parsing](https://github.com/hhkit/idk/blob/master/idk/dep/include/glslang/MachineIndependent/ParseHelper.h): `idk/dep/include/glslang/MachineIndependent/ParseHelper.h`
- [GLSL symbols](https://github.com/hhkit/idk/blob/master/idk/dep/include/glslang/MachineIndependent/SymbolTable.h): `idk/dep/include/glslang/MachineIndependent/SymbolTable.h`
- [GLSL intermediate](https://github.com/hhkit/idk/blob/master/idk/dep/include/glslang/MachineIndependent/localintermediate.h): `idk/dep/include/glslang/MachineIndependent/localintermediate.h`
- [SPIR-V cross tools](https://github.com/hhkit/idk/blob/master/idk/dep/include/spirv_cross/spirv_common.hpp): `idk/dep/include/spirv_cross/spirv_common.hpp`
- [Steam input API](https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/isteaminput.h): `idk/dep/include/steam/isteaminput.h`
- [Steam API common](https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/steam_api_common.h): `idk/dep/include/steam/steam_api_common.h`
- [Steam types](https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/steamtypes.h): `idk/dep/include/steam/steamtypes.h`
- [Steam client types](https://github.com/hhkit/idk/blob/master/idk/dep/include/steam/steamclientpublic.h): `idk/dep/include/steam/steamclientpublic.h`

### Other components

- **Developer**

## Connections

- Developer → Editor: authors in
- GLSL parsing → GLSL symbols: uses symbols (evidence: `idk/dep/include/glslang/MachineIndependent/ParseHelper.h`)
- GLSL parsing → GLSL intermediate: builds intermediate (evidence: `idk/dep/include/glslang/MachineIndependent/ParseHelper.h`)
- Steam input API → Steam API common: uses API types (evidence: `idk/dep/include/steam/isteaminput.h`)
- Steam API common → Steam types: imports types (evidence: `idk/dep/include/steam/steam_api_common.h`)
- Steam API common → Steam client types: imports client types (evidence: `idk/dep/include/steam/steam_api_common.h`)
- Vulkan pipelines → Vulkan pipeline: creates pipeline (evidence: `idk/projects/vkn/PipelineManager.cpp`)
- C# behaviors → Native bindings: calls bindings (evidence: `idk/projects/wrapper/Behavior/MonoBehavior.cs`)
- Electron networking → Native bindings: calls bindings (evidence: `idk/projects/wrapper/Electron/ElectronNetwork.cs`)
- Electron networking → Network client: uses client (evidence: `idk/projects/wrapper/Electron/ElectronNetwork.cs`)
- Electron networking → Game objects: creates objects (evidence: `idk/projects/wrapper/Electron/ElectronNetwork.cs`)
- Electron networking → Vector math: uses positions (evidence: `idk/projects/wrapper/Electron/ElectronNetwork.cs`)
- Electron networking → Quaternion math: uses rotations (evidence: `idk/projects/wrapper/Electron/ElectronNetwork.cs`)
- C# behaviors → Game objects: inherits component (evidence: `idk/projects/wrapper/Behavior/MonoBehavior.cs`)
