pub fn enumerate_required_extensions(
    display_handle: RawDisplayHandle
) -> VkResult<&'static [*const c_char]>
Expand description

Query the required instance extensions for creating a surface from a display handle.

This RawDisplayHandle can typically be acquired from a window, but is usually also accessible earlier through an “event loop” concept to allow querying required instance extensions and creation of a compatible Vulkan instance prior to creating a window.

The returned extensions will include all extension dependencies.