create_vulkan_context


Description:

public VulkanContext create_vulkan_context () throws Error

Creates a new VulkanContext for rendering on this .

If the creation of the VulkanContext failed, throws will be set.

Parameters:

this

a Surface

Returns:

the newly created VulkanContext, or null on error