Class VK

    • Method Detail

      • create

        public static void create()
        Loads the Vulkan shared library, using the default library name.
        See Also:
        VK.create(String)
      • create

        public static void create(java.lang.String libName)
        Loads the Vulkan shared library, using the specified library name.

        The FunctionProvider instance created by this method can only be used to retrieve global commands and commands exposed statically by the Vulkan shared library.

        Parameters:
        libName - the shared library name
        See Also:
        VK.create(FunctionProvider)
      • create

        public static void create(FunctionProvider functionProvider)
        Initializes Vulkan with the specified FunctionProvider. This method can be used to implement custom Vulkan library loading.
        Parameters:
        functionProvider - the provider of Vulkan function addresses
      • destroy

        public static void destroy()
        Unloads the Vulkan shared library.