VKVG  
Vulkan Vector Graphics

◆ vkvg_device_destroy()

void vkvg_device_destroy ( VkvgDevice  dev)

If device is reference by several active surfaces, calling destroy will only decrement the reference count by 1. When the reference count reach 0, the vkvg device is effectively destroyed, the device pointer is freed, and vulkan objects are released. Vkvg Devices has to stay active as long as surfaces created by it are used.

Parameters
devThe vkvg device to destroy.