SimpleGL  1.1.0
A framework for platform independent rendering
glfw_window_vk.hpp
Go to the documentation of this file.
1 
8 #ifndef GLFW_WINDOW_VK_HPP
9 #define GLFW_WINDOW_VK_HPP
10 
11 #include <SimpleGL_vk/SimpleGL_vk_Export.h>
12 
13 #include <string>
14 
15 #include <SimpleGL/glfw_window.hpp>
16 
17 #include "vulkan_context.hpp"
18 
19 namespace sgl {
20 
21  /* Forward declaration needed because of a circular dependency */
22  class Surface;
23 
29  class SIMPLEGL_VK_EXPORT WindowVK : public Window {
30 
31  private:
33  VulkanContext* context;
34 
36  Surface* surface;
37 
38  public:
46  WindowVK(int width, int height, std::string title);
47 
49  ~WindowVK(void);
50 
52  void swapBuffers() override;
53  };
54 }
55 
56 #endif /* GLFW_WINDOW_VK_HPP */
This class contains all relevant Vulkan objects to setup a Vulkan application.
This class provides a GLFW window with a Vulkan instance.
This class provides a basic GLFW window.
Definition: glfw_window.hpp:29
Generic namespace for the SimpleGL framework.
Definition: application.hpp:18
This class wraps a Vulkan surface.
Definition: surface.hpp:25