 |
VulkanDevice.CacheObject Method |
CacheObject sets the specified objectToCache to the specified key in the dictionary used by this VulkanDevice.
The cached object can be retrieved by
GetCachedObject<T> (String) or removed by
RemoveCachedObject(String) method.
This method is thread safe and can be called from any thread.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void CacheObject(
string key,
Object? objectToCache
)
Parameters
- key String
- key as sting
- objectToCache Object
- object to store the specified key; when null the key is removed from the cache
See Also