|
VKVG
Vulkan Vector Graphics
|
vkvg device creation structure More...
#include <vkvg.h>
Data Fields | |
| VkSampleCountFlags | samples |
| bool | deferredResolve |
| VkInstance | inst |
| VkPhysicalDevice | phy |
| VkDevice | vkdev |
| uint32_t | qFamIdx |
| uint32_t | qIndex |
| bool | threadAware |
Structure used to pass parameter to the device creation method.
@samples: sample count. @inst: vulkan instance used to create device, may be null to create a new instance. @phy: vulkan physical device to create vkvg device for, may be null. @vkdev: vulkan logical device, may be null to create a new one. @qFamIdx: graphic queue family index, ignored if vkdev is NULL. @qIndex: queue index, ignored if vkdev is NULL. @deferredResolve: If true, the final simple sampled image of the surface will only be resolved on demand when calling vkvg_surface_get_vk_image or by explicitly calling vkvg_multisample_surface_resolve. If false, multisampled image is resolved on each draw operation.