diff options
author | Jeroen Bakker <jbakker> | 2021-11-24 10:20:18 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-11-24 10:21:40 +0300 |
commit | dbeab82a89c4979b7e9e62e740938546394eca3e (patch) | |
tree | 63a168d16a825ed7f0b381367e10e4f128ca640d /source/blender/imbuf | |
parent | 16fc0da0e7d8286f17ba254213c6ba8c5a336f3a (diff) |
T91406: Asset Library Indexing
Asset library indexing would store indexes of asset files to speed up
asset library browsing.
* Indexes are read when they are up to date
** Index should exist
** Index last modify data should be later than the file it indexes
** Index version should match
* The index of a file containing no assets can be load without opening
the index file. The size of the file should be below a 32 bytes.
* Indexes are stored on a persistent cache folder.
* Unused index files are automatically removed.
The structure of the index files contains all data needed for browsing assets:
```
{
"version": <file version number>,
"entries": [{
"name": "<asset name>",
"catalog_id": "<catalog_id>",
"catalog_name": "<catalog_name>",
"description": "<description>",
"author": "<author>",
"tags": ["<tag>"]
}]
}
```
Reviewed By: sybren, Severin
Maniphest Tasks: T91406
Differential Revision: https://developer.blender.org/D12693
Diffstat (limited to 'source/blender/imbuf')
0 files changed, 0 insertions, 0 deletions