cache_capacity

photonforge.cache.cache_capacity(capacity)

Set the runtime cache capacity.

Parameters:

capacity (int) – Set a new cache capacity. A negative value removes the capacity limit.

Return type:

None