VKVG  
Vulkan Vector Graphics
Loading...
Searching...
No Matches

◆ vkvg_device_set_context_cache_size()

void vkvg_device_set_context_cache_size ( VkvgDevice  dev,
uint32_t  maxCount 
)

The context cache stored destroyed contexts per thread to speed-up new context creation. To disable context cache, call this method with maxCount=0.

Parameters
devA valid vkvg device pointer.
maxCountThe maximum count of saved contexts for fast context instanciation.