VulkanContext
abstract class VulkanContext(val gdkVulkanContextPointer: <Error class: unknown class><<Error class: unknown class>>) : DrawContext(source)
GdkVulkanContext
is an object representing the platform-specific Vulkan draw context.
GdkVulkanContext
s are created for a surface using method@Gdk.Surface.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 null context.
Inheritors
Constructors
Types
Link copied to clipboard
class VulkanContextImpl(pointer: <Error class: unknown class><<Error class: unknown class>>) : VulkanContext
The VulkanContextImpl type represents a native instance of the abstract VulkanContext class.
Functions
Link copied to clipboard
Indicates that you are beginning the process of redrawing @region on the @context's surface.
Link copied to clipboard
Emits the "images-updated" signal. See onImagesUpdated.
Link copied to clipboard
Retrieves the region that is currently being repainted.
Link copied to clipboard
fun onImagesUpdated(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>
Emitted when the images managed by this context have changed.