VulkanContext#

Deprecated since version 4.14: GTK does not expose any Vulkan internals. This struct is a leftover that was accidentally exposed.

class VulkanContext(**properties: Any)#

Superclasses: DrawContext, Object

Represents the platform-specific Vulkan draw context.

GdkVulkanContexts 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.