VKVG  
Vulkan Vector Graphics
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

◆ vkvg_surface_create_for_VkhImage()

VkvgSurface vkvg_surface_create_for_VkhImage ( VkvgDevice  dev,
void *  vkhImg 
)
Parameters
devThe vkvg device used for creating the surface.
vkhImgThe VkhImage to use as the backend texture for drawing operations.
Returns
A new surface, or null if an error occured.