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

◆ vkvg_surface_create()

VkvgSurface vkvg_surface_create ( VkvgDevice  dev,
uint32_t  width,
uint32_t  height 
)

This method will always return a valid pointer.

Parameters
devThe vkvg device used for creating the surface.
widthWidth in pixel of the surface to create.
heightHeight in pixel of the surface to create.
Returns
The new vkvg surface pointer, or null if an error occured.