Add missing documentation for the asset cache.

Also improve `compile` sample timing logic and documentation.

PiperOrigin-RevId: 852855741
Change-Id: I9b2798208198ca68cf4cee9c968772954ada91c5
This commit is contained in:
Yuval Tassa
2026-01-06 11:06:28 -08:00
committed by Copybara-Service
parent 4a21b0ee01
commit 4830f5a79e
5 changed files with 73 additions and 20 deletions
+1 -2
View File
@@ -25,8 +25,7 @@ Add file to VFS. The directory argument is optional and can be NULL or empty. Re
*Nullable:* ``directory``
.. Assetcache:
.. _Assetcache:
The asset cache is a mechanism for caching assets (e.g. textures, meshes, etc.) to avoid repeated slow recompilation.
The following methods provide way to control the capacity of the cache or to disable it altogether.