Method
MaplibreNativeFfiVulkanDeviceget_context
Declaration [src]
MaplibreNativeFfiVulkanDeviceContextResult*
maplibre_native_ffi_vulkan_device_get_context (
MaplibreNativeFfiVulkanDevice* self
GError** error
)
Description [src]
Gets the context to attach render sessions to the device with.
Pass it as the context of maplibre_native_ffi_map_attach_vulkan_surface()
or maplibre_native_ffi_map_attach_vulkan_borrowed_texture(). The sessions
on the device share its graphics queue. To submit to the queue yourself, set
MaplibreNativeFfiRenderSessionAttachOptions:queue-lock on each session.
See mln_vulkan_device_get_context in the
C API reference.
Return value
Type: MaplibreNativeFfiVulkanDeviceContextResult
The value.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |