Class VulkanGLFWRenderModuleWindow


public class VulkanGLFWRenderModuleWindow extends GLFWRenderModuleWindow
A GLFW window configured for Vulkan rather than OpenGL.

Supplies the two API-specific pieces GLFWRenderModuleWindow leaves open: checking that a Vulkan driver is present, and setting GLFW_CLIENT_API to GLFW_NO_API so GLFW does not create an OpenGL context for a window Vulkan will render into.

  • Constructor Details

    • VulkanGLFWRenderModuleWindow

      public VulkanGLFWRenderModuleWindow(MainModuleEngine mainModuleEngine, String title, Logger logger)
      Creates a Vulkan-capable GLFW window.

      Nothing is opened until GLFWRenderModuleWindow.init() is called.

      Parameters:
      mainModuleEngine - the engine this window belongs to
      title - the window's title bar text
      logger - the logger to write window diagnostics to
  • Method Details