VulkanContext

class VulkanContext(**properties: Any)

Superclasses: DrawContext, Object

Implemented Interfaces: Initable

GdkVulkanContext is an object representing the platform-specific Vulkan draw context.

GdkVulkanContext’s are created for a surface using create_vulkan_context, and the context will match the characteristics of the surface.

Support for GdkVulkanContext is platform-specific and context creation can fail, returning None context.

Signals

class VulkanContext.signals
images_updated() None

Emitted when the images managed by this context have changed.

Usually this means that the swapchain had to be recreated, for example in response to a change of the surface size.