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

◆ vkvg_surface_create_from_bitmap()

VkvgSurface vkvg_surface_create_from_bitmap ( VkvgDevice  dev,
unsigned char *  img,
uint32_t  width,
uint32_t  height 
)
Parameters
devThe vkvg device used for creating the surface.
imga pointer to a rgba encoded bimap
widththe width of the provided bitmap.
heightthe height of the provided bitmap.
Returns