 |
VulkanDeviceGetCachedObjectT Method |
GetCachedObject gets the object that was previously stored by the to
CacheObject(String, Object) method.
If the key is not found a default value of T (null for reference types) is returned.
This method is thread safe and can be called from any thread.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic T GetCachedObject<T>(
string key
)
Parameters
- key String
- key as sting
Type Parameters
- T
Return Value
TCached cached object or default value of T (null for reference types) when the key does not exist
See Also