create_vulkan_context


Description:

public VulkanContext create_vulkan_context () throws Error

Creates a new `GdkVulkanContext` for rendering on this.

If the creation of the `GdkVulkanContext` failed, throws will be set.

Parameters:

this

a `GdkSurface`

Returns:

the newly created `GdkVulkanContext`, or null on error