DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
 CDeki::AllocContextWho asked for an allocation, filled in by the compiler
 CDekiEditor::EditorHttpUtils::ArchiveLinkA symbolic link in an archive: its entry name and the path it points to, as the archive stores them
 CDekiEditor::AssetCacheContextEverything a cache handler needs to write the cache files for one asset
 CDekiEditor::AssetDataWhat an asset's .data sidecar file holds: its GUID and its import settings as JSON, keyed by type name
 CDekiEditor::AssetDatabaseStatic asset import and GUID lookup for editor tools, like Unity's AssetDatabase
 CDekiEditor::AssetExportContextWhat an asset export encoder is given
 CDekiEditor::AssetExportTargetThe target an asset is stored for: a platform and its screen's format
 CDekiEditor::AssetFileWatcherOS file watcher that feeds AssetPipeline::Tick()
 CDeki::LoadedPack::AssetInfoOne asset in a loaded pack: its bytes and type name
 CDekiEditor::AssetInfoA discovered asset
 CDeki::AssetLookupTableMaps "path:type" keys to asset GUIDs with a binary search and no heap allocation
 CDeki::AssetManagerLoads, caches and frees assets, by path or GUID
 CDeki::AssetPackReaderFinds which pack file holds an asset and loads pack files into memory
 CDekiEditor::AssetPickerAsset picker popup
 CDekiEditor::AssetPickerEntryOne row in the asset picker: an asset, or a frame of a spritesheet
 CDekiEditor::AssetPipelineThe asset import pipeline, like Unity's: finds assets, gives them GUIDs and compiles them into the cache
 CDeki::AssetRefBaseThe untyped part of AssetRef, so the asset system can reach guid and ptr without knowing T
  CDeki::AssetRef< T >Typed asset reference: use it like a T*
 CDekiEditor::AssetTypeEditorRegistryThe registered AssetTypeEditors, looked up by type name
 CDekiEditor::AssetTypeHandlerHow the editor creates, compiles and inspects one asset type
 CDekiEditor::AssetTypeRegistryThe asset types and file extension categories the editor knows
 CDekiEditor::AtlasFrameOne frame in atlas mode
 CDeki::AutoSetupRegistrar< T, Phase >Registers an auto SetupComponent from a static initializer
 CDekiEditor::EditorTexture::BackendWhat the editor draws textures with
 CDeki::Buffer< T >Owning array of T, freed when it goes out of scope
 CDekiEditor::BuilderDefinitionA build backend's toolchain definition, parsed from JSON
 CDekiEditor::BuilderRegistryThe available firmware builders: the backends packages and plugins contribute, plus builder DLL plugins loaded from ~/.deki-editor/builders/
 CDekiEditor::BuildOptionsOptions a build backend takes: logging, and whether to build for the simulator
 CDekiEditor::BuildProgressState, status text and progress of a running build
 CDekiEditor::BuildStripSettingsA project's choices for stripping unused features and packages from device builds
 CDekiEditor::ChromaKeySettingsOptional chroma-key transparency for a texture
 CDekiEditor::CliToolContextWhat a package's CLI tool may use of the running editor
 CDeki::ColorAn RGBA colour, 8 bits per channel, with conversions to and from packed formats (RGB565, RGB888, ARGB8888, RGBA8888), floats and HSV
 CDekiEditor::CommandAn undoable edit
  CDekiEditor::CompoundCommandSeveral commands undone and redone as one
 CDekiEditor::CommandHistoryThe undo/redo history. Commands that arrive close together can merge
 CDeki::ComponentThe base class of every component
  CDeki::CoreProjectSettingsThe Core section of the project settings: FPS cap and target frame rate
  CDeki::PlatformSetupComponentRuns the boot scene's SetupComponents (such as SDCardComponent) one at a time, in order, waiting for each to finish, then loads the startup scene
  CDeki::ScreenAnchorKeeps its object at a point on the screen, such as the top-left corner, on every screen size and while the camera moves
  CDeki::SetupComponentBase class for components that need asynchronous setup at boot
  CDeki::UnitProjectSettingsThe Units section of the project settings: inspector units and world scale
 CDekiEditor::ComponentDefOne toolchain component: where it installs, how it is detected and updated
 CDeki::ComponentFactoryCreates components by type id and tells which class an id belongs to
 CDeki::ComponentMetaComponent metadata for runtime reflection
 CDeki::ComponentRegistryComponent metadata and field tables, by type id and, in the editor, by name
 CDeki::ComponentsMigrationRegistrarRegisters a components migration on construction and removes it on destruction
 CDeki::ComponentTypeInfoEverything the engine knows about one component class
 CDekiEditor::ComponentUsageWhich component types a project uses, and where each one was seen
 CDekiEditor::CreateMenuEntryAn item in the hierarchy's right-click "Create Object" menu, registered by a package
 CDekiEditor::CreateMenuRegistryThe items packages add to the hierarchy's "Create Object" menu
 CDekiEditor::CustomEditorRegistryCreates and caches the CustomEditor for each component
 CDekiEditor::DeadMemoryMemory that is about to be freed, described as byte ranges
 CDekiEditor::DecodedImageDecoded image, RGBA8 packed (4 bytes per pixel)
 CDekiEditor::DeployTargetOne thing a build can be deployed to, as the backend enumerates them
 CDekiEditor::DeviceProfile
 CDekiEditor::DeviceProfileRowOne line of the report. Its values are per frame
 CDekiEditor::DialogButtonSpecOne button of SchematicDialogButtons: label, kind and whether it is enabled
 CDeki::ProjectSettings::DisplaySettingsDisplay section of project_data.bin, after the FileHeader
 CDekiEditor::DownloadProgressState and progress of a toolchain download
 CDeki::DPackEntryOne asset in a pack file's table: GUID, type name, offset and size
 CDeki::DPackHeaderHeader at the start of a pack file
 CDekiEditor::EditorUI::EditCallbacksBytesEdit callbacks a WidgetBackend calls, with the values as raw bytes
 CDekiEditor::EditorApplicationThe editor's state as seen by EditorWindow and CustomEditor code, like Unity's static editor access: auto& app = EditorApplication::Get(); const char* projectPath = app.GetProjectPath(); Deki::Object* selected = app.GetActiveObject();
 CDekiEditor::EditorAssetsLoads assets onto the GPU for the editor, cached by GUID: uint32_t texId = EditorAssets::Get()->LoadTexture(guid, &w, &h); Deki2D::BitmapFont* font = EditorAssets::Get()->GetBitmapFont(bakedGuid);
 CDekiEditor::EditorExtensionBase class of what packages add to the editor: custom editors, asset types, tools
  CDekiEditor::AssetTypeEditorAn asset type a package adds: its file extensions, compile step and inspector UI
  CDekiEditor::CliToolA tool a package adds to the editor's command line and MCP server
  CDekiEditor::CustomEditorCustom editor for one component type, like Unity's CustomEditor: it can replace the component's Inspector UI and tell the scene view its size
  CDekiEditor::FileInspectorInspector for a native file type such as .ttf or .png
 CDekiEditor::EditorHttpUtilsHTTP and archive helpers for the whole editor
 CDekiEditor::EditorPathsWhere the editor keeps its files
 CDekiEditor::EditorSettingsThe editor's own settings, saved per user
 CDekiEditor::EditorUIThe editor's UI controls and inspector drawing, for CustomEditor code: auto& ui = EditorUI::Get(); ui.DrawDefaultInspector(); ui.PropertyField("speed");
 CDekiEditor::EditorWindowBase class for standalone editor windows
 CDekiEditor::EditorWindowMetaA registered editor window: its title, menu path and factory
 CDeki::EngineEngine singleton: owns the scene system, lifecycle and frame loop
 CDeki::EngineHostHow the engine is hosted
 CDeki::EngineSettingsEngine settings, loaded from the project config
 CDekiEditor::EditorUI::EnumCallbacksChange, undo and redo callbacks of an enum field or integer slider
 CDekiEditor::AssetFileWatcher::EventOne file change under a watched folder
 CDekiEditor::CMakeGen::ExecutableCMakeOptionsWhat a build backend chooses for a game built as one ordinary executable
 CDekiEditor::CMakeGen::ExecutableLibraryA third-party library the executable links, as CMake text the backend writes: the backend resolved it (a prebuilt archive, a source checkout), so only it knows how it is found
 CDekiEditor::FallbackDefThe pinned version and URL a toolchain component installs from
 CDekiEditor::FeatureDecisionWhether one package feature stays in a build, and why
 CDekiEditor::CMakeGen::FeatureEntryOne entry of a package's "features": a compile definition the package brings, the component types it provides, and whether it may be left out
 CDeki::FieldRefCompact field descriptor, the one piece of reflection on every platform
 CDeki::FileImage::FileOne file to pack: its name in the image and its bytes
 CDeki::ProjectSettings::FileHeaderHeader at the start of project_data.bin
 CDeki::FileImageRead-only pack of a game's files in one block of bytes, used where it lies
 CDekiEditor::FileInspectorRegistryThe registered FileInspectors, looked up by file extension
 CDeki::FileSystemHolds the process-wide filesystems
 CDekiEditor::EditorUI::FloatCallbacksChange, undo and redo callbacks of a float field
 CDeki::FPSCounterMeasures the frame rate the engine reaches, averaged over recent frames
 CDeki::Engine::FrameTimingsHow long the parts of a frame took, in milliseconds of the engine's clock: update (input, lifecycle, update callbacks), render and present
 CDekiEditor::CMakeGen::FrameworkDependencyOne thing a package needs from a build framework, from package.json: "dependencies": { "<framework id>": [ "bare-name", { "name": "...", ... } ] }
 CDekiEditor::GuidCacheMaps asset paths to GUIDs, read from the .data sidecar files and cached in a JSON file
 CDeki::Texture2D::HeaderHeader of a texture file. The file is [Header][pixel data][metadata]
 CDekiEditor::IAssetImporterBase interface for asset importers
  CDekiEditor::TextureImporterImports images into the texture cache, and reads and writes TEX files
 CDekiEditor::IBuildActivitySinkWhere a build backend reports long-running work
 CDeki::ICameraCamera interface for coordinate conversion
 CDeki::IClipProviderInterface of a component whose clip rectangle the 2D renderer applies while drawing it
 CDeki::IDisplayWhat a display package implements: setup, presenting frames, events and UI overlays
 CDeki::IFileSystemWhat a filesystem package implements: file operations, path conversion and USB storage mode
  CDeki::HostFileSystemThe file system of a game that runs as a program on an operating system
 CDeki::IInputSystemThe input system as the engine sees it, so it need not link to the implementation in the input package DLL
 CDeki::IMemoryProviderThe platform's memory, as the engine sees it, so the engine has no platform-specific allocation code: a microcontroller with external RAM uses its SDK's capability allocator, a part without it or a desktop uses malloc
  CDeki::HostMemoryProviderMemory provider over the C heap (malloc/free), for any host with a normal C library heap: the editor, desktop and simulator builds, tests
 CDekiEditor::ImportResultOutcome of an asset import: success or error, and the cache file written
 CDekiEditor::EditorUI::IntCallbacksChange, undo and redo callbacks of an integer field
 CDeki::IPackageWhat a hardware peripheral package (SD card, GPS, WiFi, ...) implements
 CDekiEditor::IPlatformEditorUIA builder's own settings UI in the platform editor
 CDeki::IPowerDevice power management (sleep and wake)
 CDeki::IRenderSystemThe render system as the engine sees it, so it need not link to the implementation in the rendering package DLL
 CDeki::ISortableProviderInterface of a component whose object the 2D renderer sorts by GetSortingOrder()
 CDekiEditor::ITargetBuilderA build backend: everything the editor knows about one kind of target
  CDekiEditor::FirmwareBuilderBaseShared base of build backends: build thread, progress and toolchain handling
 CDeki::ITimeProviderThe platform's millisecond clock, such as SDL_GetTicks() on SDL3 or esp_timer_get_time() / 1000 on ESP32
 CDekiEditor::Localization::LanguageA language the editor offers: its code and its name in that language
 CDeki::LoadedPackA pack file loaded into memory
 CDeki::LogSystemBackend of the DEKI_LOG macros, with a callback for the editor console
 CDeki::Mat44x4 matrix in the layout OpenGL/GLSL expect: column-major, m[col][row]
 CDeki::MemoryThe engine's memory, in named regions
 CDeki::MemorySiteOne place in the code that allocates through the engine, and what it holds
 CDeki::MemoryStatsBytes allocated through the engine right now, in total and by memory region
 CDekiEditor::NodeCanvasImmediate-mode node-graph widget with pan, zoom, nodes, pins and links
 CDekiEditor::NodeCanvasEventsWhat happened this frame. Every field is false or zero unless its event fired
 CDekiEditor::NodeCanvasLinkOne link to draw, by node ids and pin indices
 CDekiEditor::NodeCanvasNodeOne node to draw. Pin labels are for display; events report pin indices
 CDekiEditor::NodeCanvasPaletteCanvas colours, packed as EditorUI::Rgba does: a<<24 | b<<16 | g<<8 | r
 CDeki::NodeRefReference from one node-graph node to another in the same graph, by its id
 CDeki::ObjectA node in the scene: a name, components, children and, in most builds, a transform
 CDeki::ObjectRefBaseThe type-erased part of ObjectRef, which the engine uses
  CDeki::ObjectRef< T >An object reference the user assigns in the editor
 CDeki::PackageConfigRuntime configuration of one hardware package on a board: pin assignments (GPIO numbers) and string settings, loaded from the platform JSON
 CDekiEditor::PackageDecisionWhether one package stays in a build, and why
 CDekiEditor::EditorSettings::PackageDepInfoAn external dependency listed in a package.json file
 CDeki::PackIndexEntryOne pack_index.bin entry: which pack file holds an asset
 CDekiEditor::PickerItemOne entry in a SchematicPicker list
 CDekiEditor::PlatformConfigWhat the editor knows about a platform: its identity, the framework whose backend builds for it, that backend's settings (carried, not interpreted), its screen, compiler flags, what it offers packages and what it needs from them, and the scene it boots
 CDekiEditor::PlatformOriginStatusWhere an adopted platform came from and how it differs from that source
 CDekiEditor::PlatformRegistryThe available platforms, all loaded from JSON: the project's own, those its packages offer, and board packs
 CDekiEditor::PlatformSyncResultResult of updating or restoring a platform from its package
 CDekiEditor::PlatformTemplateA platform a package offers a project, found in its platforms folder
 CDekiEditor::PostInstallDefThe setup command to run after installing a toolchain component, per host OS
 CDeki::PowerHolds the active power driver; GetCurrent() is nullptr when none is registered
 CDeki::PropertyBindingA resolved PropertyRef: where the field lives and what it is
 CDeki::PropertyInfoProperty metadata, one per component type and field
 CDeki::PropertyRefA picked field of a component on an object
 CDeki::RectA half-open pixel rectangle: right and bottom are excluded
 CDeki::Memory::RegionWhere an allocation lives
 CDekiEditor::Motion::RowHoverList rows that ImGui draws (tree nodes, selectables) with a fading highlight
 CDeki::ProjectSettings::RuntimeSettingsRuntime section of project_data.bin: target frame rate and startup scene
 CDeki::SceneA scene: objects with components, and Deki's basic unit of content
 CDeki::SceneFormat::SceneMsgPackParserMessagePack parser for compiled scene files, made for embedded targets: it allocates nothing and its recursion depth is capped (kMaxDepth)
 CDeki::SceneFormat::SceneMsgPackWriterWrites a scene in the compiled MessagePack format (editor only)
 CDeki::SceneSystemLoads and owns the root scene, the scene that is running, and keeps the persistent objects that outlive scene changes
 CDekiEditor::SceneViewThe scene view's current render context, for gizmo code to read:
 CDekiEditor::SceneViewContextEverything BeginObject() needs to set up an object's gizmo context
 CDekiEditor::Localization::ScopedPackageWhile it lives, Tr and TrLabel look in package's own table first, so text a package's class shows (its component, property and enum names) reads as that package translates it even when the editor or another package translates the same English word differently: deki-fsm's "Add" (an arithmetic operation) is not the editor's "Add" button
 CDeki::SettingsRegistryRegistry of project-settings types, which packages can add to
 CDeki::SettingsTypeInfoOne registered project-settings type and its live instance
 CDekiEditor::ShaderCompilerTranslates HLSL shaders to the GLSL an OpenGL device runs, through Slang
 CDekiEditor::ShaderCompileRequestOne shader stage to compile: HLSL source, entry point and defines
 CDekiEditor::ShaderStageTextOne stage, in both dialects
 CDeki::IPower::SleepInfoThe sleep mode a driver is in, with its platform name for diagnostics
 CDekiEditor::SpriteFrameDataA sprite frame's pixel rect within its texture, registered by frame GUID and used for rendering
 CDekiEditor::SpriteSettingsOptional sprite metadata baked into the texture file
 CDekiEditor::StripPlanWhat a device build keeps and strips: features, packages, defines and source files
 CDekiEditor::SubAssetInfoAn item inside a parent asset, such as a sprite frame or a LOD level
 CDekiEditor::SubComponentDefOne archive downloaded and unpacked as part of a toolchain component
 CDekiEditor::TargetCardInfoOne card's header
 CDekiEditor::TargetContentConflictA component this target's own content uses, from a package this target cannot have
 CDekiEditor::TexDataA loaded TEX file
 CDekiEditor::TexHeaderTEX file header
 CDekiEditor::EditorUI::TextCallbacksChange, undo and redo callbacks of a text field
 CDeki::Texture2DAn image: width, height, format, pixels and its .dtex file header
 CDekiEditor::TextureSettingsAn image's storage and filter settings, with per-target overrides
 CDekiEditor::TextureTargetSettingsOne target's own values
 CDeki::TimeThe engine's clock, independent of the platform
 CDekiEditor::ToolchainComponentOne toolchain component as the Build panel shows it: status, versions and actions
 CDekiEditor::ToolchainComponentManagerManages a builder's toolchain components as its BuilderDefinition describes them: detects them, downloads and installs them, and checks for updates
 CDekiEditor::ToolchainVersionInfoResult of checking a toolchain for a newer version
 CDekiEditor::EditorUI::VecCallbacksChange, undo and redo callbacks of a vector field, with values as float arrays
 CDeki::Vector< T >Growable array of T whose growth can fail
 CDeki::Vector22D vector for positions, directions and scales
 CDeki::Vector33D vector for positions, directions, scales and rotations
 CDekiEditor::VersionCheckDefHow to find a toolchain component's latest version: a GitHub release or a fixed one
 CDekiEditor::EditorUI::WidgetBackendThe ImGui widget implementations, installed once by the editor executable