[][src]Function nannou::vk::instance::loader::auto_loader

pub fn auto_loader(
) -> Result<&'static FunctionPointers<Box<dyn Loader + 'static + Sync + Send>>, LoadingError>

Returns the default FunctionPointers for this system.

This function tries to auto-guess where to find the Vulkan implementation, and loads it in a lazy_static!. The content of the lazy_static is then returned, or an error if we failed to load Vulkan.