Class RenderVulkanGLFWModuleWindow


public class RenderVulkanGLFWModuleWindow extends RenderGLFWModuleWindow
A GLFW window configured for Vulkan rather than OpenGL.

Supplies the two API-specific pieces RenderGLFWModuleWindow 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

    • RenderVulkanGLFWModuleWindow

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

      Nothing is opened until RenderGLFWModuleWindow.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