|
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
|
Classes | |
| struct | DekiEditor::AssetData |
| What an asset's .data sidecar file holds: its GUID and its import settings as JSON, keyed by type name. More... | |
Namespaces | |
| namespace | DekiEditor |
Functions | |
| bool | DekiEditor::LoadAssetData (const std::string &path, AssetData &out) |
| Reads the .data file at path into out. | |
| bool | DekiEditor::SaveAssetData (const std::string &path, const AssetData &data) |
| Writes data to the .data file at path. Returns true on success. | |
| std::string | DekiEditor::GetAssetDataPath (const std::string &assetPath) |
| The sidecar path for an asset: "foo.png" gives "foo.png.data". | |
| std::string | DekiEditor::ReadAssetGuid (const std::string &assetPath) |
| The GUID from the asset's .data sidecar, or "" when there is none. | |
| std::string | DekiEditor::GetOrCreateAssetGuid (const std::string &assetPath) |
| The asset's GUID, creating the .data sidecar with a new GUID if needed. | |
| std::string | DekiEditor::SalvageAssetGuid (const std::string &dataPath) |
| Reads the GUID from the raw text of a sidecar that does not parse as JSON (a git merge conflict, a torn write). | |
| std::string | DekiEditor::GenerateDeterministicGuid (const std::string &seed) |
| A GUID that is always the same for the same seed. | |
| std::string | DekiEditor::BakedFontGuid (const std::string &sourceGuid, int fontSize, bool bdf) |
| The GUID of a font's baked form, as deki-2d bakes it (FontSyncHandler): a TrueType font has one per size ("source:size"), a BDF font one whatever the size ("source:bdf"). | |
| std::string | DekiEditor::BakedFontAtlasGuid (const std::string &sourceGuid, int fontSize, bool bdf) |
| The GUID of the atlas of the baked form BakedFontGuid names. | |
| std::string | DekiEditor::GenerateGuid () |
| A new random GUID. | |