VKVG  
Vulkan Vector Graphics

◆ vkvg_clear()

void vkvg_clear ( VkvgContext  ctx)

Clear surface currently bound to the context. Color and clipping are reset to 0. New surfaces are automatically cleared when bound for the first time to a context by calling vkvg_create().

Remarks
To clear a surface not bound to a context, call vkvg_surface_clear().
Parameters
ctxa valid vkvg Context