VKVG  
Vulkan Vector Graphics

◆ vkvg_surface_clear()

void vkvg_surface_clear ( VkvgSurface  surf)

Clear the surface content, alpha is also set to 0 resulting in a transparent image. The clipping region is also reset.

Remarks
Internaly, the vulkan method used to clear the surface is the slowest, prefer using the vkvg_clear function of the context that will try to use the render pass load operations when possible.
Parameters
Thesurface to clear.